Skip to content
Snippets Groups Projects
Commit 12fe4b57 authored by Mathias Kresin's avatar Mathias Kresin Committed by John Crispin
Browse files

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: default avatarMathias Kresin <dev@kresin.me>
parent 21f460a5
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
reg = <0x20000 0x3d0000>; reg = <0x20000 0x3d0000>;
}; };
partition@400000 { boardconfig: partition@400000 {
label = "boardconfig"; label = "boardconfig";
reg = <0x3f0000 0x10000>; reg = <0x3f0000 0x10000>;
read-only; read-only;
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
ath5k_eep { ath5k_eep {
compatible = "ath5k,eeprom"; compatible = "ath5k,eeprom";
reg = <0 0x3f0400 0x1000 ath,eep-flash = <&boardconfig 0x400>;
0 0x3f0016 0x6>; ath,mac-offset = <0x16>;
ath,mac-increment = <1>; ath,mac-increment = <1>;
ath,eep-swap; ath,eep-swap;
}; };
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
reg = <0x20000 0x3d0000>; reg = <0x20000 0x3d0000>;
}; };
partition@400000 { boardconfig: partition@400000 {
label = "boardconfig"; label = "boardconfig";
reg = <0x3f0000 0x10000>; reg = <0x3f0000 0x10000>;
read-only; read-only;
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
ath5k_eep { ath5k_eep {
compatible = "ath5k,eeprom"; compatible = "ath5k,eeprom";
reg = <0 0x3f0400 0x1000>; ath,eep-flash = <&boardconfig 0x400>;
ath,mac-offset = <0>; ath,mac-offset = <0x0>;
ath,eep-swap; ath,eep-swap;
}; };
}; };
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
reg = <0x20000 0x3d0000>; reg = <0x20000 0x3d0000>;
}; };
partition@3f0000 { boardconfig: partition@3f0000 {
label = "boardconfig"; label = "boardconfig";
reg = <0x3f0000 0x10000>; reg = <0x3f0000 0x10000>;
read-only; read-only;
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
ath5k_eep { ath5k_eep {
compatible = "ath5k,eeprom"; compatible = "ath5k,eeprom";
reg = <0 0x3f0400 0x1000>; ath,eep-flash = <&boardconfig 0x400>;
ath,mac-offset = <0>; ath,mac-offset = <0x0>;
ath,eep-swap; ath,eep-swap;
}; };
gpiomm: gpiomm@4000000 { gpiomm: gpiomm@4000000 {
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
reg = <0x20000 0x7d0000>; reg = <0x20000 0x7d0000>;
}; };
partition@400000 { boardconfig: partition@400000 {
label = "boardconfig"; label = "boardconfig";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
read-only; read-only;
...@@ -86,8 +86,8 @@ ...@@ -86,8 +86,8 @@
ath9k_eep { ath9k_eep {
compatible = "ath9k,eeprom"; compatible = "ath9k,eeprom";
reg = <0 0x7f0400 0x1000 ath,eep-flash = <&boardconfig 0x400>;
0 0x7f0016 0x6>; ath,mac-offset = <0x16>;
ath,mac-increment = <1>; ath,mac-increment = <1>;
ath,pci-slot = <14>; ath,pci-slot = <14>;
ath,eep-endian; ath,eep-endian;
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
reg = <0x40000 0x7B0000>; /* 7872 KiB */ reg = <0x40000 0x7B0000>; /* 7872 KiB */
}; };
partition@7F0000 { art: partition@7F0000 {
label = "art"; label = "art";
reg = <0x7F0000 0x10000>; /* 64 KiB*/ reg = <0x7F0000 0x10000>; /* 64 KiB*/
read-only; read-only;
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
ath9k_eep { ath9k_eep {
compatible = "ath9k,eeprom"; compatible = "ath9k,eeprom";
reg = <0 0x7f0400 0x1000 ath,eep-flash = <&art 0x400>;
0 0x7f0016 0x6>; ath,mac-offset = <0x16>;
ath,mac-increment = <1>; ath,mac-increment = <1>;
ath,pci-slot = <14>; ath,pci-slot = <14>;
ath,eep-endian; ath,eep-endian;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment