ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_tplink_tl-wr1043n-v5.dts
index 208a5ca88e6e9d0e17bced9f23cfd7e9971f4ada..dac0da9fdc925b8cd9f709c51d031db84b537329 100644 (file)
@@ -5,11 +5,14 @@
 / {
        compatible = "tplink,tl-wr1043n-v5", "qca,qca9563";
        model = "TP-Link TL-WR1043N v5";
+
+       aliases {
+               label-mac-device = &wmac;
+       };
 };
 
 &spi {
        status = "okay";
-       num-cs = <1>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
                                label = "info";
                                reg = <0xf00000 0x020000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_info_8: macaddr@8 {
+                                               reg = <0x8 0x6>;
+                                       };
+                               };
                        };
 
                        partition@f20000 {
                };
        };
 };
+
+&eth0 {
+       nvmem-cells = <&macaddr_info_8>;
+       nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+       mtd-cal-data = <&art 0x1000>;
+
+       nvmem-cells = <&macaddr_info_8>;
+       nvmem-cell-names = "mac-address";
+};