Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3932108pxb; Mon, 8 Feb 2021 03:58:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+JI9CJWfC2Axr2bp8sI6WXRfQWA5chwztgyBlXbBa0V8u3XvlL7r/xd/41zdM2sRkNka/ X-Received: by 2002:a17:907:933:: with SMTP id au19mr16506435ejc.51.1612785501369; Mon, 08 Feb 2021 03:58:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612785501; cv=none; d=google.com; s=arc-20160816; b=bBvZNRTIvu7r5sl/xTF0C/BH7MnNqDMn5ReDhxJ3Q6fGtWYQ9+9zNOLoEV+OeGQXFU 5S8omO1+pTZzm4ZO0ZlzYM1grZE9b+dzJz3iEhbc5pyPFfggN3D/949+U6iG2e12nU5Z lqt+RxBm+JQXIlbmknwLIXswQsX/nSRxTqrhKkdV7mpwLUJAStqsmJP12YK1ufDac6sG SPu2bQxkTGnRdq043Bn8xqtuLIqcmr1XHr/Heuh7Xa5iHngIsZbHqICDNQHx7d4zNpiV 2YoIR3ULdc7gSvK3GAmUhCiZPHSXCmz7fGiyTt5eXsmz5FVjQRC3rmSiHOsVEqxZjza8 u5Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:from:reply-to:subject:to :content-transfer-encoding:mime-version:message-id:date :dkim-signature; bh=tmXcTFCoGUWy5tsn4CyiGIQkxw304rxNZgZLyGii41o=; b=Xlq4T01b300yPYqXjX5wUW2mqa0y4DMwzNGLcMZT1oKsel0ih/5+jWaEU5pNOH1Rfm QZTJiukzBblI/CV3mYCxbIA0c6UzMln+Pip7DlTsyeX9/bXfN1bMWJfQ3AqVkMbegU0r tt9IAIvhQmMCZKcumBFAQQZRmSg71q1qqwxZw63bDOohBGXUbJvAT+QlXdu65Vvh0k1f i2LMn5L3gEpmfEAvY9/aEAf2QBEj54Oj05lElViCa43rdy0pYGQQcB3Xrw/WcvzxniPx sFUsFhv3aeE9OJCuE+eQx3v19ppbL+i2ZQb0yHzip1WlUbhgXMSDTUUNOcZWcgPYcekA oDfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailfence.com header.s=20160819-nLV10XS2 header.b="GLG/tkZ0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mailfence.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e13si11275673edz.214.2021.02.08.03.57.57; Mon, 08 Feb 2021 03:58:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mailfence.com header.s=20160819-nLV10XS2 header.b="GLG/tkZ0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mailfence.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233102AbhBHLzK (ORCPT + 99 others); Mon, 8 Feb 2021 06:55:10 -0500 Received: from wilbur.contactoffice.com ([212.3.242.68]:51196 "EHLO wilbur.contactoffice.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230364AbhBHLfD (ORCPT ); Mon, 8 Feb 2021 06:35:03 -0500 X-Greylist: delayed 497 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Feb 2021 06:34:35 EST Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 50CB382D; Mon, 8 Feb 2021 12:25:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailfence.com; s=20160819-nLV10XS2; t=1612783501; bh=tmXcTFCoGUWy5tsn4CyiGIQkxw304rxNZgZLyGii41o=; h=Date:To:Subject:Reply-To:From:Cc:From; b=GLG/tkZ0kh2RnxP9SzZusjdW6pfbUhSVMxrfhq3VLbTuE11PEXP1lQIV144a5qxUF VxmGGrOml9ECD6YVoEl2qeVRFMLWcJxXkHWYAZr1r0aIVsuDfQ/vd8Fp3TDNr+D6L3 MEr+G6f+h9BNsD4X758LMtfex50cPf/tP52DNr1uN0D2ecb3yNgVAG1fQ4bqzsdYQu l9Z38YdjsuhlTZjMGtsFCq96rPDlep8ZhXY3xnrguSYso6oCpM1p6+grW7ClvYkBel uZa2Q8Pt2tSiTghhcMNOb5fDmTC869P+s+SyGJqqVLE9C5yElNXGDAOwhmAU62ospV FonbPMhBfBAOw== Date: Mon, 8 Feb 2021 12:24:57 +0100 (CET) Message-ID: <1243888060.510560.1612783497400@ichabod.co-bxl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Jernej Skrabec , Chen-Yu Tsai , Maxime Ripard , Rob Herring Subject: [PATCH] ARM: dts: sun8i: h3: orangepi-plus: Fix Ethernet PHY mode X-Priority: 3 Reply-To: "B.R. Oake" From: "B.R. Oake" Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, devicetree@vger.kernel.org X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:276068926 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"), Ethernet no longer works on the Orange Pi Plus, because that commit sets the RX/TX delay according to the phy-mode property in the device tree, which is "rgmii", the wrong setting for this board. Following the example of others who fixed the same problem for many other boards, this patch changes the phy-mode to "rgmii-id" which gets Ethernet working again on this board. Fixes: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)") Fixes: 1dcd0095019a ("ARM: sun8i: orangepi-plus: Enable dwmac-sun8i") Signed-off-by: B.R. Oake --- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts index 97f497854e..d05fa679dc 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts @@ -85,7 +85,7 @@ pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.20.1