lantiq: use ath, eep-flash/mac-offset for ath eep nodes
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV4518PWR01.dtsi
index 4a3eb05f9f2e22ede8bea1d6e73e67720f0b7966..4034b157f68fb4a223a43c62bf3e4c9a1e35bb60 100644 (file)
@@ -58,7 +58,7 @@
                                                reg = <0x20000 0x3d0000>;
                                        };
 
-                                       partition@400000 {
+                                       boardconfig: partition@400000 {
                                                label = "boardconfig";
                                                reg = <0x3f0000 0x10000>;
                                                read-only;
@@ -84,8 +84,8 @@
 
                        ath5k_eep {
                                compatible = "ath5k,eeprom";
-                               reg = <0 0x3f0400 0x1000
-                                       0 0x3f0016 0x6>;
+                               ath,eep-flash = <&boardconfig 0x400>;
+                               ath,mac-offset = <0x16>;
                                ath,mac-increment = <1>;
                                ath,eep-swap;
                        };