diff options
author | John Crispin <john@openwrt.org> | 2014-07-17 10:55:31 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-17 10:55:31 +0000 |
commit | f44d3f99803be7ba5c38b26a2d8cbda1c301e893 (patch) | |
tree | 33a442ee227a5c2d2b6eb256899f74964262fc74 /target/linux/ramips/dts/RT-G32-B1.dts | |
parent | d8e47a92b12a8ea91d532bf6c70792a4f08526f3 (diff) | |
download | upstream-f44d3f99803be7ba5c38b26a2d8cbda1c301e893.tar.gz upstream-f44d3f99803be7ba5c38b26a2d8cbda1c301e893.tar.bz2 upstream-f44d3f99803be7ba5c38b26a2d8cbda1c301e893.zip |
ramips: soc wmac eeprom cleanup
Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board
Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN
Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41680
Diffstat (limited to 'target/linux/ramips/dts/RT-G32-B1.dts')
-rw-r--r-- | target/linux/ramips/dts/RT-G32-B1.dts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/RT-G32-B1.dts b/target/linux/ramips/dts/RT-G32-B1.dts index 5b4aebc093..396e683dfb 100644 --- a/target/linux/ramips/dts/RT-G32-B1.dts +++ b/target/linux/ramips/dts/RT-G32-B1.dts @@ -29,7 +29,7 @@ read-only; }; - factory: partition@40000 { + devconf: partition@40000 { label = "devconf"; reg = <0x40000 0x10000>; read-only; @@ -53,13 +53,17 @@ }; ethernet@10100000 { - mtd-mac-address = <&factory 0x4>; + mtd-mac-address = <&devconf 0x4>; }; esw@10110000 { ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&devconf 0>; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; |