[PATCH 03/23] arm: dts: k3-am642-sk: Add a note to handle pinmux till MDIO DM conversion is done

Nishanth Menon nm at ti.com
Fri Apr 14 09:57:06 CEST 2023


Until MDIO is converted to DM model, it won't be possible to probe for
pinmux from the MDIO node. To work around this, lets hack the board dts
to set the default mux option to include MDIO. This hack is a limitation
for now till we get u-boot MDIO driver into DM model.

Signed-off-by: Nishanth Menon <nm at ti.com>
---

Cant send this upstream.

 arch/arm/dts/k3-am642-sk.dts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/k3-am642-sk.dts b/arch/arm/dts/k3-am642-sk.dts
index 2e2d40da360a..4fb279489cfc 100644
--- a/arch/arm/dts/k3-am642-sk.dts
+++ b/arch/arm/dts/k3-am642-sk.dts
@@ -439,7 +439,9 @@
 
 &cpsw3g {
 	pinctrl-names = "default";
-	pinctrl-0 = <&rgmii1_pins_default
+	/* XXX: U-boot HACK: mdio pinmux till MDIO DM conversion is done */
+	pinctrl-0 = <&mdio1_pins_default
+		     &rgmii1_pins_default
 		     &rgmii2_pins_default>;
 };
 
-- 
2.40.0



More information about the U-Boot mailing list