Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2700951pxu; Sun, 18 Oct 2020 12:01:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdV+ko2eKHBmPKaa+rWCTNsE5ahQXjql1TdKi6N58fPwR6OLoXM+y/ra+3CyE9S+Y+pBlJ X-Received: by 2002:a17:906:4151:: with SMTP id l17mr14547961ejk.83.1603047685301; Sun, 18 Oct 2020 12:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603047685; cv=none; d=google.com; s=arc-20160816; b=iJ6OuvEXEkpU9XBfVTcN3sbDUXv2EFFL4ia0S2NLBEzvIpGrrOkjLeuqMBuQGy0sxZ oWJxD6i1o+eXUWwU4Oc3Lk52emUkldeVGB2RWVW26apxoXNWJRcissh96KPadBz/OtXv mUIVIaw6LIQsPjEjUwsSz1H0sZ0nBPWzNwJEGrHzzv9+Wntvg46x7H0vPKovrCs8nTep X3NehWUZE7sR3lGz58oTuY6L2+JKu5t6vsVF+Xn97+cRbV39yVMsXaCEfpcjfZzS5ar2 X55zf9opvARqFwaCXfiHlE/cHiTSEeO0Ky3YD6+1jAZKYUvkZwcFjSsBc++v5qpQHcRs yB6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OwO+2ZoIYjKx+96e5MqXXHni5zWxT99/uuVKtCrnVVo=; b=xIUY+jipoiwvvuL+Oby7FeysM6MGqtdSKMHiEj2rarHuF12g5wjm1xPEWTzIaKSoqj nbti6I2GMWYRnd8JMH2rBCMCorz6TN13bgGQCA/Jm4DBK8xldZSjOLXTSHqtV8UdlMyX 9xhlx0qeDNIkhWwYGBM7kb/mg8QeqRar+x2avT3jlbpZ4yY61BzXsYkzj4qNh+0PWWT+ kFsq2fS+LqGjElJhChpCXnq+5rksPFCUjefnajGeA73PCHUJuMBcFybOvPcfKWlm2xnK W/JxV3Mdf0uYC6aeDzX3IRblGok6WbB/UbYIwPrNRDsxKV8pZS+haeZJm7vp3tBVroge pqTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ceXunY3G; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 61si6501885edh.160.2020.10.18.12.00.38; Sun, 18 Oct 2020 12:01:25 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=ceXunY3G; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726249AbgJRR5c (ORCPT + 99 others); Sun, 18 Oct 2020 13:57:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgJRR5b (ORCPT ); Sun, 18 Oct 2020 13:57:31 -0400 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6237FC061755; Sun, 18 Oct 2020 10:57:31 -0700 (PDT) Received: by mail-io1-xd44.google.com with SMTP id b15so6479253iod.13; Sun, 18 Oct 2020 10:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OwO+2ZoIYjKx+96e5MqXXHni5zWxT99/uuVKtCrnVVo=; b=ceXunY3GU5QjPeRYXc3VZxMqop3hJMRfsJRoNP5K7dRjVbltTMllPJaBu+Ie2l9Gx2 6Xx9tS6W+nq3YPiPAFoC2WtAz7xNQwMP5puEvlJSdf2MvCf9PExectwcjn9yh+ncDDqE Jqav5fiP0OfgA7vJfHU4w8on0cgRBXy8YUXXrinSVUIa4wNexJnpEVvXd8SCYk0AnniZ j5PdaMMmhn8OXqZWRWeYYsW/NgQpxFHcMCFNZnBmOyI+qFNv0zog5L1xATW7rUH5MjYz 6sg6/XqhDNCLiDqMe3OHKn9F5DK3HWa2ke3OlnkAiYhOFnHF8QKaXCklYI/vsuzfJ5a5 5PHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OwO+2ZoIYjKx+96e5MqXXHni5zWxT99/uuVKtCrnVVo=; b=ShBfniRGmlCBTvMkKEnEGRYswVz7gXppw3OGFRty4DYNgoX1I+Yl6QzFlySufRn71e MTykJ9glTyajd7MgbOmM4cY+DVUBwlhGUxRpIGljRWANcKTSRNBan544IHYOFFvyOkRu eCRXVfcuBTejRcLX9h4u3+j18vO/SsyNQ+Rm8ZjugZrNap+lWzZipHWE6kTwc+BjkzTI yoBGiK1Wsxbi1Bk1xBUp3o4D5k/huQhYwmtqj2dOZx4UG2on6DbXDY8McYPl9SHD8j6s 11wz97dNeI8fgHGx0NhPW3nTlikTQJbm4W6jKpQwMXIOh2e5zIs+PU67ktFY/rqlWwF6 /E/Q== X-Gm-Message-State: AOAM533zd+8MQD59u3R3XR/Lges34ZWj2nZWh+LKMpOgYVAJgkSjb8ms NBmODKgpeCKZkppxDmp3bayVOX4GHfgm6wTMBX8= X-Received: by 2002:a6b:610c:: with SMTP id v12mr8342499iob.101.1603043850518; Sun, 18 Oct 2020 10:57:30 -0700 (PDT) MIME-Version: 1.0 References: <20201018172409.1754775-1-peron.clem@gmail.com> In-Reply-To: <20201018172409.1754775-1-peron.clem@gmail.com> From: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Date: Sun, 18 Oct 2020 19:57:19 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay To: Maxime Ripard Cc: Rob Herring , Chen-Yu Tsai , devicetree , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, 18 Oct 2020 at 19:24, Cl=C3=A9ment P=C3=A9ron wrote: > > Before the commit: > net: phy: realtek: fix rtl8211e rx/tx delay config bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config") With the hash for reference it's better :) Clement > > The software overwrite for RX/TX delays of the RTL8211e were not > working properly and the Beelink GS1 had both RX/TX delay of RGMII > interface set using pull-up on the TXDLY and RXDLY pins. > > Now that these delays are working properly they overwrite the HW > config and set this to 'rgmii' meaning no delay on both RX/TX. > This makes the ethernet of this board not working anymore. > > Set the phy-mode to 'rgmii-id' meaning RGMII with RX/TX delays > in the device-tree to keep the correct configuration. > > Fixes: 089bee8dd119 ("arm64: dts: allwinner: h6: Introduce Beelink GS1 bo= ard") > Signed-off-by: Cl=C3=A9ment P=C3=A9ron > --- > arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/ar= ch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > index a364cb4e5b3f..6ab53860e447 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > @@ -99,7 +99,7 @@ &ehci0 { > &emac { > pinctrl-names =3D "default"; > pinctrl-0 =3D <&ext_rgmii_pins>; > - phy-mode =3D "rgmii"; > + phy-mode =3D "rgmii-id"; > phy-handle =3D <&ext_rgmii_phy>; > phy-supply =3D <®_aldo2>; > status =3D "okay"; > -- > 2.25.1 >