summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2022-10-18 16:15:30 -0500
committerNishanth Menon <nm@ti.com>2022-10-28 08:15:12 -0500
commit1f737012ce7bd92aecf7d6b1e17742dc7cae7bee (patch)
tree2ca21375d10fbb50cf521dd8594e4200ef735d26 /arch/arm64/boot
parent8709e0442c79c03f7067d6e7464d669504f76527 (diff)
downloadlinux-1f737012ce7bd92aecf7d6b1e17742dc7cae7bee.tar.bz2
arm64: dts: ti: k3-am62: Enable MDIO nodes at the board level
MDIO nodes defined in the top-level AM62x SoC dtsi files are incomplete and will not be functional unless they are extended with a pinmux. As the attached PHY is only known about at the board integration level, these nodes should only be enabled when provided with this information. Disable the MDIO nodes in the dtsi files and only enable the ones that are actually pinned out on a given board. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com> Link: https://lore.kernel.org/r/20221018211533.21335-8-afd@ti.com
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62-main.dtsi1
-rw-r--r--arch/arm64/boot/dts/ti/k3-am625-sk.dts1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index a580867e68b2..5169f77cd37a 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -534,6 +534,7 @@
clocks = <&k3_clks 13 0>;
clock-names = "fck";
bus_freq = <1000000>;
+ status = "disabled";
};
cpts@3d000 {
diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 318ec805ff54..b8938eb9c55a 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -368,6 +368,7 @@
};
&cpsw3g_mdio {
+ status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_mdio1_pins_default>;