From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8D95C433DB for ; Mon, 8 Feb 2021 11:26:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C78F364DD8 for ; Mon, 8 Feb 2021 11:26:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C78F364DD8 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=mailfence.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:Reply-To:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:From:Subject:To:MIME-Version:Message-ID:Date: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ZBXasxiph1mov/Oh4rEeFKfTup+++zV06W/xUtiQP9s=; b=hHGbtUcktC1EwXnnNRU7BzfvzC dkr3Eo2QL1WAuOqv6vVeExVus+Z8B7He5qTpii+Jd0HuZu6+HF1bgrjIGe0Npt648WfwDBbXQZhLT 128Ygj2XHvPF8oXym8K7V0f5RJqObUARuW9Jxq8Jz9s2mwR/1iU9DUZlPVucpiCNtQfztYBhACGbP x27Sa9a9Z1lzJoyA0Dof62v5EbmdEu5SHw3lC3Qny9r0pf8ZcaaPPsx0E3TK56uBAUxsji2+0qIil ywTSxod31Ja5Zv3KO+VzQJEp6oZsCCDBkAj8DJ2fnkSMNGGMwGIDGzbf/opzonm5Pby31hz4VcZ1D NeE/N1pQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l94fC-0007Pd-UF; Mon, 08 Feb 2021 11:25:06 +0000 Received: from wilbur.contactoffice.com ([212.3.242.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l94fA-0007O9-JI for linux-arm-kernel@lists.infradead.org; Mon, 08 Feb 2021 11:25:05 +0000 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 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 From: "B.R. Oake" X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:276068926 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210208_062504_866536_FE9DD4DA X-CRM114-Status: GOOD ( 11.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "B.R. Oake" Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel