[PATCH] arm64: dts: ti: k3-am62p5-sk: Enable CPSW MDIO node

Jai Luthra j-luthra at ti.com
Thu Feb 1 04:43:53 PST 2024


From: Ravi Gunasekaran <r-gunasekaran at ti.com>

Enable the CPSW MDIO node, and link the pinctrl information to enable
ethernet on SK-AM62P.

Ethernet was unintentally broken on this board, even though these nodes
were already present, as enabling them was missed in the original
patch.

Fixes: c00504ea42c0 ("arm64: dts: ti: k3-am62p5-sk: Updates for SK EVM")
Signed-off-by: Ravi Gunasekaran <r-gunasekaran at ti.com>
Signed-off-by: Jai Luthra <j-luthra at ti.com>
---
Boot logs: https://0x0.st/HDOO.txt
---
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
index 1773c05f752c..60868862e3b4 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
@@ -445,6 +445,10 @@ &cpsw_port2 {
 };
 
 &cpsw3g_mdio {
+	pinctrl-names = "default";
+	pinctrl-0 = <&main_mdio1_pins_default>;
+	status = "okay";
+
 	cpsw3g_phy0: ethernet-phy at 0 {
 		reg = <0>;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;

---
base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc
change-id: 20240201-am62p_cpsw_mdio-27f6a3ade8e0

Best regards,
-- 
Jai Luthra <j-luthra at ti.com>




More information about the linux-arm-kernel mailing list