[mvebu]: enable swconfig and the mvsw6171 driver
[openwrt-github/.git] / target / linux / mvebu / files / arch / arm / boot / dts / armada-xp-mamba.dts
index d2d19ecc72e18fd765cb38b30e78561f9015006b..08af15cb261fb3a44847965197e35a322552bf06 100644 (file)
                                status = "okay";
                        };
 
-                       mdio {
-                               status = "disabled";
-                       };
-
                        ethernet@70000 {
                                pinctrl-0 = <&pmx_ge0>;
                                pinctrl-names = "default";
                gpio-fan,speed-map = <0    0
                                      4500 1>;
        };
+
+       mvsw6172 {
+               compatible = "marvell,88e6171";
+               status = "okay";
+               reg = <0x10>;
+
+               mii-bus = <&mdio>;
+               cpu-port-0 = <5>;
+               cpu-port-1 = <6>;
+       };
+
 };