Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3928685pxb; Mon, 8 Feb 2021 03:51:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDclzTs7jrjonv45/+IZEY2B//Uw2RHzT2+m6cM11tkty6F1X0tr7guebeCrHZTSNySpdZ X-Received: by 2002:a17:906:35cf:: with SMTP id p15mr5474361ejb.20.1612785102118; Mon, 08 Feb 2021 03:51:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612785102; cv=none; d=google.com; s=arc-20160816; b=D/B0IwQTwfRjBrfOyyfpbbPGZezUjdJR9E7p5/6v4FdKnCL6KJNjHAxkIlRFl7IUNb IPWfZtojldMx+IZVyIk4Slg4Uzo7RAZezxBuO55aFpc/vyvoljOgMSvdbGlkWpWbHhVt U8RxbGQyJJUWj+hcaPxwb7ymkGrCnZCURoaSdZrza9jPG1GwDjosOoncGQ95UqkdEZQo SYVi8VvVc/kD57i9Qm2z/q+bbvCTkmzkEzFYfDEkaoi3+k+lWVrm8WgBwW2kp6b50/g6 aVS0zmzeemFcuNb7YR8Rb0caR/uBXQNzCD6PZ7xM0rO6cpItS5Ekn1Sa61o8ANPbmtZc 9mmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=B29V+WNewkRaj61ktee/fa23/5FQsVFxTZmOuOBwvVY=; b=Zb3uBjTd1Bucp1ymzpG9SgyqwP2UzFDt5MH9C4WWA4RpL5hi+N499ufz9bdGbn2Llu 4fyt+ujpg+W5wwIZW4+2ky3NHRDrjQHHX0m4QxPWRmcE/WZVJ4vvqgUJ21A0FF6O69s9 S04rtc56krqe2Zd6cTbIc5569fWn3O2MuUZY+LIWb0ZSu26OIDs1V4KC68msRS0QcBvl EA8wpYis6dqIStf/Ke9bRcZv/EWay36pzwgDnbnd+Vb8GuSJ1ljYHJEPXA1IS/f8Ipjb ybqc/tqrYufiIx3RejetommpL33Fuju2oqcMn3drZSmAlyaZ1XTNR84+tVfA35kF4aBv wBCg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si1715947edx.217.2021.02.08.03.51.17; Mon, 08 Feb 2021 03:51:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233090AbhBHLtj (ORCPT + 99 others); Mon, 8 Feb 2021 06:49:39 -0500 Received: from mailoutvs44.siol.net ([185.57.226.235]:38057 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232995AbhBHL2v (ORCPT ); Mon, 8 Feb 2021 06:28:51 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 5ABB65222CC; Mon, 8 Feb 2021 12:27:46 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta11.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta11.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id xCUIjupoRsvj; Mon, 8 Feb 2021 12:27:46 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 10562522380; Mon, 8 Feb 2021 12:27:46 +0100 (CET) Received: from kista.localnet (cpe-86-58-58-53.static.triera.net [86.58.58.53]) (Authenticated sender: jernej.skrabec@siol.net) by mail.siol.net (Postfix) with ESMTPA id BEF76522137; Mon, 8 Feb 2021 12:27:45 +0100 (CET) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Chen-Yu Tsai , Maxime Ripard , Rob Herring , "B.R. Oake" Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, devicetree@vger.kernel.org Subject: Re: [PATCH] ARM: dts: sun8i: h3: orangepi-plus: Fix Ethernet PHY mode Date: Mon, 08 Feb 2021 12:27:45 +0100 Message-ID: <2006991.bPDHmd0WOD@kista> In-Reply-To: <1243888060.510560.1612783497400@ichabod.co-bxl> References: <1243888060.510560.1612783497400@ichabod.co-bxl> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne ponedeljek, 08. februar 2021 ob 12:24:57 CET je B.R. Oake napisal(a): > 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(-) > Reviewed-by: Jernej Skrabec Thanks! Best regards, Jernej > 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 > >