Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1238577pxu; Mon, 23 Nov 2020 15:37:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbuyB35CgF5yl/Lz331aBbkr6IzOXI/hm5o36XFzrMGToHISOotoTDmzfzx/10p6+8YpDs X-Received: by 2002:a50:8e0e:: with SMTP id 14mr1449234edw.171.1606174629328; Mon, 23 Nov 2020 15:37:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174629; cv=none; d=google.com; s=arc-20160816; b=I5v6fuM81S8+K6nJ9uAALgsFBT6qwqrRJV5LEJssJzlYZ1e0SlJfQlp7CIrWWqC/8o x7XX0iJxuWhsHX9YXUtstychik3WL+IBD2DPkdwF/ArFlMr0Yo6WVoiN2e3HI9cdUUv+ tgYIWwTANE5utsuHEHo3DuJ5tRtbP95m+G5mlVOov2fKARlAw9cIzSpSwGhOXzYzK4dA +6d1ks0MpHoh6poPgP5DL6Bw+4eQz3omU4Kgq1EkFZAfgH+Q1dJR0e1IVGK9SQkL28ix ucgfTYpJjk9/NPVu9TGPA7fdaGsQHrmV4a7V5TLLI3ASoNOOwiuiIBBK6wXGyiUKcpck 2XIA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cinQvsTu3jy5sQtKUQLX06zyik8OvS/Bp3vaLcUuKaY=; b=raa2q4dLPdqKeAFHZg8ZwEUArFPjS7GZ+5Q6pqQe0h/Dz1GhoXk0qGQ0HS66XWCnii WDk1hhbIWpG4tPl4ZsB5+YK91C4UidxiouVA+fFNvjvYj0W7fLPsauZnPPuVLnygQTuT 9q/23G4STqmRm24YudDD81vWaTMyb3Ues6BPzGROppnbtwayiYovVGY1Pu8pIUiFItdc pG8yNJa7nFnFGpZf9InX/SpZzJimC/TkykVNAlsjvU+VO+k8+nimHQxRprzApPT12pIH q94hGLnbE2eTqT8o9mIGRLDVyDQ3pMG8uBpHRnMUVd/C+Z5TxwKPaHLSluA81yDzUWBp 6U6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R1K1Uhn9; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq14si7343501ejc.99.2020.11.23.15.36.46; Mon, 23 Nov 2020 15:37:09 -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=@linuxfoundation.org header.s=korg header.b=R1K1Uhn9; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731587AbgKWMfq (ORCPT + 99 others); Mon, 23 Nov 2020 07:35:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:47646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731564AbgKWMfh (ORCPT ); Mon, 23 Nov 2020 07:35:37 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 771C72065E; Mon, 23 Nov 2020 12:35:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134937; bh=T9PqBdyYdqYlCNxWCfEOekEaHTaHKDdc4s99GtrsAlI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R1K1Uhn9E5cDSwJvlELGTjVQVReJXcJbg3N0JMZ/NM69ceYyND0u0iAix+GHXs580 yIV6chYZkShReB9xqZgB9dpKsGxIKcRnPR8fNRpc6BMMOD1gIMFL5IeUXPTMq80W4J oDjlscShE6QMp6T4UOvr1UykI1AS5AqpBSVl9V2s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= , Maxime Ripard , Chen-Yu Tsai , Sasha Levin Subject: [PATCH 5.4 045/158] arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay Date: Mon, 23 Nov 2020 13:21:13 +0100 Message-Id: <20201123121822.103712706@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Clément Péron [ Upstream commit 97a38c1c213b162aa577299de698f39c18ba696b ] Before the commit bbc4d71d6354 ("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 Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai Link: https://lore.kernel.org/r/20201018172409.1754775-1-peron.clem@gmail.com Signed-off-by: Sasha Levin --- 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 1d05d570142fa..0a04730960fcb 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -83,7 +83,7 @@ &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.27.0