From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugen Hristev Date: Thu, 3 Dec 2020 11:28:50 +0200 Subject: [PATCH 34/34] ARM: dts: sama7g5ek: fix TXC pin configuration In-Reply-To: <20201203092850.7909-1-eugen.hristev@microchip.com> References: <20201203092850.7909-1-eugen.hristev@microchip.com> Message-ID: <20201203092850.7909-35-eugen.hristev@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Nicolas Ferre TXC line is directly connected from the SoC to the KSZ9131 PHY. There is a transient state on this signal, before configuring it to RGMII, which leads to packet transmit being blocked. Keeping a pull-up when muxing this pin as function A (G0_TXCK) fixes the issue. Signed-off-by: Nicolas Ferre --- arch/arm/dts/sama7g5ek.dts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts index 0812b0cc00..41818cc911 100644 --- a/arch/arm/dts/sama7g5ek.dts +++ b/arch/arm/dts/sama7g5ek.dts @@ -90,7 +90,7 @@ #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gmac0_default>; + pinctrl-0 = <&pinctrl_gmac0_default &pinctrl_gmac0_txc_default>; phy-mode = "rgmii-id"; status = "okay"; @@ -173,7 +173,6 @@ , , , - , , , , @@ -182,6 +181,11 @@ bias-disable; }; + pinctrl_gmac0_txc_default: gmac0_txc_default { + pinmux = ; + bias-pull-up; + }; + pinctrl_gmac1_default: gmac1_default { pinmux = , , -- 2.25.1