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 be0c5431119ee0a957f711cca42781da5aeb1201..a7b686cab3e677a92d51459adc8a348cea26831a 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 42579564c3bde86986d7d672d32036d5be9cf28a..7f9bd6bb004efd1d9682168a81ed15330d2794a3 100644 (file)
        num-lanes = <2>;
 };
 
-&icssg0_mdio {
-       status = "disabled";
-};
-
-&icssg1_mdio {
-       status = "disabled";
-};
-
 &mcu_mcan0 {
        status = "okay";
        pinctrl-names = "default";
index af5bc2d284ca8786eebbf788bcefbfd42b0cc539..5f35f823a8fa4d72b9b8d7fe6012a24207479dcb 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 50364c05415e4afe909cdb80b1e513bb3422bc17..72804a03c10d7fc05b502f87cd112f344c7a0dad 100644 (file)
        num-lanes = <2>;
 };
 
-&icssg0_mdio {
-       status = "disabled";
-};
-
-&icssg1_mdio {
-       status = "disabled";
-};
-
 &ufs_wrapper {
        status = "disabled";
 };