ipq40xx: pakedge_wr-1: convert to DSA
[openwrt/staging/hauke.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-wr-1.dts
index 317fe26e2e9a77b3af0cd98d0f8a323e5b45f534..16951da47fc013cc2c94d4a26db498b40c3f24c4 100644 (file)
@@ -11,6 +11,7 @@
        compatible = "pakedge,wr-1";
 
        aliases {
+               label-mac-device = &gmac;
                led-boot = &led_power;
                led-failsafe = &led_power;
                led-running = &led_power;
        status = "okay";
 };
 
+&gmac {
+       status = "okay";
+};
+
 &mdio {
        status = "okay";
 };
        status = "okay";
 };
 
+&switch {
+       status = "okay";
+};
+
+&swport1 {
+       status = "okay";
+
+       label = "lan4";
+};
+
+&swport2 {
+       status = "okay";
+
+       label = "lan3";
+};
+
+&swport3 {
+       status = "okay";
+
+       label = "lan2";
+};
+
+&swport4 {
+       status = "okay";
+
+       label = "lan1";
+};
+
+&swport5 {
+       status = "okay";
+};
+
 &tlmm {
        key_pins: key_pinmux {
                mux {