lantiq: fix building AVM/EVA sysupgrade images on NOR devices
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV4525PW.dts
index 6a7ca629e911c0c39daca1404e9b95009121f7e5..5d2c3272084de2203aaee8750f216c4bf659277c 100644 (file)
@@ -59,7 +59,7 @@
                                                reg = <0x20000 0x3d0000>;
                                        };
 
-                                       partition@400000 {
+                                       boardconfig: partition@400000 {
                                                label = "boardconfig";
                                                reg = <0x3f0000 0x10000>;
                                                read-only;
                                };
                        };
 
-                       mac_addr {
-                               compatible = "lantiq,eth-mac";
-                               reg = <0 0x3f0016 0x6>;
-                               mac-increment = <2>;
-                       };
-
                        ath5k_eep {
                                compatible = "ath5k,eeprom";
-                               reg = <0 0x3f0400 0x1000>;
-                               ath,mac-offset = <0>;
+                               ath,eep-flash = <&boardconfig 0x400>;
+                               ath,mac-offset = <0x0>;
                                ath,eep-swap;
                        };
                };
 
                etop@E180000 {
                        phy-mode = "mii";
+                       mtd-mac-address = <&boardconfig 0x16>;
                };
 
                pci@E105400 {