summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-08-02 22:25:58 +0200
committerJohn Crispin <john@phrozen.org>2016-08-10 02:04:31 +0200
commit12fe4b579801ea812b64fc7e689716cd39c895ec (patch)
treee04cdf8b9de328d48d71f622414c46477145d81a /target/linux/lantiq
parent21f460a5dbef5e3ec59e2032b5b113fe045b475f (diff)
downloadmaster-31e0f0ae-12fe4b579801ea812b64fc7e689716cd39c895ec.tar.gz
master-31e0f0ae-12fe4b579801ea812b64fc7e689716cd39c895ec.tar.bz2
master-31e0f0ae-12fe4b579801ea812b64fc7e689716cd39c895ec.zip
lantiq: use ath, eep-flash/mac-offset for ath eep nodes
No functional change, just easier to get what's the purpose of the hex values. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/dts/ARV4518PWR01.dtsi6
-rw-r--r--target/linux/lantiq/dts/ARV4525PW.dts6
-rw-r--r--target/linux/lantiq/dts/ARV452CQW.dts6
-rw-r--r--target/linux/lantiq/dts/ARV7518PW.dts6
-rw-r--r--target/linux/lantiq/dts/ARV8539PW22.dts6
5 files changed, 15 insertions, 15 deletions
diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/dts/ARV4518PWR01.dtsi
index 4a3eb05f9f..4034b157f6 100644
--- a/target/linux/lantiq/dts/ARV4518PWR01.dtsi
+++ b/target/linux/lantiq/dts/ARV4518PWR01.dtsi
@@ -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;
};
diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts
index 6a7ca629e9..9d27278d0b 100644
--- a/target/linux/lantiq/dts/ARV4525PW.dts
+++ b/target/linux/lantiq/dts/ARV4525PW.dts
@@ -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;
};
};
diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts
index 2bace94b0d..bbddf2c955 100644
--- a/target/linux/lantiq/dts/ARV452CQW.dts
+++ b/target/linux/lantiq/dts/ARV452CQW.dts
@@ -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 {
diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts
index 19a74428ad..380ba15172 100644
--- a/target/linux/lantiq/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/dts/ARV7518PW.dts
@@ -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;
diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts
index 9f9db82d8e..6189b54861 100644
--- a/target/linux/lantiq/dts/ARV8539PW22.dts
+++ b/target/linux/lantiq/dts/ARV8539PW22.dts
@@ -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;