From patchwork Mon Jun 15 15:57:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 11605349 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 11A4B618 for ; Mon, 15 Jun 2020 15:57:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC72A207D3 for ; Mon, 15 Jun 2020 15:57:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20150623.gappssmtp.com header.i=@beagleboard-org.20150623.gappssmtp.com header.b="KP+q9r6w" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727785AbgFOP5H (ORCPT ); Mon, 15 Jun 2020 11:57:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730622AbgFOP5G (ORCPT ); Mon, 15 Jun 2020 11:57:06 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4080C061A0E for ; Mon, 15 Jun 2020 08:57:04 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id g1so11905602edv.6 for ; Mon, 15 Jun 2020 08:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=NHaBYm0HpUC5pJAiBssI0OfOeAxVdPNnUnHk40KAAsc=; b=KP+q9r6wzxs115bW0eMO2DohNX9rCw9Cz4L039hlJAUT198/dXwcydVZzJwZJXJ7wm QUUt9OzMq5qF3M+yLH0VLDEdVUWZ7XDUA9+5k6MEpA4Ae6vtsRRD2G+4DOmZRF7HoWSu 83rRIvgCtZWqtdxwftkJ9OZolun50c6HE11yJLcHQ3Zm2FubVLhYJYl6hc1m5IxAa7tC T0CoTc/3/EaLRrYmFRA36uz+m5W0tTBv7i5Xd/jCoNMPzFGu8h1EFG/X1UmJRJsifykY fI9U3kmPtNpBFDMtTu8kpdqphXiIb9bQ2LtSmHeWKeqmu3uXY+16/mBfvSqAbJ81svg8 rtiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=NHaBYm0HpUC5pJAiBssI0OfOeAxVdPNnUnHk40KAAsc=; b=sqyO4XrkGLyK1Jt1+5G86oBS5hLE8eaKNgNx29ObqYWfQX0vfGhSIKzkIIq2VphhRn 0mTnh4UWDv6cSxCLvAqg523QqyA4Atko828MQfH24kizME88lhXw37I/9UZHsSJmlMGK j0Sz8UNfiSu+cGMcxjS4fyXMLNu879GdFc+mhJIIS75J3GsBVyDKs2IU/8dsQzAqazl1 3eITSz5+0WMEtSZpkIqkUnAxieEUX3twPYmbBHI4EeKxPS6z/Vc0bfrEwJHwMJegTOmW 9HTCkPdK65bQZjpAMozhiEU3rD1tqdbuOW5hD7jKugoDZDoIUCVAqTX3cdOTAP0W+HxB x4KQ== X-Gm-Message-State: AOAM530z2Pe5IadQMo/0hYZV5oiOhWZBokZZU8uJO00z8+uLeSzuXbGk 8onHeAfgSKA+xXcsCcAZXassxw== X-Google-Smtp-Source: ABdhPJxPbRyHb8slg10OWgowR1NCGZM8LSZmuqbvmqwmfYwk0/4rLig9+OIHBgsKHonWujzdykRUXg== X-Received: by 2002:aa7:c68b:: with SMTP id n11mr24565337edq.278.1592236623548; Mon, 15 Jun 2020 08:57:03 -0700 (PDT) Received: from x1 (i59F66838.versanet.de. [89.246.104.56]) by smtp.gmail.com with ESMTPSA id g25sm8543025edq.34.2020.06.15.08.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 08:57:02 -0700 (PDT) Date: Mon, 15 Jun 2020 17:57:01 +0200 From: Drew Fustini To: Tony Lindgren , Rob Herring , Linux-OMAP , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Grygorii Strashko Cc: Jason Kridner , Robert Nelson , Vinod Koul Subject: [PATCH V2] ARM: dts: am5729: beaglebone-ai: fix rgmii phy-mode Message-ID: <20200615155701.GA3845236@x1> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Since commit cd28d1d6e52e ("net: phy: at803x: Disable phy delay for RGMII mode") the networking is broken on the BeagleBone AI which has the AR8035 PHY for Gigabit Ethernet [0]. The fix is to switch from phy-mode = "rgmii" to phy-mode = "rgmii-rxid". Note: Grygorii made a similar DT fix for other AM57xx boards with a different phy in commit 820f8a870f65 ("ARM: dts: am57xx: fix networking on boards with ksz9031 phy"). [0] https://git.io/Jf7PX Fixes: 520557d4854b ("ARM: dts: am5729: beaglebone-ai: adding device tree") Cc: Vinod Koul Reviewed-by: Grygorii Strashko Signed-off-by: Robert Nelson Signed-off-by: Drew Fustini --- V2: - fix formatting of commit reference - add Review-by: from Grygorii arch/arm/boot/dts/am5729-beagleboneai.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts index 9877d7709d41..4c51c6b05e64 100644 --- a/arch/arm/boot/dts/am5729-beagleboneai.dts +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts @@ -505,7 +505,7 @@ &mac { &cpsw_emac0 { phy-handle = <&phy0>; - phy-mode = "rgmii"; + phy-mode = "rgmii-rxid"; }; &ocp {