arm64: dts: ls1028a: disable the felix switch by default
authorMichael Walle <michael@walle.cc>
Thu, 12 Mar 2020 16:43:20 +0000 (17:43 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 08:16:00 +0000 (16:16 +0800)
Disable the felix switch by default and enable it per board which are
actually using it.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 4e30558485b023f117ae498dca43530f9f17cb7b..4b4cc6a1573d340d9cc665fc6934eee517c62540 100644 (file)
        };
 };
 
+&mscc_felix {
+       status = "okay";
+};
+
 &mscc_felix_port0 {
        label = "swp0";
        managed = "in-band-status";
index 0a34ff6820279c4e95ad5e91e4e8d6d94347edc2..901b5b161defc5338f52870a1a081903c5ad6943 100644 (file)
        status = "okay";
 };
 
+&mscc_felix {
+       status = "okay";
+};
+
 &mscc_felix_port0 {
        label = "gbe0";
        phy-handle = <&phy0>;
index 6d05b76c2c7a9ac7d71209e3ea6d9d8a3e2fbfda..c2dc1232f93f18969f16cc56f2b3e02a6727d74d 100644 (file)
        status = "okay";
 };
 
+&mscc_felix {
+       status = "okay";
+};
+
 &mscc_felix_port0 {
        label = "swp0";
        managed = "in-band-status";
index 388aefcdacfc6b59b66954a114b6388b31ec17e6..09f37ba38b38fe890b7fdfc24d3d744034349e60 100644 (file)
                                fsl,extts-fifo;
                        };
 
-                       ethernet-switch@0,5 {
+                       mscc_felix: ethernet-switch@0,5 {
                                reg = <0x000500 0 0 0 0>;
                                /* IEP INT_B */
                                interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
+                               status = "disabled";
 
                                ports {
                                        #address-cells = <1>;