aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DIR-300-B1.dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-17 10:55:31 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-17 10:55:31 +0000
commitfc41c343df1dbdba26a5e6e3783f659492579ef3 (patch)
tree481c07f88d78f30b742f6bf23b2553c90b9441d8 /target/linux/ramips/dts/DIR-300-B1.dts
parenta92002146dc66ede4948d81cf3bffd16845a42fa (diff)
downloadupstream-fc41c343df1dbdba26a5e6e3783f659492579ef3.tar.gz
upstream-fc41c343df1dbdba26a5e6e3783f659492579ef3.tar.bz2
upstream-fc41c343df1dbdba26a5e6e3783f659492579ef3.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41680 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/DIR-300-B1.dts')
-rw-r--r--target/linux/ramips/dts/DIR-300-B1.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/DIR-300-B1.dts b/target/linux/ramips/dts/DIR-300-B1.dts
index 8c5fc52375..621bf088f1 100644
--- a/target/linux/ramips/dts/DIR-300-B1.dts
+++ b/target/linux/ramips/dts/DIR-300-B1.dts
@@ -30,7 +30,7 @@
read-only;
};
- partition@30000 {
+ devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
@@ -56,6 +56,10 @@
ralink,portmap = <0x2f>;
};
+ wmac@10180000 {
+ ralink,mtd-eeprom = <&devdata 0x4000>;
+ };
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;