use immediate set in target Makefiles
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV7518PW.dts
index 19a74428ad5597bdc3cf88edfa8615fdce5accb9..6e2b8ef6d3cccdf727128b5ca0df71b6287821f7 100644 (file)
@@ -60,7 +60,7 @@
                                                reg = <0x20000 0x7d0000>;
                                        };
 
-                                       partition@400000 {
+                                       boardconfig: partition@400000 {
                                                label = "boardconfig";
                                                reg = <0x7f0000 0x10000>;
                                                read-only;
                                lantiq,shadow = <0x0>;
                        };
 
-                       mac_addr {
-                               compatible = "lantiq,eth-mac";
-                               reg = <0 0x7f0016 0x6>;
-                               mac-increment = <2>;
-                       };
-
                        ath9k_eep {
                                compatible = "ath9k,eeprom";
-                               reg = <0 0x7f0400 0x1000
-                                       0 0x7f0016 0x6>;
+                               ath,eep-flash = <&boardconfig 0x400>;
+                               ath,mac-offset = <0x16>;
                                ath,mac-increment = <1>;
                                ath,pci-slot = <14>;
                                ath,eep-endian;
 
                etop@E180000 {
                        phy-mode = "mii";
+                       mtd-mac-address = <&boardconfig 0x16>;
                };
 
                ifxhcd@E101000 {