arm64: dts: ti: k3-j721e: Enable MDIO nodes at the board level

MDIO nodes defined in the top-level J721e 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>
Link: https://lore.kernel.org/r/20230515172137.474626-5-afd@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
Andrew Davis
2023-05-15 12:21:37 -05:00
committed by Vignesh Raghavendra
parent 91f983ff70
commit b0efb45d12
4 changed files with 2 additions and 26 deletions

View File

@@ -883,16 +883,6 @@ &pcie1_rc {
reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_HIGH>;
};
&icssg0_mdio {
/* Unused */
status = "disabled";
};
&icssg1_mdio {
/* Unused */
status = "disabled";
};
&ufs_wrapper {
status = "disabled";
};

View File

@@ -842,14 +842,6 @@ &pcie2_rc {
num-lanes = <2>;
};
&icssg0_mdio {
status = "disabled";
};
&icssg1_mdio {
status = "disabled";
};
&mcu_mcan0 {
status = "okay";
pinctrl-names = "default";

View File

@@ -2015,6 +2015,7 @@ icssg0_mdio: mdio@32400 {
#address-cells = <1>;
#size-cells = <0>;
bus_freq = <1000000>;
status = "disabled";
};
};
@@ -2156,6 +2157,7 @@ icssg1_mdio: mdio@32400 {
#address-cells = <1>;
#size-cells = <0>;
bus_freq = <1000000>;
status = "disabled";
};
};

View File

@@ -892,14 +892,6 @@ &pcie1_rc {
num-lanes = <2>;
};
&icssg0_mdio {
status = "disabled";
};
&icssg1_mdio {
status = "disabled";
};
&ufs_wrapper {
status = "disabled";
};