lantiq: use ath, eep-flash/mac-offset for ath eep nodes
authorMathias Kresin <dev@kresin.me>
Tue, 2 Aug 2016 20:25:58 +0000 (22:25 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 10 Aug 2016 00:04:31 +0000 (02:04 +0200)
No functional change, just easier to get what's the purpose of the hex
values.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/dts/ARV4518PWR01.dtsi
target/linux/lantiq/dts/ARV4525PW.dts
target/linux/lantiq/dts/ARV452CQW.dts
target/linux/lantiq/dts/ARV7518PW.dts
target/linux/lantiq/dts/ARV8539PW22.dts

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;
                        };
index 6a7ca629e911c0c39daca1404e9b95009121f7e5..9d27278d0b25c0a2eb40cba1b622713448e06305 100644 (file)
@@ -59,7 +59,7 @@
                                                reg = <0x20000 0x3d0000>;
                                        };
 
-                                       partition@400000 {
+                                       boardconfig: partition@400000 {
                                                label = "boardconfig";
                                                reg = <0x3f0000 0x10000>;
                                                read-only;
@@ -75,8 +75,8 @@
 
                        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;
                        };
                };
index 2bace94b0ddee7444e2ccdc5f59fcc13bbe9ba5f..bbddf2c955dbcdc4c432a3e7632d0098e1b08b47 100644 (file)
@@ -62,7 +62,7 @@
                                                reg = <0x20000 0x3d0000>;
                                        };
 
-                                       partition@3f0000 {
+                                       boardconfig: partition@3f0000 {
                                                label = "boardconfig";
                                                reg = <0x3f0000 0x10000>;
                                                read-only;
@@ -78,8 +78,8 @@
 
                        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;
                        };
                        gpiomm: gpiomm@4000000 {
index 19a74428ad5597bdc3cf88edfa8615fdce5accb9..380ba151721847709634ebb5bd973df8faf42189 100644 (file)
@@ -60,7 +60,7 @@
                                                reg = <0x20000 0x7d0000>;
                                        };
 
-                                       partition@400000 {
+                                       boardconfig: partition@400000 {
                                                label = "boardconfig";
                                                reg = <0x7f0000 0x10000>;
                                                read-only;
@@ -86,8 +86,8 @@
 
                        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;
index 9f9db82d8e580c61e1763eeb1d0ce10ddd327f28..6189b5486134402aa5ae5ad5896f8ce991e8ea5f 100644 (file)
@@ -59,7 +59,7 @@
                                                reg = <0x40000 0x7B0000>;       /* 7872 KiB */
                                        };
 
-                                       partition@7F0000 {
+                                       art: partition@7F0000 {
                                                label = "art";
                                                reg = <0x7F0000 0x10000>;       /* 64 KiB*/
                                                read-only;
@@ -75,8 +75,8 @@
 
                        ath9k_eep {
                                compatible = "ath9k,eeprom";
-                               reg = <0 0x7f0400 0x1000
-                                       0 0x7f0016 0x6>;
+                               ath,eep-flash = <&art 0x400>;
+                               ath,mac-offset = <0x16>;
                                ath,mac-increment = <1>;
                                ath,pci-slot = <14>;
                                ath,eep-endian;