ipq40xx: convert some boards to DSA
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4028-wpj428.dts
index b6ce8c027f24dc19df0c2df46e4da84ba28a563f..48b5cd53d80bd4d270760a79f49eb9fe0bf56c2b 100644 (file)
                                precal_art_5000: precal@5000 {
                                        reg = <0x5000 0x2f20>;
                                };
+
+                               macaddr_art_e010: mac-address@e010 {
+                                       reg = <0xe010 0x6>;
+                               };
+
+                               macaddr_art_e018: mac-address@e018 {
+                                       reg = <0xe018 0x6>;
+                               };
                        };
                        partition6@180000 {
                                compatible = "denx,fit";
        status = "okay";
 };
 
+&gmac {
+       status = "okay";
+};
+
+&switch {
+       status = "okay";
+};
+
+&swport4 {
+       status = "okay";
+       label = "lan1";
+
+       nvmem-cells = <&macaddr_art_e018>;
+       nvmem-cell-names = "mac-address";
+};
+
+&swport5 {
+       status = "okay";
+       label = "lan2";
+
+       nvmem-cells = <&macaddr_art_e010>;
+       nvmem-cell-names = "mac-address";
+};
+
 &usb3_ss_phy {
        status = "okay";
 };