Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2688884pxu; Sun, 18 Oct 2020 11:31:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9Fgc18rC6VHQJUZqf2yyMUC29UxroV/UAoHdE/lc7+9nhB6P8Xl6ogtE1DbWzW+3NtcCk X-Received: by 2002:a50:c309:: with SMTP id a9mr14773259edb.199.1603045892645; Sun, 18 Oct 2020 11:31:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603045892; cv=none; d=google.com; s=arc-20160816; b=vAT1GnkWCFH4z8rmX/DOu/7fY+4sv3P0D6wXzDvVhYyYkQi3Qbz23SL/MsAfjDvi1N QwU4XBlzo8z42CU7MaHI7J6JjMkEEhR/yh+IUSAC/P0TAmY7OUSFfc42KP/uAcDskPK/ +IaO0bKLD9lnXXR7cj1IA3dtOiAjNAos3AIe2dW3p7A4O/+AAl5ua8zsLMJi0mAebk3Y BcgKxvSdrsKVcbtZBOUz+2qcJ3sKGeqMVj8rKhaxvCxoQK9lzUvDW9t8lDZ2RG3K/u3f NsIH97sM6uXI+r/t9RlygdWPKTSkvvY6On5rSv0yq10r1mOl2y8zQpOFNuN3TkQswn13 tr7Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=mLdfSAR0LwOOtqwUC8udPXOOYAtdKU3B5mmLxtalmVY=; b=Gpssn1+vVm1alNUHobwxa17HuA0LNUwHLFVKhMQRiVlcr7xX3WvQ1UF5feQ5Fx+KPL u0xKFLJQy0R38j8mjV8q38x5oAOgJe3gy9U/o0VGvhn3UohFVvHqH40KndzDOXgBORIW 56j0e9WbdlTI2MPMnQNkCSAvi5GzgC4ovk8zDTETe2uTac8ngXkkkUNsZ4okFApbTrRh sPlBWAwJqjh8Taj41aiipy59DmGgDSQvuYiaJNTsG2tF/HTbXZFHkFMspVMT259h6oB6 Wr1MrzRe76dO3NJwcMJ6NLzMSE7v69DQdKJqKC6rX59xiP0ShgZgg9U8CeMx2YWdWsIC RExw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jTzRpx++; 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 i27si6230659edb.55.2020.10.18.11.30.53; Sun, 18 Oct 2020 11:31:32 -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=jTzRpx++; 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 S1726689AbgJRRYR (ORCPT + 99 others); Sun, 18 Oct 2020 13:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgJRRYR (ORCPT ); Sun, 18 Oct 2020 13:24:17 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E515C061755; Sun, 18 Oct 2020 10:24:16 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id n15so8834942wrq.2; Sun, 18 Oct 2020 10:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mLdfSAR0LwOOtqwUC8udPXOOYAtdKU3B5mmLxtalmVY=; b=jTzRpx++WPceEK9RoYdLVnjHAf4Oy/71STRL4VcaJ7/IHjbAURWV3bnpeoIex3mwYu ho8AV7D6wJ8GYaiN2dzi8PHwkk8voiaoUjdGMJYlxBo+mW5y1DKbHOrC51LR5WyhSlON S4LAndxXEQvWVr3PaYSt3suUrmrIsgU2mVF15hPp9OixdPjM9TbL4iKru0ovwV92ZJ6w QrdlPFCI0U8r9Rke5iubYvcRHO8wEAs2zc6cYZjrMTYHsXUKA++I3CANF+P7VlgtgUg1 2uHCq3BbtnBPMS9mu7G1ZSpcTcXFRP2nwyRWLvbqwpjgl7xhgHZ0qhAQC8DHnfBjL5h/ ID7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mLdfSAR0LwOOtqwUC8udPXOOYAtdKU3B5mmLxtalmVY=; b=GABDbMr+UF/ElLmNmh9c6o4glEuUDCboppt3di+t70ZJEDAA6OoAC7pQU9WUJbsvbg p+1nX5L66K7TvJPLtkOwqnLk6BJJK4j/uKYku83Sz7tXm4UtlBhMm6zQVOWaBnwKC8MU v6Ic14bAuCcaDl3mzfhvMTwIq9mo3jENG+RsT6yTyixh/xO7gdKs7JHQZH/hzU5RQNpn SMJdJBban9ZFy/jNLnaZ/q1TaELFLILLeCpP0fYBRWLIzdbMfWJr6Zlo5YHPCPdtc3iY YsYfoM3fGrddW+l2PlFodsQjfK6Utj/mCPuuM5B0hUZSsLJzNuWlsPuJSl7HadwUja9w vALA== X-Gm-Message-State: AOAM530y6G8Ed8iqhD0+/c21I3+/ivh5F3lVfv+eDP08jJnygix7dajL cJ31OM744GH84tUwAFeUr5U= X-Received: by 2002:adf:f1cd:: with SMTP id z13mr15757991wro.197.1603041855000; Sun, 18 Oct 2020 10:24:15 -0700 (PDT) Received: from clement-Latitude-7490.numericable.fr (213-245-241-245.rev.numericable.fr. [213.245.241.245]) by smtp.gmail.com with ESMTPSA id q7sm9697505wrr.39.2020.10.18.10.24.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Oct 2020 10:24:14 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Maxime Ripard Cc: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= , Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay Date: Sun, 18 Oct 2020 19:24:09 +0200 Message-Id: <20201018172409.1754775-1-peron.clem@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Before the commit: net: phy: realtek: fix rtl8211e rx/tx delay config 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 board") Signed-off-by: Clément Péron --- 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/arch/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 = "default"; pinctrl-0 = <&ext_rgmii_pins>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <&ext_rgmii_phy>; phy-supply = <®_aldo2>; status = "okay"; -- 2.25.1