summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom106
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rw-r--r--target/linux/ramips/dts/3G-6200N.dts4
-rw-r--r--target/linux/ramips/dts/3G-6200NL.dts8
-rw-r--r--target/linux/ramips/dts/3G300M.dts4
-rw-r--r--target/linux/ramips/dts/AIR3GII.dts4
-rw-r--r--target/linux/ramips/dts/ALL0239-3G.dts4
-rw-r--r--target/linux/ramips/dts/ALL0256N-4M.dts4
-rw-r--r--target/linux/ramips/dts/ALL0256N-8M.dts4
-rw-r--r--target/linux/ramips/dts/ALL5002.dts4
-rw-r--r--target/linux/ramips/dts/ALL5003.dts4
-rw-r--r--target/linux/ramips/dts/ARGUS_ATP52B.dts4
-rw-r--r--target/linux/ramips/dts/ASL26555-16M.dts6
-rw-r--r--target/linux/ramips/dts/ASL26555-8M.dts5
-rw-r--r--target/linux/ramips/dts/AWAPN2403.dts4
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-4M.dts4
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-8M.dts4
-rw-r--r--target/linux/ramips/dts/BC2.dts4
-rw-r--r--target/linux/ramips/dts/BR-6425.dts4
-rw-r--r--target/linux/ramips/dts/BR-6475ND.dts4
-rw-r--r--target/linux/ramips/dts/BROADWAY.dts4
-rw-r--r--target/linux/ramips/dts/CARAMBOLA.dts4
-rw-r--r--target/linux/ramips/dts/CY-SWR1100.dts1
-rw-r--r--target/linux/ramips/dts/D105.dts4
-rw-r--r--target/linux/ramips/dts/DAP-1350.dts6
-rw-r--r--target/linux/ramips/dts/DCS-930.dts4
-rw-r--r--target/linux/ramips/dts/DIR-300-B1.dts6
-rw-r--r--target/linux/ramips/dts/DIR-300-B7.dts7
-rw-r--r--target/linux/ramips/dts/DIR-320-B1.dts4
-rw-r--r--target/linux/ramips/dts/DIR-600-B1.dts6
-rw-r--r--target/linux/ramips/dts/DIR-600-B2.dts6
-rw-r--r--target/linux/ramips/dts/DIR-610-A1.dts2
-rw-r--r--target/linux/ramips/dts/DIR-615-D.dts6
-rw-r--r--target/linux/ramips/dts/DIR-615-H1.dts4
-rw-r--r--target/linux/ramips/dts/DIR-620-A1.dts4
-rw-r--r--target/linux/ramips/dts/DIR-620-D1.dts4
-rw-r--r--target/linux/ramips/dts/DIR-645.dts1
-rw-r--r--target/linux/ramips/dts/ESR-9753.dts4
-rw-r--r--target/linux/ramips/dts/F5D8235_V1.dts6
-rw-r--r--target/linux/ramips/dts/F5D8235_V2.dts6
-rw-r--r--target/linux/ramips/dts/F7C027.dts4
-rw-r--r--target/linux/ramips/dts/FONERA20N.dts4
-rw-r--r--target/linux/ramips/dts/FREESTATION5.dts4
-rw-r--r--target/linux/ramips/dts/HG255D.dts4
-rw-r--r--target/linux/ramips/dts/HW550-3G.dts4
-rw-r--r--target/linux/ramips/dts/MOFI3500-3GN.dts1
-rw-r--r--target/linux/ramips/dts/MPRA1.dts4
-rw-r--r--target/linux/ramips/dts/MPRA2.dts4
-rw-r--r--target/linux/ramips/dts/MZK-750DHP.dts4
-rw-r--r--target/linux/ramips/dts/MZK-W300NH2.dts4
-rw-r--r--target/linux/ramips/dts/NBG-419N.dts4
-rw-r--r--target/linux/ramips/dts/NCS601W.dts4
-rw-r--r--target/linux/ramips/dts/NW718.dts4
-rw-r--r--target/linux/ramips/dts/OMNI-EMB-HPM.dts4
-rw-r--r--target/linux/ramips/dts/OMNI-EMB.dts4
-rw-r--r--target/linux/ramips/dts/PSR-680W.dts4
-rw-r--r--target/linux/ramips/dts/PWH2004.dts4
-rw-r--r--target/linux/ramips/dts/RT-G32-B1.dts8
-rw-r--r--target/linux/ramips/dts/RT-N10-PLUS.dts6
-rw-r--r--target/linux/ramips/dts/RT-N13U.dts4
-rw-r--r--target/linux/ramips/dts/RT-N14U.dts4
-rw-r--r--target/linux/ramips/dts/RT-N15.dts4
-rw-r--r--target/linux/ramips/dts/RTN56U.dts2
-rw-r--r--target/linux/ramips/dts/RUT5XX.dts4
-rw-r--r--target/linux/ramips/dts/SL-R7205.dts4
-rw-r--r--target/linux/ramips/dts/UR-326N4G.dts4
-rw-r--r--target/linux/ramips/dts/UR-336UN.dts10
-rw-r--r--target/linux/ramips/dts/V11STFE.dts6
-rw-r--r--target/linux/ramips/dts/V22RW-2X2.dts4
-rw-r--r--target/linux/ramips/dts/W150M.dts4
-rw-r--r--target/linux/ramips/dts/W306R_V20.dts4
-rw-r--r--target/linux/ramips/dts/W502U.dts4
-rw-r--r--target/linux/ramips/dts/WCR150GN.dts4
-rw-r--r--target/linux/ramips/dts/WHR-1166D.dts4
-rw-r--r--target/linux/ramips/dts/WHR-300HP2.dts4
-rw-r--r--target/linux/ramips/dts/WHR-600D.dts4
-rw-r--r--target/linux/ramips/dts/WHR-G300N.dts5
-rw-r--r--target/linux/ramips/dts/WL-351.dts4
-rw-r--r--target/linux/ramips/dts/WL341V3.dts6
-rw-r--r--target/linux/ramips/dts/WLI-TX4-AG300N.dts4
-rw-r--r--target/linux/ramips/dts/WL_330N.dts4
-rw-r--r--target/linux/ramips/dts/WL_330N3G.dts4
-rw-r--r--target/linux/ramips/dts/WMR300.dts4
-rw-r--r--target/linux/ramips/dts/WNCE2001.dts4
-rw-r--r--target/linux/ramips/dts/WR512-3GN-4M.dts4
-rw-r--r--target/linux/ramips/dts/WR512-3GN-8M.dts4
-rw-r--r--target/linux/ramips/dts/WR6202.dts4
-rw-r--r--target/linux/ramips/dts/WR8305RT.dts4
-rw-r--r--target/linux/ramips/dts/WRTNODE.dts4
-rw-r--r--target/linux/ramips/dts/XDXRN502J.dts4
90 files changed, 358 insertions, 131 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 18a0448..2a5a80c 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -31,112 +31,8 @@ board=$(ramips_board_name)
case "$FIRMWARE" in
"soc_wmac.eeprom")
case $board in
- asl26555 | \
- dir-300-b1 | \
- dir-600-b1 | \
- dir-600-b2 | \
- dir-610-a1 | \
- dir-615-d)
- rt2x00_eeprom_extract "devdata" 16384 512
- ;;
-
- dap-1350)
- rt2x00_eeprom_extract "devdata" 0 512
- ;;
-
- rt-n10-plus | \
- rt-g32-b1)
- rt2x00_eeprom_extract "devconf" 0 512
- ;;
-
- f5d8235-v1 | \
- f5d8235-v2)
- rt2x00_eeprom_extract "u-boot" 262144 512
- ;;
-
- 3g-6200n | \
- 3g-6200nl | \
- 3g300m | \
- air3gii | \
- all0239-3g | \
- all0256n | \
- all5002 | \
- all5003 | \
- argus-atp52b | \
- awm002-evb | \
- awapn2403 | \
- bc2 | \
- br6425 | \
- br-6475nd | \
- broadway | \
- br6524n | \
- carambola | \
- cy-swr1100 | \
- d105 | \
- dcs-930 | \
- dir-300-b7 | \
- dir-320-b1 | \
- dir-615-h1 | \
- dir-620-a1 | \
- dir-620-d1 | \
- dir-645 | \
- esr-9753 | \
- f7c027 | \
- fonera20n | \
- rt-n13u | \
- freestation5 | \
- hlk-rm04 | \
- hw550-3g | \
- mofi3500-3gn | \
- mpr-a1 | \
- mpr-a2 | \
- mzk-750dhp | \
- pwh2004 | \
- ncs601w | \
- nbg-419n | \
- nw718 | \
- omni-emb | \
- omni-emb-hpm | \
- psr-680w | \
- px4885 | \
- rt-n15 | \
- rt-n56u | \
- rut5xx | \
- sl-r7205 | \
- v11st-fe | \
- v22rw-2x2 | \
- w306r-v20 | \
- w150m | \
- w502u | \
- wcr-150gn | \
- whr-g300n | \
- whr-300hp2 | \
- whr-600d | \
- whr-1166d | \
- wl-330n | \
- wl-330n3g | \
- wl-351 | \
- wli-tx4-ag300n | \
- wmr300 | \
- wnce2001 | \
- wr512-3gn | \
- wr6202 | \
- wr8305rt | \
- wrtnode | \
- mzk-w300nh2 | \
- ur-326n4g | \
- ur-336un | \
- xdxrn502j | \
- hg255d)
- rt2x00_eeprom_extract "factory" 0 512
- ;;
-
- wl341v3)
- rt2x00_eeprom_extract "board-nvram" 64880 512
- ;;
-
*)
- rt2x00_eeprom_die "board $board is not supported yet"
+ rt2x00_eeprom_die "Please define mtd-eeprom in $board DTS file!"
;;
esac
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 2e831d2..f9ab1e3 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -58,9 +58,6 @@ ramips_board_detect() {
*"AsiaRF AWAPN2403")
name="awapn2403"
;;
- *"BR6524N")
- name="br6524n"
- ;;
*"Asus WL-330N")
name="wl-330n"
;;
diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts
index 0be8c72..a19ed45 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 2658061..6a2f46f 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 93e864f..5095927 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 1276574..4a26546 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 fe1eba9..4da69a7 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 e92118f..581934a 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 6a704f1..c4815d9 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 827e9df..7c19571 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 d599e71..0d21508 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 fb04f01..66108b1 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 568d8f9..bd45bc3 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 1ddbb1c..d7e424d 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 068c800..2de0402 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 61b2d76..12887d8 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 dd1ce4c..3be34bf 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 54adbaf..0524f2d 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 7df63c6..6f836c8 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 b348889..60b8525 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 25e3b89..db86f97 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 520450a..c33ed42 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 d0cc0e5..2e0af38 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 c19e0da..42f6fd3 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 1fd9e9a..0513f57 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 8876d9b..a497c04 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 8c5fc52..621bf08 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 492fd4c..c1a1385 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 34d7944..8ec07c2 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 aa9309f..1790379 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 f982ae0..70e4a50 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 e6c1041..9893e7a 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 b27bca0..1a67b2d 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 13d7f88..1165ff1 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 070edaf..1ffa829 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 c8632f0..e4eeb3e 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 938055c..0a9d83f 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 3760a46..39e4232 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 0d1e9a8..9026d82 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 1b96cea..7eaf165 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 ea71625..f660ff8 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 bb85bab..2e01457 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 603ec36..b221ae4 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 7496ca5..41b7ddd 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 d107b55..3be3fce 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 058b7a2..b988dd0 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 a869427..9b4ee34 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 4414141..56d6f51 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 e251187..a32a1cd 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 43a98ce..790092e 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 07c5b3c..6ef27d0 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 dcf0e72..9f3121b 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 c67b832..fa49bf1 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 ed94c5f..4f4ecd4 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 146e79b..c8bff4d 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 62e5f72..509787a 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 bee5e0f..f94370f 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 5b4aebc..396e683 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 0606ccb..b51030c 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 ed34485..cac0d94 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 d95365b..66ac0fc 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 8936520..23842d4 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 305e36e..4b72583 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 530b8b1..9ae6997 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 24bf940..574de55 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 4af10bb..021efe5 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 5ce7fa9..81d0be0 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 54ead08..6fa6aa5 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 99e748e..7eff596 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 f3ab719..915fb21 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 3f57b35..1c2cf6a 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 af448eb..6d3282e 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 976754e..2a4fa11 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 47e0b1b..d62be1e 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 28917fe..f3f2a93 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 df38b8c..5b4b900 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 8cec31e..3054131 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 1e6705c..fd30160 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 70317c7..1271cfa 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 063caed..b144ca9 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 4fc4368..999a29d 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 1c88ed3..3b29104 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 56cf6a6..b6bce43 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 10910af..d8a3b0b 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 fccd04a..0098970 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 01da523..20a325c 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 ed3e708..a769a98 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 81653f5..c28e422 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 2e0b71b..3fb2303 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 628324c..000f9db 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 {