From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out.xnet.cz (smtp-out.xnet.cz [178.217.244.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E3EE1FA1 for ; Tue, 15 Mar 2022 09:52:59 +0000 (UTC) Received: from meh.true.cz (meh.true.cz [108.61.167.218]) (Authenticated sender: petr@true.cz) by smtp-out.xnet.cz (Postfix) with ESMTPSA id 78C6418B17; Tue, 15 Mar 2022 10:52:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=true.cz; s=xnet; t=1647337976; bh=IQtZfpMDBgNq+XqyyqcXkjpmhkMzPfrWtiIPXWEftkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=O5l+9lqIldUUtx0pEdG7W5ytrn6ar+q2ON3b/cEFsr/nGrVhn48KlshztPUznUGh5 up9ye7AmKTwO0pV9RFJVLYlHmpt8uHnSNL6xWAJXedBMh51fVcIpcIDOR8Wsh9ZxSi gWHiKAB9gUxJBi+o65x5LacW5JNQMg9nyCxrj0Qc= Received: by meh.true.cz (OpenSMTPD) with ESMTP id 8ca2b6eb; Tue, 15 Mar 2022 10:52:32 +0100 (CET) From: =?UTF-8?q?Petr=20=C5=A0tetiar?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: =?UTF-8?q?Petr=20=C5=A0tetiar?= , stable@vger.kernel.org, =?UTF-8?q?Bastien=20Roucari=C3=A8s?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] Revert "ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode" Date: Tue, 15 Mar 2022 10:52:42 +0100 Message-Id: <20220315095244.29718-2-ynezz@true.cz> In-Reply-To: <20220315095244.29718-1-ynezz@true.cz> References: <20220315095244.29718-1-ynezz@true.cz> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 55dd7e059098ce4bd0a55c251cb78e74604abb57 as it breaks network on my A20-olinuxino-lime2 hardware revision "K" which has Micrel KSZ9031RNXCC-TR Gigabit PHY. Bastien has probably some previous hardware revisions which were based on RTL8211E-VB-CG1 PHY and thus this fix was working on his board. Cc: stable@vger.kernel.org Cc: Bastien Roucariès References: https://github.com/openwrt/openwrt/issues/9153 References: https://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/A20-OLinuXino-LIME2/hardware_revision_changes_log.txt Signed-off-by: Petr Štetiar --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index ecb91fb899ff..8077f1716fbc 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -112,7 +112,7 @@ &gmac { pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii-id"; + phy-mode = "rgmii"; status = "okay"; };