arm64: dts: ti: k3-j721e: Enable MDIO nodes at the board level
authorAndrew Davis <afd@ti.com>
Mon, 15 May 2023 17:21:37 +0000 (12:21 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 15 Jun 2023 05:35:45 +0000 (11:05 +0530)
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>
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
arch/arm64/boot/dts/ti/k3-j721e-sk.dts

index be0c543..a7b686c 100644 (file)
        reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_HIGH>;
 };
 
-&icssg0_mdio {
-       /* Unused */
-       status = "disabled";
-};
-
-&icssg1_mdio {
-       /* Unused */
-       status = "disabled";
-};
-
 &ufs_wrapper {
        status = "disabled";
 };
index 4257956..7f9bd6b 100644 (file)
        num-lanes = <2>;
 };
 
-&icssg0_mdio {
-       status = "disabled";
-};
-
-&icssg1_mdio {
-       status = "disabled";
-};
-
 &mcu_mcan0 {
        status = "okay";
        pinctrl-names = "default";
index af5bc2d..5f35f82 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        bus_freq = <1000000>;
+                       status = "disabled";
                };
        };
 
                        #address-cells = <1>;
                        #size-cells = <0>;
                        bus_freq = <1000000>;
+                       status = "disabled";
                };
        };
 
index 50364c0..72804a0 100644 (file)
        num-lanes = <2>;
 };
 
-&icssg0_mdio {
-       status = "disabled";
-};
-
-&icssg1_mdio {
-       status = "disabled";
-};
-
 &ufs_wrapper {
        status = "disabled";
 };