From fc41c343df1dbdba26a5e6e3783f659492579ef3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 17 Jul 2014 10:55:31 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41680 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/WL341V3.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/WL341V3.dts') diff --git a/target/linux/ramips/dts/WL341V3.dts b/target/linux/ramips/dts/WL341V3.dts index 70317c7eee..1271cfadbc 100644 --- a/target/linux/ramips/dts/WL341V3.dts +++ b/target/linux/ramips/dts/WL341V3.dts @@ -21,7 +21,7 @@ read-only; }; - partition@20000 { + boardnvram: partition@20000 { label = "board-nvram"; reg = <0x20000 0x10000>; read-only; @@ -52,6 +52,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&boardnvram 0xfd70>; + }; + gpio-leds { compatible = "gpio-leds"; first { -- cgit v1.2.3