ipq40xx: convert some boards to DSA
[openwrt/staging/noltari.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-ecw5211.dts
index df2ef37f179ef2897a7d9b255b53a9f0900a685e..3060b7bd1c803c6ea84382546c306f3ad4414f97 100644 (file)
@@ -14,6 +14,8 @@
                led-failsafe = &led_power;
                led-running = &led_power;
                led-upgrade = &led_power;
+               ethernet0 = &swport5;
+               ethernet1 = &gmac;
        };
 
        chosen {
        pinctrl-names = "default";
 };
 
+&gmac {
+       status = "okay";
+};
+
+&switch {
+       status = "okay";
+};
+
+&swport4 {
+       status = "okay";
+
+       label = "lan";
+};
+
+&swport5 {
+       status = "okay";
+};
+
 &wifi0 {
        status = "okay";
        nvmem-cell-names = "pre-calibration";