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 | |
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')
88 files changed, 357 insertions, 23 deletions
diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts index 0be8c7252c..a19ed452f6 100644 --- a/target/linux/ramips/dts/3G-6200N.dts +++ b/target/linux/ramips/dts/3G-6200N.dts @@ -62,6 +62,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; power { diff --git a/target/linux/ramips/dts/3G-6200NL.dts b/target/linux/ramips/dts/3G-6200NL.dts index 265806154a..6a2f46f2b3 100644 --- a/target/linux/ramips/dts/3G-6200NL.dts +++ b/target/linux/ramips/dts/3G-6200NL.dts @@ -3,8 +3,8 @@ /include/ "rt3050.dtsi" / { - compatible = "3G-6200N", "ralink,rt3050-soc"; - model = "Edimax 3g-6200n"; + compatible = "3G-6200NL", "ralink,rt3050-soc"; + model = "Edimax 3g-6200nl"; pinctrl { state_default: pinctrl0 { @@ -58,6 +58,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; wlan { diff --git a/target/linux/ramips/dts/3G300M.dts b/target/linux/ramips/dts/3G300M.dts index 93e864f6a8..5095927c5b 100644 --- a/target/linux/ramips/dts/3G300M.dts +++ b/target/linux/ramips/dts/3G300M.dts @@ -105,6 +105,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/AIR3GII.dts b/target/linux/ramips/dts/AIR3GII.dts index 1276574e93..4a265460e0 100644 --- a/target/linux/ramips/dts/AIR3GII.dts +++ b/target/linux/ramips/dts/AIR3GII.dts @@ -64,6 +64,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; wlan { diff --git a/target/linux/ramips/dts/ALL0239-3G.dts b/target/linux/ramips/dts/ALL0239-3G.dts index fe1eba960b..4da69a7329 100644 --- a/target/linux/ramips/dts/ALL0239-3G.dts +++ b/target/linux/ramips/dts/ALL0239-3G.dts @@ -57,6 +57,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; usb { diff --git a/target/linux/ramips/dts/ALL0256N-4M.dts b/target/linux/ramips/dts/ALL0256N-4M.dts index e92118f17e..581934a532 100644 --- a/target/linux/ramips/dts/ALL0256N-4M.dts +++ b/target/linux/ramips/dts/ALL0256N-4M.dts @@ -64,6 +64,10 @@ ralink,portmap = <0x3f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; rssilow { diff --git a/target/linux/ramips/dts/ALL0256N-8M.dts b/target/linux/ramips/dts/ALL0256N-8M.dts index 6a704f1a24..c4815d968d 100644 --- a/target/linux/ramips/dts/ALL0256N-8M.dts +++ b/target/linux/ramips/dts/ALL0256N-8M.dts @@ -64,6 +64,10 @@ ralink,portmap = <0x3f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; rssilow { diff --git a/target/linux/ramips/dts/ALL5002.dts b/target/linux/ramips/dts/ALL5002.dts index 827e9df05b..7c195714a0 100644 --- a/target/linux/ramips/dts/ALL5002.dts +++ b/target/linux/ramips/dts/ALL5002.dts @@ -64,6 +64,10 @@ ralink,portmap = <0x3f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + ehci@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/ALL5003.dts b/target/linux/ramips/dts/ALL5003.dts index d599e71efc..0d21508fba 100644 --- a/target/linux/ramips/dts/ALL5003.dts +++ b/target/linux/ramips/dts/ALL5003.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x3f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + ehci@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/ARGUS_ATP52B.dts b/target/linux/ramips/dts/ARGUS_ATP52B.dts index fb04f017d5..66108b1fb5 100644 --- a/target/linux/ramips/dts/ARGUS_ATP52B.dts +++ b/target/linux/ramips/dts/ARGUS_ATP52B.dts @@ -83,6 +83,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/ASL26555-16M.dts b/target/linux/ramips/dts/ASL26555-16M.dts index 568d8f9d64..bd45bc305b 100644 --- a/target/linux/ramips/dts/ASL26555-16M.dts +++ b/target/linux/ramips/dts/ASL26555-16M.dts @@ -50,7 +50,7 @@ reg = <0xfe0000 0x10000>; read-only; }; - partition@ff0000 { + devdata: partition@ff0000 { label = "devdata"; reg = <0xff0000 0x10000>; read-only; @@ -76,6 +76,10 @@ ralink,portmap = <0x1e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&devdata 0x4000>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index 1ddbb1c984..d7e424d868 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -71,6 +71,11 @@ ralink,portmap = <0x1e>; }; + /* devdata partition seems to be missing */ +/* wmac@10180000 { + ralink,mtd-eeprom = <&devdata 0x4000>; + }; +*/ otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/AWAPN2403.dts b/target/linux/ramips/dts/AWAPN2403.dts index 068c8005b2..2de04022c7 100644 --- a/target/linux/ramips/dts/AWAPN2403.dts +++ b/target/linux/ramips/dts/AWAPN2403.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; link { diff --git a/target/linux/ramips/dts/AWM002-EVB-4M.dts b/target/linux/ramips/dts/AWM002-EVB-4M.dts index 61b2d76b32..12887d8481 100644 --- a/target/linux/ramips/dts/AWM002-EVB-4M.dts +++ b/target/linux/ramips/dts/AWM002-EVB-4M.dts @@ -5,6 +5,10 @@ / { model = "AsiaRF AWM002 EVB"; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; tx { diff --git a/target/linux/ramips/dts/AWM002-EVB-8M.dts b/target/linux/ramips/dts/AWM002-EVB-8M.dts index dd1ce4cf54..3be34bffa5 100644 --- a/target/linux/ramips/dts/AWM002-EVB-8M.dts +++ b/target/linux/ramips/dts/AWM002-EVB-8M.dts @@ -5,6 +5,10 @@ / { model = "AsiaRF AWM002 EVB"; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; tx { diff --git a/target/linux/ramips/dts/BC2.dts b/target/linux/ramips/dts/BC2.dts index 54adbafad6..0524f2d6d2 100644 --- a/target/linux/ramips/dts/BC2.dts +++ b/target/linux/ramips/dts/BC2.dts @@ -76,6 +76,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/BR-6425.dts b/target/linux/ramips/dts/BR-6425.dts index 7df63c6583..6f836c832f 100644 --- a/target/linux/ramips/dts/BR-6425.dts +++ b/target/linux/ramips/dts/BR-6425.dts @@ -33,6 +33,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; power { diff --git a/target/linux/ramips/dts/BR-6475ND.dts b/target/linux/ramips/dts/BR-6475ND.dts index b348889d9b..60b8525609 100644 --- a/target/linux/ramips/dts/BR-6475ND.dts +++ b/target/linux/ramips/dts/BR-6475ND.dts @@ -37,6 +37,10 @@ }; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pci@10140000 { status = "okay"; diff --git a/target/linux/ramips/dts/BROADWAY.dts b/target/linux/ramips/dts/BROADWAY.dts index 25e3b89db9..db86f97476 100644 --- a/target/linux/ramips/dts/BROADWAY.dts +++ b/target/linux/ramips/dts/BROADWAY.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; diskmounted { diff --git a/target/linux/ramips/dts/CARAMBOLA.dts b/target/linux/ramips/dts/CARAMBOLA.dts index 520450a5cc..c33ed420bf 100644 --- a/target/linux/ramips/dts/CARAMBOLA.dts +++ b/target/linux/ramips/dts/CARAMBOLA.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x3f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/CY-SWR1100.dts b/target/linux/ramips/dts/CY-SWR1100.dts index d0cc0e5fc5..2e0af387bd 100644 --- a/target/linux/ramips/dts/CY-SWR1100.dts +++ b/target/linux/ramips/dts/CY-SWR1100.dts @@ -49,6 +49,7 @@ wmac@10180000 { status = "okay"; + ralink,mtd-eeprom = <&factory 0>; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/D105.dts b/target/linux/ramips/dts/D105.dts index c19e0dabb0..42f6fd3c6d 100644 --- a/target/linux/ramips/dts/D105.dts +++ b/target/linux/ramips/dts/D105.dts @@ -80,6 +80,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/DAP-1350.dts b/target/linux/ramips/dts/DAP-1350.dts index 1fd9e9a7e5..0513f576af 100644 --- a/target/linux/ramips/dts/DAP-1350.dts +++ b/target/linux/ramips/dts/DAP-1350.dts @@ -34,7 +34,7 @@ read-only; }; - partition@30000 { + devdata: partition@30000 { label = "devdata"; reg = <0x30000 0x10000>; read-only; @@ -62,6 +62,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&devdata 0>; + }; + gpio-leds { compatible = "gpio-leds"; power { diff --git a/target/linux/ramips/dts/DCS-930.dts b/target/linux/ramips/dts/DCS-930.dts index 8876d9b46a..a497c04d5d 100644 --- a/target/linux/ramips/dts/DCS-930.dts +++ b/target/linux/ramips/dts/DCS-930.dts @@ -122,6 +122,10 @@ }; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; 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>; diff --git a/target/linux/ramips/dts/DIR-300-B7.dts b/target/linux/ramips/dts/DIR-300-B7.dts index 492fd4ce8a..c1a1385c44 100644 --- a/target/linux/ramips/dts/DIR-300-B7.dts +++ b/target/linux/ramips/dts/DIR-300-B7.dts @@ -92,9 +92,10 @@ }; }; - wmac@10180000 { - status = "okay"; + wmac@10180000 { + status = "okay"; ralink,led-polarity = <1>; - }; + ralink,mtd-eeprom = <&factory 0>; + }; }; diff --git a/target/linux/ramips/dts/DIR-320-B1.dts b/target/linux/ramips/dts/DIR-320-B1.dts index 34d7944edc..8ec07c2e54 100644 --- a/target/linux/ramips/dts/DIR-320-B1.dts +++ b/target/linux/ramips/dts/DIR-320-B1.dts @@ -61,6 +61,10 @@ ralink,led_polarity = <0x17>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; status { diff --git a/target/linux/ramips/dts/DIR-600-B1.dts b/target/linux/ramips/dts/DIR-600-B1.dts index aa9309fbb7..17903793ee 100644 --- a/target/linux/ramips/dts/DIR-600-B1.dts +++ b/target/linux/ramips/dts/DIR-600-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>; diff --git a/target/linux/ramips/dts/DIR-600-B2.dts b/target/linux/ramips/dts/DIR-600-B2.dts index f982ae0db7..70e4a508ea 100644 --- a/target/linux/ramips/dts/DIR-600-B2.dts +++ b/target/linux/ramips/dts/DIR-600-B2.dts @@ -30,7 +30,7 @@ read-only; }; - partition@30000 { + devdata: partition@30000 { label = "devdata"; reg = <0x30000 0x10000>; read-only; @@ -52,6 +52,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&devdata 0x4000>; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts index e6c104163a..9893e7aa00 100644 --- a/target/linux/ramips/dts/DIR-610-A1.dts +++ b/target/linux/ramips/dts/DIR-610-A1.dts @@ -65,7 +65,7 @@ wmac@10180000 { status = "okay"; ralink,led-polarity = <1>; - ralink,mtd-eeprom = <&devdata 16384>; + ralink,mtd-eeprom = <&devdata 0x4000>; }; gpio-leds { diff --git a/target/linux/ramips/dts/DIR-615-D.dts b/target/linux/ramips/dts/DIR-615-D.dts index b27bca061b..1a67b2dcaa 100644 --- a/target/linux/ramips/dts/DIR-615-D.dts +++ b/target/linux/ramips/dts/DIR-615-D.dts @@ -30,7 +30,7 @@ read-only; }; - partition@30000 { + devdata: partition@30000 { label = "devdata"; reg = <0x30000 0x10000>; read-only; @@ -52,6 +52,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&devdata 0x4000>; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts index 13d7f88c70..1165ff114f 100644 --- a/target/linux/ramips/dts/DIR-615-H1.dts +++ b/target/linux/ramips/dts/DIR-615-H1.dts @@ -68,6 +68,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; status { diff --git a/target/linux/ramips/dts/DIR-620-A1.dts b/target/linux/ramips/dts/DIR-620-A1.dts index 070edafde1..1ffa829e07 100644 --- a/target/linux/ramips/dts/DIR-620-A1.dts +++ b/target/linux/ramips/dts/DIR-620-A1.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ramips/dts/DIR-620-D1.dts b/target/linux/ramips/dts/DIR-620-D1.dts index c8632f067e..e4eeb3ee6d 100644 --- a/target/linux/ramips/dts/DIR-620-D1.dts +++ b/target/linux/ramips/dts/DIR-620-D1.dts @@ -68,6 +68,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; status { diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index 938055c8c9..0a9d83f85c 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -71,6 +71,7 @@ wmac@10180000 { ralink,5ghz = <0>; + ralink,mtd-eeprom = <&factory 0>; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/ESR-9753.dts b/target/linux/ramips/dts/ESR-9753.dts index 3760a465e0..39e4232d4c 100644 --- a/target/linux/ramips/dts/ESR-9753.dts +++ b/target/linux/ramips/dts/ESR-9753.dts @@ -84,4 +84,8 @@ esw@10110000 { ralink,portmap = <0x3e>; }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; }; diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts index 0d1e9a8af5..9026d82b73 100644 --- a/target/linux/ramips/dts/F5D8235_V1.dts +++ b/target/linux/ramips/dts/F5D8235_V1.dts @@ -62,10 +62,12 @@ }; }; - wmac@480000 { + /* FIXME: no u-boot partition and 0x40000@uboot is out of boundaries */ +/* wmac@480000 { status = "okay"; + ralink,mtd-eeprom = <&u-boot 0x40000>; }; - +*/ rtl8367s { compatible = "realtek,rtl8367s"; gpio-sda = <&gpio0 1 0>; diff --git a/target/linux/ramips/dts/F5D8235_V2.dts b/target/linux/ramips/dts/F5D8235_V2.dts index 1b96cea764..7eaf16542b 100644 --- a/target/linux/ramips/dts/F5D8235_V2.dts +++ b/target/linux/ramips/dts/F5D8235_V2.dts @@ -25,7 +25,7 @@ #size-cells = <1>; uboot: partition@0 { - label = "u-boot"; + label = "uboot"; reg = <0x0 0x50000>; read-only; }; @@ -54,6 +54,10 @@ ralink,portmap = <0x3f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&uboot 0x40000>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/F7C027.dts b/target/linux/ramips/dts/F7C027.dts index ea716257ef..f660ff8f86 100644 --- a/target/linux/ramips/dts/F7C027.dts +++ b/target/linux/ramips/dts/F7C027.dts @@ -68,6 +68,10 @@ }; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pinctrl { state_default: pinctrl0 { gpio { diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts index bb85bab533..2e01457783 100644 --- a/target/linux/ramips/dts/FONERA20N.dts +++ b/target/linux/ramips/dts/FONERA20N.dts @@ -116,6 +116,10 @@ }; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/FREESTATION5.dts b/target/linux/ramips/dts/FREESTATION5.dts index 603ec363ea..b221ae401b 100644 --- a/target/linux/ramips/dts/FREESTATION5.dts +++ b/target/linux/ramips/dts/FREESTATION5.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x01>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts index 7496ca5456..41b7ddd34e 100644 --- a/target/linux/ramips/dts/HG255D.dts +++ b/target/linux/ramips/dts/HG255D.dts @@ -112,6 +112,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/HW550-3G.dts b/target/linux/ramips/dts/HW550-3G.dts index d107b55396..3be3fce7b4 100644 --- a/target/linux/ramips/dts/HW550-3G.dts +++ b/target/linux/ramips/dts/HW550-3G.dts @@ -52,6 +52,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; usb { diff --git a/target/linux/ramips/dts/MOFI3500-3GN.dts b/target/linux/ramips/dts/MOFI3500-3GN.dts index 058b7a27a3..b988dd095b 100644 --- a/target/linux/ramips/dts/MOFI3500-3GN.dts +++ b/target/linux/ramips/dts/MOFI3500-3GN.dts @@ -96,6 +96,7 @@ wmac@10180000 { status = "okay"; + ralink,mtd-eeprom = <&factory 0>; }; otg@101c0000 { diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts index a869427264..9b4ee34df5 100644 --- a/target/linux/ramips/dts/MPRA1.dts +++ b/target/linux/ramips/dts/MPRA1.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + ehci@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts index 44141418c6..56d6f51597 100644 --- a/target/linux/ramips/dts/MPRA2.dts +++ b/target/linux/ramips/dts/MPRA2.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + ehci@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts index e25118791d..a32a1cd882 100644 --- a/target/linux/ramips/dts/MZK-750DHP.dts +++ b/target/linux/ramips/dts/MZK-750DHP.dts @@ -69,6 +69,10 @@ ralink,port4 = "ephy"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pcie@10140000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/MZK-W300NH2.dts b/target/linux/ramips/dts/MZK-W300NH2.dts index 43a98ce97c..790092e1aa 100644 --- a/target/linux/ramips/dts/MZK-W300NH2.dts +++ b/target/linux/ramips/dts/MZK-W300NH2.dts @@ -62,6 +62,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; power { diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts index 07c5b3c356..6ef27d006e 100644 --- a/target/linux/ramips/dts/NBG-419N.dts +++ b/target/linux/ramips/dts/NBG-419N.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; power { diff --git a/target/linux/ramips/dts/NCS601W.dts b/target/linux/ramips/dts/NCS601W.dts index dcf0e727a9..9f3121b2f1 100644 --- a/target/linux/ramips/dts/NCS601W.dts +++ b/target/linux/ramips/dts/NCS601W.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + ehci@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/NW718.dts b/target/linux/ramips/dts/NW718.dts index c67b832794..fa49bf1035 100644 --- a/target/linux/ramips/dts/NW718.dts +++ b/target/linux/ramips/dts/NW718.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; cpu { diff --git a/target/linux/ramips/dts/OMNI-EMB-HPM.dts b/target/linux/ramips/dts/OMNI-EMB-HPM.dts index ed94c5f6d7..4f4ecd492b 100644 --- a/target/linux/ramips/dts/OMNI-EMB-HPM.dts +++ b/target/linux/ramips/dts/OMNI-EMB-HPM.dts @@ -71,6 +71,10 @@ }; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + ehci@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/OMNI-EMB.dts b/target/linux/ramips/dts/OMNI-EMB.dts index 146e79b245..c8bff4dd7d 100644 --- a/target/linux/ramips/dts/OMNI-EMB.dts +++ b/target/linux/ramips/dts/OMNI-EMB.dts @@ -76,6 +76,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/PSR-680W.dts b/target/linux/ramips/dts/PSR-680W.dts index 62e5f720ed..509787ae8a 100644 --- a/target/linux/ramips/dts/PSR-680W.dts +++ b/target/linux/ramips/dts/PSR-680W.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; wan { diff --git a/target/linux/ramips/dts/PWH2004.dts b/target/linux/ramips/dts/PWH2004.dts index bee5e0f266..f94370f39c 100644 --- a/target/linux/ramips/dts/PWH2004.dts +++ b/target/linux/ramips/dts/PWH2004.dts @@ -75,4 +75,8 @@ esw@10110000 { ralink,portmap = <0x2f>; }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; }; 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>; diff --git a/target/linux/ramips/dts/RT-N10-PLUS.dts b/target/linux/ramips/dts/RT-N10-PLUS.dts index 0606ccb245..b51030c712 100644 --- a/target/linux/ramips/dts/RT-N10-PLUS.dts +++ b/target/linux/ramips/dts/RT-N10-PLUS.dts @@ -27,7 +27,7 @@ read-only; }; - partition@40000 { + devconf: partition@40000 { label = "devconf"; reg = <0x40000 0x10000>; read-only; @@ -43,6 +43,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&devconf 0>; + }; + gpio-leds { compatible = "gpio-leds"; wps { diff --git a/target/linux/ramips/dts/RT-N13U.dts b/target/linux/ramips/dts/RT-N13U.dts index ed344858f4..cac0d94d98 100644 --- a/target/linux/ramips/dts/RT-N13U.dts +++ b/target/linux/ramips/dts/RT-N13U.dts @@ -90,6 +90,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/RT-N14U.dts b/target/linux/ramips/dts/RT-N14U.dts index d95365bc0e..66ac0fc71b 100644 --- a/target/linux/ramips/dts/RT-N14U.dts +++ b/target/linux/ramips/dts/RT-N14U.dts @@ -66,6 +66,10 @@ ralink,port-map = "wllll"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pinctrl { state_default: pinctrl0 { default { diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts index 893652055f..23842d48b8 100644 --- a/target/linux/ramips/dts/RT-N15.dts +++ b/target/linux/ramips/dts/RT-N15.dts @@ -76,6 +76,10 @@ gpio-sck = <&gpio0 2 0>; }; + wmac@480000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ramips/dts/RTN56U.dts b/target/linux/ramips/dts/RTN56U.dts index 305e36e85b..4b7258333d 100644 --- a/target/linux/ramips/dts/RTN56U.dts +++ b/target/linux/ramips/dts/RTN56U.dts @@ -56,7 +56,7 @@ wmac@10180000 { status = "okay"; ralink,2ghz = <0>; - ralink,eeprom = "soc_wmac.eeprom"; + ralink,mtd-eeprom = <&factory 0>; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/RUT5XX.dts b/target/linux/ramips/dts/RUT5XX.dts index 530b8b12fb..9ae6997352 100644 --- a/target/linux/ramips/dts/RUT5XX.dts +++ b/target/linux/ramips/dts/RUT5XX.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; status { diff --git a/target/linux/ramips/dts/SL-R7205.dts b/target/linux/ramips/dts/SL-R7205.dts index 24bf940379..574de55b49 100644 --- a/target/linux/ramips/dts/SL-R7205.dts +++ b/target/linux/ramips/dts/SL-R7205.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; wifi { diff --git a/target/linux/ramips/dts/UR-326N4G.dts b/target/linux/ramips/dts/UR-326N4G.dts index 4af10bb8f4..021efe584a 100644 --- a/target/linux/ramips/dts/UR-326N4G.dts +++ b/target/linux/ramips/dts/UR-326N4G.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; 3g { diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts index 5ce7fa9efd..81d0be033f 100644 --- a/target/linux/ramips/dts/UR-336UN.dts +++ b/target/linux/ramips/dts/UR-336UN.dts @@ -25,14 +25,20 @@ #size-cells = <1>; }; - ethernet@10100000 { + /* FIXME: no partitions defined */ +/* ethernet@10100000 { mtd-mac-address = <&factory 0x4004>; }; - +*/ esw@10110000 { ralink,portmap = <0x2f>; }; + /* FIXME: no partitions defined */ +/* wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; +*/ gpio-leds { compatible = "gpio-leds"; 3g { diff --git a/target/linux/ramips/dts/V11STFE.dts b/target/linux/ramips/dts/V11STFE.dts index 54ead081dd..6fa6aa5c3e 100644 --- a/target/linux/ramips/dts/V11STFE.dts +++ b/target/linux/ramips/dts/V11STFE.dts @@ -24,6 +24,10 @@ status = "okay"; }; + wmac@480000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pci@10140000 { status = "okay"; @@ -54,7 +58,7 @@ read-only; }; - partition@40000 { + factory: partition@40000 { reg = <0x00040000 0x00010000>; label = "factory"; read-only; diff --git a/target/linux/ramips/dts/V22RW-2X2.dts b/target/linux/ramips/dts/V22RW-2X2.dts index 99e748e78d..7eff596676 100644 --- a/target/linux/ramips/dts/V22RW-2X2.dts +++ b/target/linux/ramips/dts/V22RW-2X2.dts @@ -52,6 +52,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; security { diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts index f3ab7191ca..915fb21d8a 100644 --- a/target/linux/ramips/dts/W150M.dts +++ b/target/linux/ramips/dts/W150M.dts @@ -100,4 +100,8 @@ esw@10110000 { ralink,portmap = <0x2f>; }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; }; diff --git a/target/linux/ramips/dts/W306R_V20.dts b/target/linux/ramips/dts/W306R_V20.dts index 3f57b35bd8..1c2cf6af88 100644 --- a/target/linux/ramips/dts/W306R_V20.dts +++ b/target/linux/ramips/dts/W306R_V20.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; sys { diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index af448eb7b1..6d3282ea64 100644 --- a/target/linux/ramips/dts/W502U.dts +++ b/target/linux/ramips/dts/W502U.dts @@ -60,6 +60,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; usb { diff --git a/target/linux/ramips/dts/WCR150GN.dts b/target/linux/ramips/dts/WCR150GN.dts index 976754eac1..2a4fa11565 100644 --- a/target/linux/ramips/dts/WCR150GN.dts +++ b/target/linux/ramips/dts/WCR150GN.dts @@ -85,6 +85,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/WHR-1166D.dts b/target/linux/ramips/dts/WHR-1166D.dts index 47e0b1b6ed..d62be1e10e 100644 --- a/target/linux/ramips/dts/WHR-1166D.dts +++ b/target/linux/ramips/dts/WHR-1166D.dts @@ -73,6 +73,10 @@ ralink,port4 = "ephy"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pcie@10140000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/WHR-300HP2.dts b/target/linux/ramips/dts/WHR-300HP2.dts index 28917fec93..f3f2a9397d 100644 --- a/target/linux/ramips/dts/WHR-300HP2.dts +++ b/target/linux/ramips/dts/WHR-300HP2.dts @@ -77,6 +77,10 @@ ralink,port4 = "ephy"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; power { diff --git a/target/linux/ramips/dts/WHR-600D.dts b/target/linux/ramips/dts/WHR-600D.dts index df38b8c951..5b4b900edc 100644 --- a/target/linux/ramips/dts/WHR-600D.dts +++ b/target/linux/ramips/dts/WHR-600D.dts @@ -74,6 +74,10 @@ ralink,port4 = "ephy"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pcie@10140000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/WHR-G300N.dts b/target/linux/ramips/dts/WHR-G300N.dts index 8cec31e033..30541313ad 100644 --- a/target/linux/ramips/dts/WHR-G300N.dts +++ b/target/linux/ramips/dts/WHR-G300N.dts @@ -29,6 +29,11 @@ ralink,portmap = <0x2f>; }; + /* FIXME: no partitions defined */ +/* wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; +*/ gpio-leds { compatible = "gpio-leds"; diag { diff --git a/target/linux/ramips/dts/WL-351.dts b/target/linux/ramips/dts/WL-351.dts index 1e6705c02c..fd30160692 100644 --- a/target/linux/ramips/dts/WL-351.dts +++ b/target/linux/ramips/dts/WL-351.dts @@ -64,6 +64,10 @@ ralink,fpa2 = <0x1f003fff>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; 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 { diff --git a/target/linux/ramips/dts/WLI-TX4-AG300N.dts b/target/linux/ramips/dts/WLI-TX4-AG300N.dts index 063caed87b..b144ca9986 100644 --- a/target/linux/ramips/dts/WLI-TX4-AG300N.dts +++ b/target/linux/ramips/dts/WLI-TX4-AG300N.dts @@ -59,6 +59,10 @@ }; }; + wmac@480000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ramips/dts/WL_330N.dts b/target/linux/ramips/dts/WL_330N.dts index 4fc4368c3f..999a29d330 100644 --- a/target/linux/ramips/dts/WL_330N.dts +++ b/target/linux/ramips/dts/WL_330N.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; link { diff --git a/target/linux/ramips/dts/WL_330N3G.dts b/target/linux/ramips/dts/WL_330N3G.dts index 1c88ed31aa..3b29104af5 100644 --- a/target/linux/ramips/dts/WL_330N3G.dts +++ b/target/linux/ramips/dts/WL_330N3G.dts @@ -56,6 +56,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; 3g { diff --git a/target/linux/ramips/dts/WMR300.dts b/target/linux/ramips/dts/WMR300.dts index 56cf6a60f1..b6bce43575 100644 --- a/target/linux/ramips/dts/WMR300.dts +++ b/target/linux/ramips/dts/WMR300.dts @@ -53,6 +53,10 @@ ralink,port-map = "wllll"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pinctrl { state_default: pinctrl0 { default { diff --git a/target/linux/ramips/dts/WNCE2001.dts b/target/linux/ramips/dts/WNCE2001.dts index 10910afe31..d8a3b0badf 100644 --- a/target/linux/ramips/dts/WNCE2001.dts +++ b/target/linux/ramips/dts/WNCE2001.dts @@ -77,6 +77,10 @@ mtd-mac-address = <&factory 0x28>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; power-green { diff --git a/target/linux/ramips/dts/WR512-3GN-4M.dts b/target/linux/ramips/dts/WR512-3GN-4M.dts index fccd04aed9..0098970247 100644 --- a/target/linux/ramips/dts/WR512-3GN-4M.dts +++ b/target/linux/ramips/dts/WR512-3GN-4M.dts @@ -52,6 +52,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; 3g { diff --git a/target/linux/ramips/dts/WR512-3GN-8M.dts b/target/linux/ramips/dts/WR512-3GN-8M.dts index 01da52340e..20a325cd71 100644 --- a/target/linux/ramips/dts/WR512-3GN-8M.dts +++ b/target/linux/ramips/dts/WR512-3GN-8M.dts @@ -52,6 +52,10 @@ ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; 3g { diff --git a/target/linux/ramips/dts/WR6202.dts b/target/linux/ramips/dts/WR6202.dts index ed3e70851d..a769a98abc 100644 --- a/target/linux/ramips/dts/WR6202.dts +++ b/target/linux/ramips/dts/WR6202.dts @@ -85,6 +85,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + otg@101c0000 { status = "okay"; }; diff --git a/target/linux/ramips/dts/WR8305RT.dts b/target/linux/ramips/dts/WR8305RT.dts index 81653f509d..c28e422eea 100644 --- a/target/linux/ramips/dts/WR8305RT.dts +++ b/target/linux/ramips/dts/WR8305RT.dts @@ -64,6 +64,10 @@ ralink,port-map = "llllw"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pinctrl { state_default: pinctrl0 { ephy { diff --git a/target/linux/ramips/dts/WRTNODE.dts b/target/linux/ramips/dts/WRTNODE.dts index 2e0b71bcc2..3fb2303e02 100644 --- a/target/linux/ramips/dts/WRTNODE.dts +++ b/target/linux/ramips/dts/WRTNODE.dts @@ -65,6 +65,10 @@ ralink,port-map = "wllll"; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + pinctrl { state_default: pinctrl0 { default { diff --git a/target/linux/ramips/dts/XDXRN502J.dts b/target/linux/ramips/dts/XDXRN502J.dts index 628324cfbb..000f9db405 100644 --- a/target/linux/ramips/dts/XDXRN502J.dts +++ b/target/linux/ramips/dts/XDXRN502J.dts @@ -52,6 +52,10 @@ ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; wifi { |