summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/dts/3G-6200N.dts6
-rw-r--r--target/linux/ramips/dts/3G-6200NL.dts3
-rw-r--r--target/linux/ramips/dts/3G150B.dts6
-rw-r--r--target/linux/ramips/dts/3G300M.dts9
-rw-r--r--target/linux/ramips/dts/A5-V11.dts6
-rw-r--r--target/linux/ramips/dts/AIBR100.dts3
-rw-r--r--target/linux/ramips/dts/AIR3GII.dts4
-rw-r--r--target/linux/ramips/dts/ALL0239-3G.dts8
-rw-r--r--target/linux/ramips/dts/ALL0256N-4M.dts5
-rw-r--r--target/linux/ramips/dts/ALL0256N-8M.dts5
-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/AR670W.dts4
-rw-r--r--target/linux/ramips/dts/AR725W.dts4
-rw-r--r--target/linux/ramips/dts/ARGUS_ATP52B.dts5
-rw-r--r--target/linux/ramips/dts/ASL26555-16M.dts17
-rw-r--r--target/linux/ramips/dts/ASL26555-8M.dts16
-rw-r--r--target/linux/ramips/dts/AWAPN2403.dts5
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-4M.dts5
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-8M.dts5
-rw-r--r--target/linux/ramips/dts/AWM002.dtsi3
-rw-r--r--target/linux/ramips/dts/AWM003-EVB.dts5
-rw-r--r--target/linux/ramips/dts/ArcherC20i.dts1
-rw-r--r--target/linux/ramips/dts/BC2.dts3
-rw-r--r--target/linux/ramips/dts/BR-6425.dts5
-rw-r--r--target/linux/ramips/dts/BR-6475ND.dts9
-rw-r--r--target/linux/ramips/dts/BROADWAY.dts4
-rw-r--r--target/linux/ramips/dts/CARAMBOLA.dts2
-rw-r--r--target/linux/ramips/dts/CF-WR800N.dts25
-rw-r--r--target/linux/ramips/dts/CY-SWR1100.dts13
-rw-r--r--target/linux/ramips/dts/D105.dts4
-rw-r--r--target/linux/ramips/dts/DAP-1350.dts8
-rw-r--r--target/linux/ramips/dts/DCS-930.dts5
-rw-r--r--target/linux/ramips/dts/DCS-930L-B1.dts7
-rw-r--r--target/linux/ramips/dts/DIR-300-B1.dts8
-rw-r--r--target/linux/ramips/dts/DIR-300-B7.dts74
-rw-r--r--target/linux/ramips/dts/DIR-320-B1.dts26
-rw-r--r--target/linux/ramips/dts/DIR-600-B1.dts8
-rw-r--r--target/linux/ramips/dts/DIR-600-B2.dts8
-rw-r--r--target/linux/ramips/dts/DIR-610-A1.dts25
-rw-r--r--target/linux/ramips/dts/DIR-615-D.dts8
-rw-r--r--target/linux/ramips/dts/DIR-615-H1.dts10
-rw-r--r--target/linux/ramips/dts/DIR-620-A1.dts9
-rw-r--r--target/linux/ramips/dts/DIR-620-D1.dts6
-rw-r--r--target/linux/ramips/dts/DIR-645.dts11
-rw-r--r--target/linux/ramips/dts/DIR-810L.dts6
-rw-r--r--target/linux/ramips/dts/DIR-860L-B1.dts1
-rw-r--r--target/linux/ramips/dts/E1700.dts11
-rw-r--r--target/linux/ramips/dts/ESR-9753.dts5
-rw-r--r--target/linux/ramips/dts/F5D8235_V1.dts9
-rw-r--r--target/linux/ramips/dts/F5D8235_V2.dts10
-rw-r--r--target/linux/ramips/dts/F7C027.dts9
-rw-r--r--target/linux/ramips/dts/FIREWRT.dts5
-rw-r--r--target/linux/ramips/dts/FONERA20N.dts10
-rw-r--r--target/linux/ramips/dts/FREESTATION5.dts5
-rw-r--r--target/linux/ramips/dts/HG255D.dts10
-rw-r--r--target/linux/ramips/dts/HLKRM04.dts3
-rw-r--r--target/linux/ramips/dts/HT-TM02.dts11
-rw-r--r--target/linux/ramips/dts/HW550-3G.dts8
-rw-r--r--target/linux/ramips/dts/IP2202.dts4
-rw-r--r--target/linux/ramips/dts/M2M.dts5
-rw-r--r--target/linux/ramips/dts/M3.dts4
-rw-r--r--target/linux/ramips/dts/M4-4M.dts3
-rw-r--r--target/linux/ramips/dts/M4-8M.dts3
-rw-r--r--target/linux/ramips/dts/MLW221.dts5
-rw-r--r--target/linux/ramips/dts/MLWG2.dts4
-rw-r--r--target/linux/ramips/dts/MOFI3500-3GN.dts8
-rw-r--r--target/linux/ramips/dts/MPRA1.dts6
-rw-r--r--target/linux/ramips/dts/MPRA2.dts5
-rw-r--r--target/linux/ramips/dts/MR-102N.dts6
-rw-r--r--target/linux/ramips/dts/MT7620a.dts4
-rw-r--r--target/linux/ramips/dts/MT7620a_MT7530.dts7
-rw-r--r--target/linux/ramips/dts/MT7620a_MT7610e.dts4
-rw-r--r--target/linux/ramips/dts/MT7620a_V22SG.dts11
-rw-r--r--target/linux/ramips/dts/MZK-750DHP.dts5
-rw-r--r--target/linux/ramips/dts/MZK-DP150N.dts2
-rw-r--r--target/linux/ramips/dts/MZK-W300NH2.dts7
-rw-r--r--target/linux/ramips/dts/MicroWRT.dts4
-rw-r--r--target/linux/ramips/dts/NA930.dts14
-rw-r--r--target/linux/ramips/dts/NBG-419N.dts5
-rw-r--r--target/linux/ramips/dts/NCS601W.dts41
-rw-r--r--target/linux/ramips/dts/NW718.dts6
-rw-r--r--target/linux/ramips/dts/OLINUXINO-RT5350F-EVB.dts191
-rw-r--r--target/linux/ramips/dts/OLINUXINO-RT5350F.dts123
-rw-r--r--target/linux/ramips/dts/OMNI-EMB-HPM.dts9
-rw-r--r--target/linux/ramips/dts/OMNI-EMB.dts4
-rw-r--r--target/linux/ramips/dts/OMNI-PLUG.dts15
-rw-r--r--target/linux/ramips/dts/OY-0001.dts10
-rw-r--r--target/linux/ramips/dts/PBR-M1.dts12
-rw-r--r--target/linux/ramips/dts/PSR-680W.dts3
-rw-r--r--target/linux/ramips/dts/PWH2004.dts4
-rw-r--r--target/linux/ramips/dts/PX4885-4M.dts1
-rw-r--r--target/linux/ramips/dts/PX4885-8M.dts1
-rw-r--r--target/linux/ramips/dts/PX4885.dtsi3
-rw-r--r--target/linux/ramips/dts/RE6500.dts4
-rw-r--r--target/linux/ramips/dts/RP-N53.dts14
-rw-r--r--target/linux/ramips/dts/RT-G32-B1.dts3
-rw-r--r--target/linux/ramips/dts/RT-N10-PLUS.dts4
-rw-r--r--target/linux/ramips/dts/RT-N13U.dts5
-rw-r--r--target/linux/ramips/dts/RT-N14U.dts7
-rw-r--r--target/linux/ramips/dts/RT-N15.dts9
-rw-r--r--target/linux/ramips/dts/RTN56U.dts21
-rw-r--r--target/linux/ramips/dts/RUT5XX.dts9
-rw-r--r--target/linux/ramips/dts/SAP-G3200U3.dts2
-rw-r--r--target/linux/ramips/dts/SL-R7205.dts4
-rw-r--r--target/linux/ramips/dts/TEW-691GR.dts7
-rw-r--r--target/linux/ramips/dts/TEW-692GR.dts9
-rw-r--r--target/linux/ramips/dts/UR-326N4G.dts8
-rw-r--r--target/linux/ramips/dts/UR-336UN.dts8
-rw-r--r--target/linux/ramips/dts/V11STFE.dts2
-rw-r--r--target/linux/ramips/dts/V22RW-2X2.dts5
-rw-r--r--target/linux/ramips/dts/VOCORE.dts15
-rw-r--r--target/linux/ramips/dts/W150M.dts9
-rw-r--r--target/linux/ramips/dts/W306R_V20.dts4
-rw-r--r--target/linux/ramips/dts/W502U.dts5
-rw-r--r--target/linux/ramips/dts/WCR150GN.dts5
-rw-r--r--target/linux/ramips/dts/WHR-1166D.dts13
-rw-r--r--target/linux/ramips/dts/WHR-300HP2.dts13
-rw-r--r--target/linux/ramips/dts/WHR-600D.dts14
-rw-r--r--target/linux/ramips/dts/WHR-G300N.dts8
-rw-r--r--target/linux/ramips/dts/WIZARD8800.dts1
-rw-r--r--target/linux/ramips/dts/WL-351.dts6
-rw-r--r--target/linux/ramips/dts/WL341V3.dts10
-rw-r--r--target/linux/ramips/dts/WLI-TX4-AG300N.dts11
-rw-r--r--target/linux/ramips/dts/WL_330N.dts5
-rw-r--r--target/linux/ramips/dts/WL_330N3G.dts6
-rw-r--r--target/linux/ramips/dts/WMR300.dts5
-rw-r--r--target/linux/ramips/dts/WNCE2001.dts9
-rw-r--r--target/linux/ramips/dts/WR512-3GN-4M.dts8
-rw-r--r--target/linux/ramips/dts/WR512-3GN-8M.dts8
-rw-r--r--target/linux/ramips/dts/WR6202.dts5
-rw-r--r--target/linux/ramips/dts/WR8305RT.dts7
-rw-r--r--target/linux/ramips/dts/WRTNODE.dts1
-rw-r--r--target/linux/ramips/dts/WSR-1166.dts14
-rw-r--r--target/linux/ramips/dts/WSR-600.dts15
-rw-r--r--target/linux/ramips/dts/WT1520-4M.dts1
-rw-r--r--target/linux/ramips/dts/WT1520-8M.dts1
-rw-r--r--target/linux/ramips/dts/WT3020-4M.dts28
-rw-r--r--target/linux/ramips/dts/WT3020-8M.dts28
-rw-r--r--target/linux/ramips/dts/WZR-AGL300NH.dts14
-rw-r--r--target/linux/ramips/dts/X5.dts9
-rw-r--r--target/linux/ramips/dts/X8.dts3
-rw-r--r--target/linux/ramips/dts/XDXRN502J.dts4
-rw-r--r--target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts1
-rw-r--r--target/linux/ramips/dts/Y1.dts8
-rw-r--r--target/linux/ramips/dts/Y1.dtsi2
-rw-r--r--target/linux/ramips/dts/Y1S.dts8
-rw-r--r--target/linux/ramips/dts/ZBT-WA05.dts4
-rw-r--r--target/linux/ramips/dts/ZTE-Q7.dts4
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi14
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi5
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi20
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi9
-rw-r--r--target/linux/ramips/dts/rt2880.dtsi3
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi2
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi1
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi1
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi5
158 files changed, 1113 insertions, 433 deletions
diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts
index a19ed452f6..3a79d46dd5 100644
--- a/target/linux/ramips/dts/3G-6200N.dts
+++ b/target/linux/ramips/dts/3G-6200N.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -68,14 +67,17 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "edimax:green:power";
gpios = <&gpio0 9 1>;
};
+
wlan {
label = "edimax:amber:wlan";
gpios = <&gpio0 14 1>;
};
+
3g {
label = "edimax:blue:3g";
gpios = <&gpio0 7 1>;
@@ -87,11 +89,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 12 1>;
linux,code = <0x211>;
};
+
wlanswitch {
label = "wlanswitch";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/3G-6200NL.dts b/target/linux/ramips/dts/3G-6200NL.dts
index 2dec318c99..eb6e7d43fe 100644
--- a/target/linux/ramips/dts/3G-6200NL.dts
+++ b/target/linux/ramips/dts/3G-6200NL.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -68,6 +67,7 @@
gpio-leds {
compatible = "gpio-leds";
+
wlan {
label = "edimax:amber:wlan";
gpios = <&gpio0 14 1>;
@@ -79,6 +79,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 12 1>;
diff --git a/target/linux/ramips/dts/3G150B.dts b/target/linux/ramips/dts/3G150B.dts
index bdcca7102f..26f4ce6bcb 100644
--- a/target/linux/ramips/dts/3G150B.dts
+++ b/target/linux/ramips/dts/3G150B.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -41,6 +42,7 @@
};
};
};
+
gpio1: gpio@660 {
status = "okay";
};
@@ -78,10 +80,12 @@
gpio-leds {
compatible = "gpio-leds";
+
ap {
label = "tenda:blue:ap";
gpios = <&gpio0 7 1>;
};
+
3g {
label = "tenda:blue:3g";
gpios = <&gpio0 14 1>;
@@ -93,6 +97,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
@@ -110,5 +115,4 @@
gpios = <&gpio0 13 0>;
};
};
-
};
diff --git a/target/linux/ramips/dts/3G300M.dts b/target/linux/ramips/dts/3G300M.dts
index 5095927c5b..1f9d6f93ab 100644
--- a/target/linux/ramips/dts/3G300M.dts
+++ b/target/linux/ramips/dts/3G300M.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -54,26 +55,32 @@
gpio-leds {
compatible = "gpio-leds";
+
3grouter {
label = "tenda:blue:3grouter";
gpios = <&gpio0 11 1>;
};
+
ap {
label = "tenda:blue:ap";
gpios = <&gpio0 12 1>;
};
+
wisprouter {
label = "tenda:blue:wisprouter";
gpios = <&gpio0 9 1>;
};
+
wirelessrouter {
label = "tenda:blue:wirelessrouter";
gpios = <&gpio0 13 1>;
};
+
3g {
label = "tenda:blue:3g";
gpios = <&gpio0 7 1>;
};
+
wpsreset {
label = "tenda:blue:wpsreset";
gpios = <&gpio0 14 1>;
@@ -85,11 +92,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/A5-V11.dts b/target/linux/ramips/dts/A5-V11.dts
index 154074a0c2..f1d0891ebd 100644
--- a/target/linux/ramips/dts/A5-V11.dts
+++ b/target/linux/ramips/dts/A5-V11.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -41,6 +42,7 @@
};
};
};
+
gpio1: gpio@660 {
status = "okay";
};
@@ -77,10 +79,12 @@
gpio-leds {
compatible = "gpio-leds";
+
system {
label = "a5-v11:blue:system";
gpios = <&gpio0 20 1>;
};
+
power {
label = "a5-v11:red:power";
gpios = <&gpio0 17 1>;
@@ -92,6 +96,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
@@ -108,6 +113,7 @@
gpio-export,output = <1>;
gpios = <&gpio0 7 0>;
};
+
root_hub {
gpio-export,name = "root_hub";
gpio-export,output = <1>;
diff --git a/target/linux/ramips/dts/AIBR100.dts b/target/linux/ramips/dts/AIBR100.dts
index 90f3a1eada..963e835eda 100644
--- a/target/linux/ramips/dts/AIBR100.dts
+++ b/target/linux/ramips/dts/AIBR100.dts
@@ -82,10 +82,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wan {
label = "aigale:blue:wan";
gpios = <&gpio2 4 1>;
};
+
wlan {
label = "aigale:blue:wlan";
gpios = <&gpio3 0 1>;
@@ -97,6 +99,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 12 1>;
diff --git a/target/linux/ramips/dts/AIR3GII.dts b/target/linux/ramips/dts/AIR3GII.dts
index 4a265460e0..434b10b2ce 100644
--- a/target/linux/ramips/dts/AIR3GII.dts
+++ b/target/linux/ramips/dts/AIR3GII.dts
@@ -13,6 +13,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -70,10 +71,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wlan {
label = "airlive:green:wlan";
gpios = <&gpio0 8 0>;
};
+
mobile {
label = "airlive:green:mobile";
gpios = <&gpio0 9 1>;
@@ -85,6 +88,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/ALL0239-3G.dts b/target/linux/ramips/dts/ALL0239-3G.dts
index 4da69a7329..ac8a4e9ec6 100644
--- a/target/linux/ramips/dts/ALL0239-3G.dts
+++ b/target/linux/ramips/dts/ALL0239-3G.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -63,18 +62,22 @@
gpio-leds {
compatible = "gpio-leds";
+
usb {
label = "hw550-3g:green:usb";
gpios = <&gpio0 8 1>;
};
+
3g {
label = "hw550-3g:green:3g";
gpios = <&gpio0 11 1>;
};
+
status {
label = "hw550-3g:green:status";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "hw550-3g:green:wps";
gpios = <&gpio0 14 1>;
@@ -86,16 +89,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
connect {
label = "connect";
gpios = <&gpio0 7 1>;
linux,code = <0xda>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/ALL0256N-4M.dts b/target/linux/ramips/dts/ALL0256N-4M.dts
index 581934a532..d0fbb8905f 100644
--- a/target/linux/ramips/dts/ALL0256N-4M.dts
+++ b/target/linux/ramips/dts/ALL0256N-4M.dts
@@ -13,6 +13,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -70,14 +71,17 @@
gpio-leds {
compatible = "gpio-leds";
+
rssilow {
label = "all0256n:green:rssilow";
gpios = <&gpio0 14 1>;
};
+
rssimed {
label = "all0256n:green:rssimed";
gpios = <&gpio0 12 1>;
};
+
rssihigh {
label = "all0256n:green:rssihigh";
gpios = <&gpio0 13 1>;
@@ -89,6 +93,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/ALL0256N-8M.dts b/target/linux/ramips/dts/ALL0256N-8M.dts
index c4815d968d..c7888691e2 100644
--- a/target/linux/ramips/dts/ALL0256N-8M.dts
+++ b/target/linux/ramips/dts/ALL0256N-8M.dts
@@ -13,6 +13,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -70,14 +71,17 @@
gpio-leds {
compatible = "gpio-leds";
+
rssilow {
label = "all0256n:green:rssilow";
gpios = <&gpio0 14 1>;
};
+
rssimed {
label = "all0256n:green:rssimed";
gpios = <&gpio0 12 1>;
};
+
rssihigh {
label = "all0256n:green:rssihigh";
gpios = <&gpio0 13 1>;
@@ -89,6 +93,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/ALL5002.dts b/target/linux/ramips/dts/ALL5002.dts
index 7c195714a0..06f892be33 100644
--- a/target/linux/ramips/dts/ALL5002.dts
+++ b/target/linux/ramips/dts/ALL5002.dts
@@ -13,6 +13,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -78,7 +79,6 @@
i2c-gpio {
compatible = "i2c-gpio";
-
gpios = <&gpio0 1 0 &gpio0 2 0>;
i2c-gpio,delay-us = <10>;
@@ -97,10 +97,12 @@
gpio-leds {
compatible = "gpio-leds";
+
ld1 {
label = "allnet:green:ld1";
gpios = <&pcf0 0 1>;
};
+
ld2 {
label = "allnet:green:ld2";
gpios = <&pcf0 1 1>;
diff --git a/target/linux/ramips/dts/ALL5003.dts b/target/linux/ramips/dts/ALL5003.dts
index 1d58b6a555..d14b1f972d 100644
--- a/target/linux/ramips/dts/ALL5003.dts
+++ b/target/linux/ramips/dts/ALL5003.dts
@@ -13,6 +13,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -78,7 +79,6 @@
i2c-gpio {
compatible = "i2c-gpio";
-
gpios = <&gpio0 1 0 &gpio0 2 0>;
i2c-gpio,delay-us = <10>;
@@ -97,10 +97,12 @@
gpio-leds {
compatible = "gpio-leds";
+
ld1 {
label = "allnet:green:ld1";
gpios = <&pcf0 0 1>;
};
+
ld2 {
label = "allnet:green:ld2";
gpios = <&pcf0 1 1>;
diff --git a/target/linux/ramips/dts/AR670W.dts b/target/linux/ramips/dts/AR670W.dts
index 07497cb616..0e29d89f2d 100644
--- a/target/linux/ramips/dts/AR670W.dts
+++ b/target/linux/ramips/dts/AR670W.dts
@@ -32,6 +32,7 @@
mdio-bus {
status = "okay";
+
phy0: ethernet-phy@0 {
phy-mode = "mii";
reg = <0>;
@@ -47,7 +48,6 @@
cfi@bdc00000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -89,11 +89,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 9 1>;
diff --git a/target/linux/ramips/dts/AR725W.dts b/target/linux/ramips/dts/AR725W.dts
index 87f2553423..6f66c3f85e 100644
--- a/target/linux/ramips/dts/AR725W.dts
+++ b/target/linux/ramips/dts/AR725W.dts
@@ -32,6 +32,7 @@
mdio-bus {
status = "okay";
+
phy0: ethernet-phy@0 {
phy-mode = "mii";
reg = <0>;
@@ -47,7 +48,6 @@
cfi@bdc00000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -99,11 +99,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 9 1>;
diff --git a/target/linux/ramips/dts/ARGUS_ATP52B.dts b/target/linux/ramips/dts/ARGUS_ATP52B.dts
index 66108b1fb5..f94d740f3d 100644
--- a/target/linux/ramips/dts/ARGUS_ATP52B.dts
+++ b/target/linux/ramips/dts/ARGUS_ATP52B.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -48,10 +47,12 @@
gpio-leds {
compatible = "gpio-leds";
+
run {
label = "argus-atp52b:green:run";
gpios = <&gpio0 9 1>;
};
+
net {
label = "argus-atp52b:amber:net";
gpios = <&gpio0 13 1>;
@@ -63,11 +64,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/ASL26555-16M.dts b/target/linux/ramips/dts/ASL26555-16M.dts
index 74163c293e..2cf1ac6182 100644
--- a/target/linux/ramips/dts/ASL26555-16M.dts
+++ b/target/linux/ramips/dts/ASL26555-16M.dts
@@ -13,6 +13,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -26,30 +27,36 @@
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
+
partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
+
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
+
partition@fd0000 {
label = "cert";
reg = <0xfd0000 0x10000>;
read-only;
};
+
partition@fe0000 {
label = "langpack";
reg = <0xfe0000 0x10000>;
read-only;
};
+
devdata: partition@ff0000 {
label = "devdata";
reg = <0xff0000 0x10000>;
@@ -89,11 +96,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 0>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 12 0>;
@@ -103,34 +112,42 @@
gpio-leds {
compatible = "gpio-leds";
+
eth {
label = "asl26555:green:eth";
gpios = <&gpio0 0 1>;
};
+
wan-red {
label = "asl26555:red:wan";
gpios = <&gpio0 1 0>;
};
+
wan-green {
label = "asl26555:green:wan";
gpios = <&gpio0 2 0>;
};
+
wlan {
label = "asl26555:green:wlan";
gpios = <&gpio0 7 0>;
};
+
power-green {
label = "asl26555:green:power";
gpios = <&gpio0 8 0>;
};
+
power-red {
label = "asl26555:red:power";
gpios = <&gpio0 9 0>;
};
+
3g-green {
label = "asl26555:green:3g";
gpios = <&gpio0 14 1>;
};
+
3g-red {
label = "asl26555:red:3g";
gpios = <&gpio0 17 1>;
diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts
index 506f1471af..80cf4a4b17 100644
--- a/target/linux/ramips/dts/ASL26555-8M.dts
+++ b/target/linux/ramips/dts/ASL26555-8M.dts
@@ -13,6 +13,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -26,25 +27,30 @@
reg = <0x0 0x30000>;
read-only;
};
+
ubootenv: partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
+
partition@40000 {
label = "rgdb";
reg = <0x40000 0x10000>;
read-only;
};
+
partition@50000 {
label = "firmware";
reg = <0x50000 0x790000>;
};
+
partition@7e0000 {
label = "cert";
reg = <0x7e0000 0x10000>;
read-only;
};
+
partition@7f0000 {
label = "langpack";
reg = <0x7f0000 0x10000>;
@@ -84,11 +90,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 0>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 12 0>;
@@ -98,34 +106,42 @@
gpio-leds {
compatible = "gpio-leds";
+
eth {
label = "asl26555:green:eth";
gpios = <&gpio0 0 1>;
};
+
wan-red {
label = "asl26555:red:wan";
gpios = <&gpio0 1 0>;
};
+
wan-green {
label = "asl26555:green:wan";
gpios = <&gpio0 2 0>;
};
+
wlan {
label = "asl26555:green:wlan";
gpios = <&gpio0 7 0>;
};
+
power-green {
label = "asl26555:green:power";
gpios = <&gpio0 8 0>;
};
+
power-red {
label = "asl26555:red:power";
gpios = <&gpio0 9 0>;
};
+
3g-green {
label = "asl26555:green:3g";
gpios = <&gpio0 14 1>;
};
+
3g-red {
label = "asl26555:red:3g";
gpios = <&gpio0 17 1>;
diff --git a/target/linux/ramips/dts/AWAPN2403.dts b/target/linux/ramips/dts/AWAPN2403.dts
index 2de04022c7..754f9f7ecb 100644
--- a/target/linux/ramips/dts/AWAPN2403.dts
+++ b/target/linux/ramips/dts/AWAPN2403.dts
@@ -4,11 +4,12 @@
/ {
compatible = "AWAPN2403", "ralink,rt3052-soc";
- model = "AsiaRF AWAPN2403";
+ model = "AsiaRF AWAPN2403";
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -62,6 +63,7 @@
gpio-leds {
compatible = "gpio-leds";
+
link {
label = "asiarf:green:wps";
gpios = <&gpio0 14 1>;
@@ -73,6 +75,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/AWM002-EVB-4M.dts b/target/linux/ramips/dts/AWM002-EVB-4M.dts
index 0738f048ef..fe2ff1aa00 100644
--- a/target/linux/ramips/dts/AWM002-EVB-4M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-4M.dts
@@ -15,14 +15,17 @@
gpio-leds {
compatible = "gpio-leds";
+
tx {
label = "awm002-evb:green:tx";
gpios = <&gpio0 15 1>;
};
+
rx {
label = "awm002-evb:green:rx";
gpios = <&gpio0 16 1>;
};
+
wps {
label = "awm002-evb:green:wps";
gpios = <&gpio0 21 1>;
@@ -34,11 +37,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 20 1>;
diff --git a/target/linux/ramips/dts/AWM002-EVB-8M.dts b/target/linux/ramips/dts/AWM002-EVB-8M.dts
index ebc4085588..d4de3f1900 100644
--- a/target/linux/ramips/dts/AWM002-EVB-8M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-8M.dts
@@ -15,14 +15,17 @@
gpio-leds {
compatible = "gpio-leds";
+
tx {
label = "awm002-evb:green:tx";
gpios = <&gpio0 15 1>;
};
+
rx {
label = "awm002-evb:green:rx";
gpios = <&gpio0 16 1>;
};
+
wps {
label = "awm002-evb:green:wps";
gpios = <&gpio0 21 1>;
@@ -34,11 +37,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 20 1>;
diff --git a/target/linux/ramips/dts/AWM002.dtsi b/target/linux/ramips/dts/AWM002.dtsi
index 3b87995c61..ce45bd3283 100644
--- a/target/linux/ramips/dts/AWM002.dtsi
+++ b/target/linux/ramips/dts/AWM002.dtsi
@@ -7,6 +7,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -62,10 +63,12 @@
gpio-leds {
compatible = "gpio-leds";
+
ld1 {
label = "asiarf:green:ld1";
gpios = <&gpio0 0 1>;
};
+
ld2 {
label = "asiarf:green:ld2";
gpios = <&gpio0 1 1>;
diff --git a/target/linux/ramips/dts/AWM003-EVB.dts b/target/linux/ramips/dts/AWM003-EVB.dts
index 35d4886762..02de20dcc3 100644
--- a/target/linux/ramips/dts/AWM003-EVB.dts
+++ b/target/linux/ramips/dts/AWM003-EVB.dts
@@ -30,14 +30,17 @@
gpio-leds {
compatible = "gpio-leds";
+
tx {
label = "awm002-evb:green:tx";
gpios = <&gpio0 15 1>;
};
+
rx {
label = "awm002-evb:green:rx";
gpios = <&gpio0 16 1>;
};
+
wps {
label = "awm002-evb:green:wps";
gpios = <&gpio0 21 1>;
@@ -49,11 +52,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 20 1>;
diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts
index cc3d5c1a0c..0ad4d12078 100644
--- a/target/linux/ramips/dts/ArcherC20i.dts
+++ b/target/linux/ramips/dts/ArcherC20i.dts
@@ -72,7 +72,6 @@
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
-
mtd-mac-address = <&rom 0xf100>;
ralink,port-map = "wllll";
};
diff --git a/target/linux/ramips/dts/BC2.dts b/target/linux/ramips/dts/BC2.dts
index 0524f2d6d2..d920b6e882 100644
--- a/target/linux/ramips/dts/BC2.dts
+++ b/target/linux/ramips/dts/BC2.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,6 +49,7 @@
gpio-leds {
compatible = "gpio-leds";
+
usb {
label = "bc2:blue:usb";
gpios = <&gpio0 20 1>;
@@ -61,6 +61,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 17 1>;
diff --git a/target/linux/ramips/dts/BR-6425.dts b/target/linux/ramips/dts/BR-6425.dts
index 6f836c832f..2d62615e65 100644
--- a/target/linux/ramips/dts/BR-6425.dts
+++ b/target/linux/ramips/dts/BR-6425.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -39,10 +38,12 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "edimax:green:power";
gpios = <&gpio0 9 1>;
};
+
wlan {
label = "edimax:orange:wlan";
gpios = <&gpio0 14 1>;
@@ -54,11 +55,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 12 1>;
linux,code = <0x198>;
};
+
rfkill {
label = "RFKILL switch";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/BR-6475ND.dts b/target/linux/ramips/dts/BR-6475ND.dts
index 1907028483..ce8bd61efb 100644
--- a/target/linux/ramips/dts/BR-6475ND.dts
+++ b/target/linux/ramips/dts/BR-6475ND.dts
@@ -45,9 +45,9 @@
pci@10140000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
+
pci_pins: pci {
pci {
ralink,group = "pci";
@@ -58,6 +58,7 @@
host-bridge {
pci-bridge@1 {
status = "okay";
+
wmac@0,0 {
ralink,5ghz = <0>;
compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
@@ -79,7 +80,6 @@
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -131,11 +131,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
reset {
label = "reset";
gpios = <&gpio0 7 1>;
linux,code = <0x198>;
};
+
rfkill {
label = "rfkill";
gpios = <&gpio0 9 1>;
@@ -151,10 +153,12 @@
label = "edimax:green:power";
gpios = <&gpio0 10 1>;
};
+
wlan {
label = "edimax:amber:wlan";
gpios = <&gpio0 11 1>;
};
+
wlan_5ghz {
label = "edimax:amber:wlan_5ghz";
gpios = <&gpio0 14 1>;
@@ -168,6 +172,7 @@
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
+
usb {
gpio-export,name="usb";
gpio-export,output=<0>;
diff --git a/target/linux/ramips/dts/BROADWAY.dts b/target/linux/ramips/dts/BROADWAY.dts
index db86f97476..34696ad9ad 100644
--- a/target/linux/ramips/dts/BROADWAY.dts
+++ b/target/linux/ramips/dts/BROADWAY.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,10 +61,12 @@
gpio-leds {
compatible = "gpio-leds";
+
diskmounted {
label = "red:diskmounted";
gpios = <&gpio0 9 1>;
};
+
wps_active {
label = "red:wps_active";
gpios = <&gpio0 14 1>;
@@ -77,6 +78,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
factory {
label = "Factory Reset button";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/CARAMBOLA.dts b/target/linux/ramips/dts/CARAMBOLA.dts
index c33ed420bf..ea3623d4e3 100644
--- a/target/linux/ramips/dts/CARAMBOLA.dts
+++ b/target/linux/ramips/dts/CARAMBOLA.dts
@@ -22,7 +22,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -70,7 +69,6 @@
i2c-gpio {
compatible = "i2c-gpio";
-
gpios = <&gpio0 1 0 &gpio0 2 0>;
i2c-gpio,delay-us = <10>;
};
diff --git a/target/linux/ramips/dts/CF-WR800N.dts b/target/linux/ramips/dts/CF-WR800N.dts
index 5db6c8314a..beb2805237 100644
--- a/target/linux/ramips/dts/CF-WR800N.dts
+++ b/target/linux/ramips/dts/CF-WR800N.dts
@@ -8,7 +8,7 @@
chosen {
bootargs = "console=ttyS0,115200";
- };
+ };
palmbus@10000000 {
gpio0: gpio@600 {
@@ -100,15 +100,16 @@
};
};
- gpio-keys-polled {
- compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
- poll-interval = <20>;
- reset {
- label = "reset";
- gpios = <&gpio0 2 1>;
- linux,code = <0x198>;
- };
- };
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <20>;
+
+ reset {
+ label = "reset";
+ gpios = <&gpio0 2 1>;
+ linux,code = <0x198>;
+ };
+ };
};
diff --git a/target/linux/ramips/dts/CY-SWR1100.dts b/target/linux/ramips/dts/CY-SWR1100.dts
index adea081872..acccfdbc62 100644
--- a/target/linux/ramips/dts/CY-SWR1100.dts
+++ b/target/linux/ramips/dts/CY-SWR1100.dts
@@ -30,9 +30,9 @@
pci@10140000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
+
pci_pins: pci {
pci {
ralink,group = "pci";
@@ -43,6 +43,7 @@
host-bridge {
pci-bridge@1 {
status = "okay";
+
wmac@0,0 {
ralink,5ghz = <0>;
compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
@@ -70,7 +71,6 @@
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -80,25 +80,30 @@
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x4000>;
read-only;
};
+
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
+
partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
+
partition@40000 {
label = "devdata";
reg = <0x40000 0x10000>;
};
+
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
@@ -117,11 +122,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
reset {
label = "reset";
gpios = <&gpio0 6 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 3 1>;
@@ -131,10 +138,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wps {
label = "samsung:blue:wps";
gpios = <&gpio0 0 1>;
};
+
usb {
label = "samsung:blue:usb";
gpios = <&gpio1 1 1>;
diff --git a/target/linux/ramips/dts/D105.dts b/target/linux/ramips/dts/D105.dts
index 42f6fd3c6d..5ef625c871 100644
--- a/target/linux/ramips/dts/D105.dts
+++ b/target/linux/ramips/dts/D105.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,10 +49,12 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "d105:red:power";
gpios = <&gpio0 0 1>;
};
+
wps {
label = "d105:green:usb";
gpios = <&gpio0 13 1>;
@@ -65,6 +66,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/DAP-1350.dts b/target/linux/ramips/dts/DAP-1350.dts
index ee53e5ef95..ae36baf6f9 100644
--- a/target/linux/ramips/dts/DAP-1350.dts
+++ b/target/linux/ramips/dts/DAP-1350.dts
@@ -22,7 +22,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -72,14 +71,17 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "d-link:blue:power";
gpios = <&gpio0 8 1>;
};
+
power2 {
label = "d-link:red:power";
gpios = <&gpio0 9 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 14 1>;
@@ -91,21 +93,25 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
rt {
label = "rt";
gpios = <&gpio0 11 1>;
linux,code = <0x100>;
};
+
ap {
label = "ap";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/DCS-930.dts b/target/linux/ramips/dts/DCS-930.dts
index 3d0cf1db5e..d544d21087 100644
--- a/target/linux/ramips/dts/DCS-930.dts
+++ b/target/linux/ramips/dts/DCS-930.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x400000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -60,14 +59,17 @@
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "d-link:red:alert";
gpios = <&gpio0 8 1>;
};
+
power {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 13 1>;
@@ -85,6 +87,7 @@
gpios = <&gpio0 0 1>;
linux,code = <0x101>;
};
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/DCS-930L-B1.dts b/target/linux/ramips/dts/DCS-930L-B1.dts
index f73a9973cf..7b54d8cbc7 100644
--- a/target/linux/ramips/dts/DCS-930L-B1.dts
+++ b/target/linux/ramips/dts/DCS-930L-B1.dts
@@ -3,12 +3,13 @@
/include/ "rt5350.dtsi"
/ {
- compatible = "DCS-930L-B1", "ralink,rt5350-soc";
+ compatible = "DCS-930L-B1", "ralink,rt5350-soc";
model = "D-Link DCS-930L B1";
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -74,10 +75,12 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "d-link:red:power";
gpios = <&gpio0 17 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 19 1>;
@@ -89,11 +92,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 20 1>;
diff --git a/target/linux/ramips/dts/DIR-300-B1.dts b/target/linux/ramips/dts/DIR-300-B1.dts
index 4c5b80fb21..e1962d5468 100644
--- a/target/linux/ramips/dts/DIR-300-B1.dts
+++ b/target/linux/ramips/dts/DIR-300-B1.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -65,11 +64,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
@@ -79,22 +80,27 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:amber:status";
gpios = <&gpio0 8 1>;
};
+
status2 {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wan {
label = "d-link:amber:wan";
gpios = <&gpio0 14 1>;
};
+
wan2 {
label = "d-link:green:wan";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/DIR-300-B7.dts b/target/linux/ramips/dts/DIR-300-B7.dts
index c1a1385c44..c143d6e41d 100644
--- a/target/linux/ramips/dts/DIR-300-B7.dts
+++ b/target/linux/ramips/dts/DIR-300-B7.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -56,41 +57,43 @@
mtd-mac-address = <&factory 0x4>;
};
- esw@10110000 {
- ralink,portmap = <0x2f>;
- ralink,led_polarity = <0x17>;
- };
-
- gpio-leds {
- compatible = "gpio-leds";
- status {
- label = "d-link:green:status";
- gpios = <&gpio0 9 1>;
- };
- wps {
- label = "d-link:blue:wps";
- gpios = <&gpio0 13 1>;
- };
- };
-
- gpio-keys-polled {
- gpio-keys-polled {
- compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
- poll-interval = <20>;
- reset {
- label = "reset";
- gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
- };
- wps {
- label = "wps";
- gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
- };
- };
- };
+ esw@10110000 {
+ ralink,portmap = <0x2f>;
+ ralink,led_polarity = <0x17>;
+ };
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ status {
+ label = "d-link:green:status";
+ gpios = <&gpio0 9 1>;
+ };
+
+ wps {
+ label = "d-link:blue:wps";
+ gpios = <&gpio0 13 1>;
+ };
+ };
+
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <20>;
+
+ reset {
+ label = "reset";
+ gpios = <&gpio0 10 1>;
+ linux,code = <0x198>;
+ };
+
+ wps {
+ label = "wps";
+ gpios = <&gpio0 0 1>;
+ linux,code = <0x211>;
+ };
+ };
wmac@10180000 {
status = "okay";
@@ -98,4 +101,3 @@
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 8ec07c2e54..958fdeeb7b 100644
--- a/target/linux/ramips/dts/DIR-320-B1.dts
+++ b/target/linux/ramips/dts/DIR-320-B1.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -67,14 +68,17 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
usb {
label = "d-link:green:usb";
gpios = <&gpio0 14 1>;
};
+
wps {
label = "d-link:green:wps";
gpios = <&gpio0 13 1>;
@@ -82,21 +86,21 @@
};
gpio-keys-polled {
- gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
- reset {
- label = "reset";
- gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
- };
- wps {
- label = "wps";
- gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
- };
+
+ reset {
+ label = "reset";
+ gpios = <&gpio0 10 1>;
+ linux,code = <0x198>;
+ };
+
+ wps {
+ label = "wps";
+ gpios = <&gpio0 0 1>;
+ linux,code = <0x211>;
};
};
diff --git a/target/linux/ramips/dts/DIR-600-B1.dts b/target/linux/ramips/dts/DIR-600-B1.dts
index 120a7fcd6d..7201532375 100644
--- a/target/linux/ramips/dts/DIR-600-B1.dts
+++ b/target/linux/ramips/dts/DIR-600-B1.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -65,11 +64,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
@@ -79,22 +80,27 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:amber:status";
gpios = <&gpio0 8 1>;
};
+
status2 {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wan {
label = "d-link:amber:wan";
gpios = <&gpio0 14 1>;
};
+
wan2 {
label = "d-link:green:wan";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/DIR-600-B2.dts b/target/linux/ramips/dts/DIR-600-B2.dts
index 70e4a508ea..0f05ad7fd9 100644
--- a/target/linux/ramips/dts/DIR-600-B2.dts
+++ b/target/linux/ramips/dts/DIR-600-B2.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -61,11 +60,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
@@ -75,22 +76,27 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:amber:status";
gpios = <&gpio0 8 1>;
};
+
status2 {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wan {
label = "d-link:amber:wan";
gpios = <&gpio0 14 1>;
};
+
wan2 {
label = "d-link:green:wan";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts
index e345250ed6..cd7b19d457 100644
--- a/target/linux/ramips/dts/DIR-610-A1.dts
+++ b/target/linux/ramips/dts/DIR-610-A1.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -70,10 +71,12 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wps {
label = "d-link:green:wps";
gpios = <&gpio0 13 1>;
@@ -81,21 +84,21 @@
};
gpio-keys-polled {
- gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
- reset {
- label = "reset";
- gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
- };
- wps {
- label = "wps";
- gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
- };
+
+ reset {
+ label = "reset";
+ gpios = <&gpio0 10 1>;
+ linux,code = <0x198>;
+ };
+
+ wps {
+ label = "wps";
+ gpios = <&gpio0 0 1>;
+ linux,code = <0x211>;
};
};
};
diff --git a/target/linux/ramips/dts/DIR-615-D.dts b/target/linux/ramips/dts/DIR-615-D.dts
index 1a67b2dcaa..d95c077fa2 100644
--- a/target/linux/ramips/dts/DIR-615-D.dts
+++ b/target/linux/ramips/dts/DIR-615-D.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -61,11 +60,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
@@ -75,22 +76,27 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:amber:status";
gpios = <&gpio0 8 1>;
};
+
status2 {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wan {
label = "d-link:amber:wan";
gpios = <&gpio0 14 1>;
};
+
wan2 {
label = "d-link:green:wan";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts
index 1165ff114f..e76d6ee4eb 100644
--- a/target/linux/ramips/dts/DIR-615-H1.dts
+++ b/target/linux/ramips/dts/DIR-615-H1.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -49,10 +50,12 @@
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
+
rgmii {
ralink,group = "rgmii";
ralink,function = "rgmii";
};
+
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
@@ -74,22 +77,27 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:amber:status";
gpios = <&gpio0 7 0>;
};
+
status2 {
label = "d-link:green:status";
gpios = <&gpio0 9 0>;
};
+
wan {
label = "d-link:amber:wan";
gpios = <&gpio0 12 1>;
};
+
wan2 {
label = "d-link:green:wan";
gpios = <&gpio0 13 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 14 1>;
@@ -101,11 +109,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/DIR-620-A1.dts b/target/linux/ramips/dts/DIR-620-A1.dts
index 1ffa829e07..1655982afc 100644
--- a/target/linux/ramips/dts/DIR-620-A1.dts
+++ b/target/linux/ramips/dts/DIR-620-A1.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -65,11 +64,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
@@ -79,26 +80,32 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:amber:status";
gpios = <&gpio0 8 1>;
};
+
status2 {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wan {
label = "d-link:amber:wan";
gpios = <&gpio0 14 1>;
};
+
wan2 {
label = "d-link:green:wan";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "d-link:blue:wps";
gpios = <&gpio0 13 0>;
};
+
wps2 {
label = "d-link:amber:wps";
gpios = <&gpio0 11 0>;
diff --git a/target/linux/ramips/dts/DIR-620-D1.dts b/target/linux/ramips/dts/DIR-620-D1.dts
index e4eeb3ee6d..8a5b057b23 100644
--- a/target/linux/ramips/dts/DIR-620-D1.dts
+++ b/target/linux/ramips/dts/DIR-620-D1.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -49,10 +50,12 @@
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
+
rgmii {
ralink,group = "rgmii";
ralink,function = "rgmii";
};
+
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
@@ -74,10 +77,12 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
+
wifi {
label = "d-link:green:wifi";
gpios = <&gpio0 17 1>;
@@ -89,6 +94,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts
index 60e7f46910..ab83901f17 100644
--- a/target/linux/ramips/dts/DIR-645.dts
+++ b/target/linux/ramips/dts/DIR-645.dts
@@ -21,30 +21,36 @@
reg = <0 0>;
linux,modalias = "m25p80";
spi-max-frequency = <25000000>;
+
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x4000>;
read-only;
};
+
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
+
partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
+
partition@40000 {
label = "devdata";
reg = <0x40000 0x10000>;
};
+
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
@@ -64,6 +70,7 @@
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
+
port@0 {
ralink,fixed-link = <1000 1 1 0>;
};
@@ -94,11 +101,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
reset {
label = "reset";
gpios = <&gpio0 9 0>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 14 0>;
@@ -113,6 +122,7 @@
label = "d-link:green:inet";
gpios = <&gpio0 0 1>;
};
+
wps {
label = "d-link:green:wps";
gpios = <&gpio1 2 0>;
@@ -122,6 +132,7 @@
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
+
usb {
gpio-export,name = "usb";
gpio-export,output = <1>;
diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts
index dd0d39c562..ae74500fc6 100644
--- a/target/linux/ramips/dts/DIR-810L.dts
+++ b/target/linux/ramips/dts/DIR-810L.dts
@@ -84,7 +84,6 @@
gsw@10110000 {
ralink,port4 = "ephy";
-
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
};
@@ -102,11 +101,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x100>;
};
+
wps {
label = "wps";
gpios = <&gpio0 2 1>;
@@ -116,14 +117,17 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "d-link:green:power";
gpios = <&gpio0 9 0>;
};
+
wan {
label = "d-link:orange:wan";
gpios = <&gpio0 12 0>;
};
+
status {
label = "d-link:orange:power";
gpios = <&gpio0 13 0>;
diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts
index 23ec1140bc..cae93c406c 100644
--- a/target/linux/ramips/dts/DIR-860L-B1.dts
+++ b/target/linux/ramips/dts/DIR-860L-B1.dts
@@ -76,6 +76,7 @@
mediatek,2ghz = <0>;
};
};
+
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
diff --git a/target/linux/ramips/dts/E1700.dts b/target/linux/ramips/dts/E1700.dts
index c9d03cdc23..7689b17574 100644
--- a/target/linux/ramips/dts/E1700.dts
+++ b/target/linux/ramips/dts/E1700.dts
@@ -65,9 +65,7 @@
ethernet@10100000 {
status = "okay";
-
mtd-mac-address = <&factory 0x28>;
-
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
@@ -84,22 +82,27 @@
reg = <0>;
phy-mode = "rgmii";
};
+
phy1: ethernet-phy@1 {
reg = <1>;
phy-mode = "rgmii";
};
+
phy2: ethernet-phy@2 {
reg = <2>;
phy-mode = "rgmii";
};
+
phy3: ethernet-phy@3 {
reg = <3>;
phy-mode = "rgmii";
};
+
phy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "rgmii";
};
+
phy1f: ethernet-phy@1f {
reg = <0x1f>;
phy-mode = "rgmii";
@@ -121,11 +124,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 0>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 2 0>;
@@ -135,10 +140,12 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "linksys:green:power";
gpios = <&gpio0 10 1>;
};
+
wan {
label = "linksys:green:wps";
gpios = <&gpio0 12 1>;
diff --git a/target/linux/ramips/dts/ESR-9753.dts b/target/linux/ramips/dts/ESR-9753.dts
index 444ce93ceb..b0f9046ca4 100644
--- a/target/linux/ramips/dts/ESR-9753.dts
+++ b/target/linux/ramips/dts/ESR-9753.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,10 +49,12 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "esr-9753:orange:power";
gpios = <&gpio0 8 1>;
};
+
wps {
label = "esr-9753:orange:wps";
gpios = <&gpio0 14 1>;
@@ -65,11 +66,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts
index 2e88abd494..2f510257c0 100644
--- a/target/linux/ramips/dts/F5D8235_V1.dts
+++ b/target/linux/ramips/dts/F5D8235_V1.dts
@@ -26,7 +26,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -37,16 +36,19 @@
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
+
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
+
partition@50000 {
label = "linux";
reg = <0x50000 0x3b0000>;
@@ -57,7 +59,7 @@
status = "okay";
mtd-mac-address = <&factory 0x4>;
- port@0 {
+ port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
};
@@ -79,11 +81,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 9 1>;
@@ -98,6 +102,7 @@
label = "f5d8235-v1:blue:storage";
gpios = <&gpio0 7 1>;
};
+
storage2 {
label = "f5d8235-v1:orange:storage";
gpios = <&gpio0 8 1>;
diff --git a/target/linux/ramips/dts/F5D8235_V2.dts b/target/linux/ramips/dts/F5D8235_V2.dts
index 792249c231..45f7d69338 100644
--- a/target/linux/ramips/dts/F5D8235_V2.dts
+++ b/target/linux/ramips/dts/F5D8235_V2.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -70,38 +69,47 @@
gpio-leds {
compatible = "gpio-leds";
+
internet {
label = "f5d8235v2:blue:internet";
gpios = <&gpio0 5 1>;
};
+
internet2 {
label = "f5d8235v2:amber:internet";
gpios = <&gpio0 6 1>;
};
+
modem {
label = "f5d8235v2:blue:modem";
gpios = <&gpio0 11 1>;
};
+
modem2 {
label = "f5d8235v2:amber:modem";
gpios = <&gpio0 8 1>;
};
+
router {
label = "f5d8235v2:blue:router";
gpios = <&gpio0 9 1>;
};
+
storage {
label = "f5d8235v2:blue:storage";
gpios = <&gpio0 23 1>;
};
+
storage2 {
label = "f5d8235v2:amber:storage";
gpios = <&gpio0 22 1>;
};
+
security {
label = "f5d8235v2:blue:security";
gpios = <&gpio0 13 1>;
};
+
security2 {
label = "f5d8235v2:amber:security";
gpios = <&gpio0 12 1>;
diff --git a/target/linux/ramips/dts/F7C027.dts b/target/linux/ramips/dts/F7C027.dts
index f660ff8f86..874d606bdc 100644
--- a/target/linux/ramips/dts/F7C027.dts
+++ b/target/linux/ramips/dts/F7C027.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -83,38 +84,46 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "belkin:blue:status";
gpios = <&gpio0 7 1>;
};
+
power {
label = "belkin:blue:power";
gpios = <&gpio0 9 1>;
};
+
orange {
label = "belkin:orange:status";
gpios = <&gpio0 11 1>;
};
+
relay {
label = "belkin:device:relay";
gpios = <&gpio0 13 0>;
};
};
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
top {
label = "top";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
power {
label = "power";
gpios = <&gpio0 12 1>;
linux,code = <0x100>;
};
+
sensor {
label = "sensor";
gpios = <&gpio0 14 1>;
diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts
index bfe1456461..b72066afe3 100644
--- a/target/linux/ramips/dts/FIREWRT.dts
+++ b/target/linux/ramips/dts/FIREWRT.dts
@@ -53,7 +53,6 @@
label = "firmware";
reg = <0x50000 0xfb0000>;
};
-
};
};
};
@@ -98,11 +97,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 18 1>;
linux,code = <0x211>;
};
+
power {
label = "power";
gpios = <&gpio0 23 1>;
@@ -112,7 +113,7 @@
pinctrl {
state_default: pinctrl0 {
- gpio {
+ gpio {
ralink,group = "wdt", "rgmii2";
ralink,function = "gpio";
};
diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts
index 2e01457783..d3479b1286 100644
--- a/target/linux/ramips/dts/FONERA20N.dts
+++ b/target/linux/ramips/dts/FONERA20N.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,14 +49,17 @@
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "fonera20n:orange:wifi";
gpios = <&gpio0 7 1>;
};
+
power {
label = "fonera20n:green:power";
gpios = <&gpio0 9 1>;
};
+
usb {
label = "fonera20n:orange:usb";
gpios = <&gpio0 14 1>;
@@ -69,11 +71,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 12 1>;
linux,code = <0x198>;
};
+
switch {
label = "switch";
gpios = <&gpio0 13 1>;
@@ -94,21 +98,25 @@
swconfig,segment = "lan";
swconfig,portmap = <0 4>;
};
+
port@1 {
compatible = "swconfig,port";
swconfig,segment = "lan";
swconfig,portmap = <1 3>;
};
+
port@2 {
compatible = "swconfig,port";
swconfig,segment = "lan";
swconfig,portmap = <2 2>;
};
+
port@3 {
compatible = "swconfig,port";
swconfig,segment = "lan";
swconfig,portmap = <3 1>;
};
+
port@4 {
compatible = "swconfig,port";
swconfig,segment = "wan";
diff --git a/target/linux/ramips/dts/FREESTATION5.dts b/target/linux/ramips/dts/FREESTATION5.dts
index e2c8d724f2..1febfb57c9 100644
--- a/target/linux/ramips/dts/FREESTATION5.dts
+++ b/target/linux/ramips/dts/FREESTATION5.dts
@@ -22,7 +22,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -70,6 +69,7 @@
gpio-export {
compatible = "gpio-export";
+
// Used to enable power-over-ethernet passthrough from port0 to port1.
// Disable passthrough by default to prevent accidental equipment damage.
poe {
@@ -81,16 +81,19 @@
gpio-leds {
compatible = "gpio-leds";
+
// The following leds are defined in the ArcOS firmware, but reportedly
// not present in the Freestation5 device.
wifi {
label = "freestation:unknown:wifi";
gpios = <&gpio0 7 1>;
};
+
powerg {
label = "freestation:unknown:powerg";
gpios = <&gpio0 9 1>;
};
+
usb {
label = "freestation:unknown:usb";
gpios = <&gpio0 14 1>;
diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts
index 41b7ddd34e..2aa3cc923f 100644
--- a/target/linux/ramips/dts/HG255D.dts
+++ b/target/linux/ramips/dts/HG255D.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x1000000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -56,26 +55,32 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "hg255d:power";
gpios = <&gpio0 8 1>;
};
+
internet {
label = "hg255d:internet";
gpios = <&gpio0 13 1>;
};
+
wifi {
label = "hg255d:wlan";
gpios = <&gpio0 14 1>;
};
+
usb {
label = "hg255d:usb";
gpios = <&gpio0 9 1>;
};
+
wps {
label = "hg255d:wps";
gpios = <&gpio0 12 1>;
};
+
voice {
label = "hg255d:voice";
gpios = <&gpio0 5 1>;
@@ -87,16 +92,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <10>;
+
reset {
label = "reset";
gpios = <&gpio0 4 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 10 1>;
linux,code = <0x211>;
};
+
rfkill {
label = "rfkill";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/HLKRM04.dts b/target/linux/ramips/dts/HLKRM04.dts
index 13597dc7d5..e4a652e903 100644
--- a/target/linux/ramips/dts/HLKRM04.dts
+++ b/target/linux/ramips/dts/HLKRM04.dts
@@ -22,6 +22,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -86,6 +87,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "reset";
gpios = <&gpio0 14 1>;
@@ -95,6 +97,7 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "hlk-rm04:red:power";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/HT-TM02.dts b/target/linux/ramips/dts/HT-TM02.dts
index 40d9e019b0..72feaa9e82 100644
--- a/target/linux/ramips/dts/HT-TM02.dts
+++ b/target/linux/ramips/dts/HT-TM02.dts
@@ -10,8 +10,10 @@
gpio0: gpio@600 {
status = "okay";
};
+
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -19,21 +21,25 @@
reg = <0 0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;
+
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
+
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
+
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
@@ -73,15 +79,16 @@
gpio-leds {
compatible = "gpio-leds";
+
wlan {
label = "ht-tm02:blue:wlan";
gpios = <&gpio0 7 1>;
};
+
lan {
label = "ht-tm02:green:lan";
gpios = <&gpio0 12 1>;
};
-
};
gpio-keys-polled {
@@ -89,11 +96,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
modeswitch {
label = "modeswitch";
gpios = <&gpio0 14 1>;
diff --git a/target/linux/ramips/dts/HW550-3G.dts b/target/linux/ramips/dts/HW550-3G.dts
index 9cd09c4901..8dbd82bd0f 100644
--- a/target/linux/ramips/dts/HW550-3G.dts
+++ b/target/linux/ramips/dts/HW550-3G.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,18 +61,22 @@
gpio-leds {
compatible = "gpio-leds";
+
usb {
label = "hw550-3g:green:usb";
gpios = <&gpio0 8 1>;
};
+
3g {
label = "hw550-3g:green:3g";
gpios = <&gpio0 11 1>;
};
+
status {
label = "hw550-3g:green:status";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "hw550-3g:green:wps";
gpios = <&gpio0 14 1>;
@@ -85,16 +88,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
connect {
label = "connect";
gpios = <&gpio0 7 1>;
linux,code = <0xda>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/IP2202.dts b/target/linux/ramips/dts/IP2202.dts
index 47cbb975ee..9eecad6ca8 100644
--- a/target/linux/ramips/dts/IP2202.dts
+++ b/target/linux/ramips/dts/IP2202.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -58,10 +57,12 @@
gpio-leds {
compatible = "gpio-leds";
+
run {
label = "ip2202:green:run";
gpios = <&gpio0 9 1>;
};
+
net {
label = "ip2202:amber:net";
gpios = <&gpio0 13 1>;
@@ -73,6 +74,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/M2M.dts b/target/linux/ramips/dts/M2M.dts
index 41910374c9..dbe36dac52 100644
--- a/target/linux/ramips/dts/M2M.dts
+++ b/target/linux/ramips/dts/M2M.dts
@@ -13,6 +13,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -58,10 +59,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "m2m:blue:wifi";
gpios = <&gpio0 7 1>;
};
+
wan {
label = "m2m:green:wan";
gpios = <&gpio0 12 1>;
@@ -73,11 +76,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
power {
label = "power";
gpios = <&gpio0 1 1>;
linux,code = <0x116>;
};
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/M3.dts b/target/linux/ramips/dts/M3.dts
index f3c3aa4d30..c10bf3bea0 100644
--- a/target/linux/ramips/dts/M3.dts
+++ b/target/linux/ramips/dts/M3.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -63,6 +64,7 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "m3:blue:status";
gpios = <&gpio0 9 1>;
@@ -74,11 +76,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 17 1>;
diff --git a/target/linux/ramips/dts/M4-4M.dts b/target/linux/ramips/dts/M4-4M.dts
index 2d2ebc47b0..24431876d1 100644
--- a/target/linux/ramips/dts/M4-4M.dts
+++ b/target/linux/ramips/dts/M4-4M.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -63,6 +64,7 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "m4:blue:status";
gpios = <&gpio0 9 1>;
@@ -74,6 +76,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/M4-8M.dts b/target/linux/ramips/dts/M4-8M.dts
index 23d8449ad6..e7e5058648 100644
--- a/target/linux/ramips/dts/M4-8M.dts
+++ b/target/linux/ramips/dts/M4-8M.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -63,6 +64,7 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "m4:blue:status";
gpios = <&gpio0 9 1>;
@@ -74,6 +76,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/MLW221.dts b/target/linux/ramips/dts/MLW221.dts
index 83467dcb58..1c41f6c2eb 100644
--- a/target/linux/ramips/dts/MLW221.dts
+++ b/target/linux/ramips/dts/MLW221.dts
@@ -56,7 +56,6 @@
partition@fb0000 {
label = "user-config";
reg = <0xfb0000 0x50000>;
-
};
};
};
@@ -90,10 +89,12 @@
gpio-leds {
compatible = "gpio-leds";
+
system {
label = "kingston:blue:system";
gpios = <&gpio2 3 1>;
};
+
wifi {
label = "kingston:blue:wifi";
gpios = <&gpio3 0 1>;
@@ -105,11 +106,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x198>;
};
+
system {
label = "system";
gpios = <&gpio0 2 1>;
diff --git a/target/linux/ramips/dts/MLWG2.dts b/target/linux/ramips/dts/MLWG2.dts
index a2b0033150..c1b5276888 100644
--- a/target/linux/ramips/dts/MLWG2.dts
+++ b/target/linux/ramips/dts/MLWG2.dts
@@ -89,10 +89,12 @@
gpio-leds {
compatible = "gpio-leds";
+
system {
label = "kingston:blue:system";
gpios = <&gpio2 3 1>;
};
+
wifi {
label = "kingston:blue:wifi";
gpios = <&gpio3 0 1>;
@@ -104,11 +106,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x198>;
};
+
system {
label = "system";
gpios = <&gpio0 2 1>;
diff --git a/target/linux/ramips/dts/MOFI3500-3GN.dts b/target/linux/ramips/dts/MOFI3500-3GN.dts
index b988dd095b..27c9e8378a 100644
--- a/target/linux/ramips/dts/MOFI3500-3GN.dts
+++ b/target/linux/ramips/dts/MOFI3500-3GN.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -54,18 +53,22 @@
gpio-leds {
compatible = "gpio-leds";
+
usb {
label = "mofi3500-3gn:green:usb";
gpios = <&gpio0 8 1>;
};
+
3g {
label = "mofi3500-3gn:green:3g";
gpios = <&gpio0 11 1>;
};
+
status {
label = "mofi3500-3gn:green:status";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "mofi3500-3gn:green:wps";
gpios = <&gpio0 14 1>;
@@ -77,16 +80,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
connect {
label = "connect";
gpios = <&gpio0 7 1>;
linux,code = <0xda>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts
index 58f36fe021..1389b80744 100644
--- a/target/linux/ramips/dts/MPRA1.dts
+++ b/target/linux/ramips/dts/MPRA1.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -41,6 +42,7 @@
};
};
};
+
gpio1: gpio@660 {
status = "okay";
};
@@ -77,10 +79,12 @@
gpio-leds {
compatible = "gpio-leds";
+
system {
label = "hame:blue:system";
gpios = <&gpio0 20 1>;
};
+
power {
label = "hame:red:power";
gpios = <&gpio0 17 1>;
@@ -92,6 +96,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "reset";
gpios = <&gpio0 0 1>;
@@ -108,6 +113,7 @@
gpio-export,output = <1>;
gpios = <&gpio0 7 0>;
};
+
root_hub {
gpio-export,name = "root_hub";
gpio-export,output = <1>;
diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts
index 4f5e1c3c6d..849e911b48 100644
--- a/target/linux/ramips/dts/MPRA2.dts
+++ b/target/linux/ramips/dts/MPRA2.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -74,10 +75,12 @@
gpio-leds {
compatible = "gpio-leds";
+
system {
label = "hame:blue:system";
gpios = <&gpio0 20 1>;
};
+
power {
label = "hame:red:power";
gpios = <&gpio0 17 1>;
@@ -89,6 +92,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "reset";
gpios = <&gpio0 0 1>;
@@ -105,6 +109,7 @@
gpio-export,output = <1>;
gpios = <&gpio0 7 0>;
};
+
root_hub {
gpio-export,name = "root_hub";
gpio-export,output = <1>;
diff --git a/target/linux/ramips/dts/MR-102N.dts b/target/linux/ramips/dts/MR-102N.dts
index c2a6e24370..3c392e44c9 100644
--- a/target/linux/ramips/dts/MR-102N.dts
+++ b/target/linux/ramips/dts/MR-102N.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -74,14 +73,17 @@
gpio-leds {
compatible = "gpio-leds";
+
usb {
label = "mr-102n:green:usb";
gpios = <&gpio0 8 1>;
};
+
status {
label = "mr-102n:amber:status";
gpios = <&gpio0 9 1>;
};
+
wlan {
label = "mr-102n:green:wlan";
gpios = <&gpio0 11 1>;
@@ -93,11 +95,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 13 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 18 1>;
diff --git a/target/linux/ramips/dts/MT7620a.dts b/target/linux/ramips/dts/MT7620a.dts
index 826441e633..71b30bde6b 100644
--- a/target/linux/ramips/dts/MT7620a.dts
+++ b/target/linux/ramips/dts/MT7620a.dts
@@ -55,10 +55,8 @@
ethernet@10100000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
ralink,port-map = "llllw";
port@4 {
@@ -105,11 +103,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
s2 {
label = "S2";
gpios = <&gpio0 1 1>;
linux,code = <0x100>;
};
+
s3 {
label = "S3";
gpios = <&gpio0 2 1>;
diff --git a/target/linux/ramips/dts/MT7620a_MT7530.dts b/target/linux/ramips/dts/MT7620a_MT7530.dts
index 4f311441dc..ac01fd2a87 100644
--- a/target/linux/ramips/dts/MT7620a_MT7530.dts
+++ b/target/linux/ramips/dts/MT7620a_MT7530.dts
@@ -55,10 +55,8 @@
ethernet@10100000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
ralink,port-map = "llllw";
port@5 {
@@ -74,22 +72,27 @@
reg = <0>;
phy-mode = "rgmii";
};
+
phy1: ethernet-phy@1 {
reg = <1>;
phy-mode = "rgmii";
};
+
phy2: ethernet-phy@2 {
reg = <2>;
phy-mode = "rgmii";
};
+
phy3: ethernet-phy@3 {
reg = <3>;
phy-mode = "rgmii";
};
+
phy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "rgmii";
};
+
phy1f: ethernet-phy@1f {
reg = <0x1f>;
phy-mode = "rgmii";
diff --git a/target/linux/ramips/dts/MT7620a_MT7610e.dts b/target/linux/ramips/dts/MT7620a_MT7610e.dts
index 4cff8dc28a..ba57fae1cb 100644
--- a/target/linux/ramips/dts/MT7620a_MT7610e.dts
+++ b/target/linux/ramips/dts/MT7620a_MT7610e.dts
@@ -50,10 +50,8 @@
ethernet@10100000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
-
ralink,port-map = "llllw";
};
@@ -74,11 +72,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 12 1>;
linux,code = <0x100>;
};
+
reset {
label = "reset";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/MT7620a_V22SG.dts b/target/linux/ramips/dts/MT7620a_V22SG.dts
index cec912df3b..ef3019576f 100644
--- a/target/linux/ramips/dts/MT7620a_V22SG.dts
+++ b/target/linux/ramips/dts/MT7620a_V22SG.dts
@@ -6,9 +6,6 @@
compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
model = "Ralink MT7620a V22SG High Power evaluation board";
- /*palmbus@10000000 {
- };*/
-
pinctrl {
state_default: pinctrl0 {
gpio {
@@ -20,10 +17,8 @@
ethernet@10100000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
ralink,port-map = "llllw";
port@4 {
@@ -74,11 +69,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio0 2 1>;
@@ -90,21 +87,25 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "mtk,mt7620-nand";
+
partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
read-only;
};
+
partition@40000 {
label = "u-boot-env";
reg = <0x40000 0x20000>;
read-only;
};
+
factory: partition@60000 {
label = "factory";
reg = <0x60000 0x20000>;
read-only;
};
+
partition@80000 {
label = "firmware";
reg = <0x80000 0x7f80000>;
diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts
index ff664acf73..250287486f 100644
--- a/target/linux/ramips/dts/MZK-750DHP.dts
+++ b/target/linux/ramips/dts/MZK-750DHP.dts
@@ -60,7 +60,6 @@
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
-
mtd-mac-address = <&factory 0x4>;
ralink,port-map = "llllw";
};
@@ -79,10 +78,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wps {
label = "mzk750:green:wps";
gpios = <&gpio1 11 1>;
};
+
power {
label = "mzk750:green:power";
gpios = <&gpio1 15 1>;
@@ -94,11 +95,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x100>;
};
+
s2 {
label = "wps";
gpios = <&gpio0 2 1>;
diff --git a/target/linux/ramips/dts/MZK-DP150N.dts b/target/linux/ramips/dts/MZK-DP150N.dts
index ae986f76c8..4b7b925c4a 100644
--- a/target/linux/ramips/dts/MZK-DP150N.dts
+++ b/target/linux/ramips/dts/MZK-DP150N.dts
@@ -78,6 +78,7 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "mzkdp150n:green:power";
gpios = <&gpio0 9 1>;
@@ -89,6 +90,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/MZK-W300NH2.dts b/target/linux/ramips/dts/MZK-W300NH2.dts
index 790092e1aa..7195253ffb 100644
--- a/target/linux/ramips/dts/MZK-W300NH2.dts
+++ b/target/linux/ramips/dts/MZK-W300NH2.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -68,14 +67,17 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "mzkw300nh2:green:power";
gpios = <&gpio0 9 1>;
};
+
wlan {
label = "mzkw300nh2:amber:wlan";
gpios = <&gpio0 14 1>;
};
+
wps {
label = "mzkw300nh2:amber:wps";
gpios = <&gpio0 11 1>;
@@ -87,16 +89,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 12 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
rt {
label = "rt";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/MicroWRT.dts b/target/linux/ramips/dts/MicroWRT.dts
index f6e81ddc13..ac660d496b 100644
--- a/target/linux/ramips/dts/MicroWRT.dts
+++ b/target/linux/ramips/dts/MicroWRT.dts
@@ -93,15 +93,17 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 2 1>;
linux,code = <0x211>;
};
};
- };
+};
diff --git a/target/linux/ramips/dts/NA930.dts b/target/linux/ramips/dts/NA930.dts
index 6fe9964da9..4397b2cc3f 100644
--- a/target/linux/ramips/dts/NA930.dts
+++ b/target/linux/ramips/dts/NA930.dts
@@ -16,6 +16,7 @@
ralink,group = "i2c", "rgmii2", "spi", "ephy";
ralink,function = "gpio";
};
+
uartf_gpio {
ralink,group = "uartf";
ralink,function = "gpio uartf";
@@ -41,21 +42,25 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "mtk,mt7620-nand";
+
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
+
partition@200000 {
label = "factory";
reg = <0x200000 0x40000>;
read-only;
};
+
partition@240000 {
label = "Config";
reg = <0x240000 0x400000>;
read-only;
};
+
partition@640000 {
label = "firmware";
reg = <0x640000 0x1400000>;
@@ -64,10 +69,8 @@
ethernet@10100000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
-
ralink,port-map = "llllw";
port@4 {
@@ -102,16 +105,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 11 1>;
linux,code = <0x198>;
};
+
zwave {
label = "zwave";
gpios = <&gpio0 12 1>;
linux,code = <0x100>;
};
+
wps {
label = "wps";
gpios = <&gpio0 14 1>;
@@ -121,18 +127,22 @@
gpio-leds {
compatible = "gpio-leds";
+
zwave {
label = "na930:blue:zwave";
gpios = <&gpio2 0 1>;
};
+
status {
label = "na930:blue:status";
gpios = <&gpio2 26 1>;
};
+
service {
label = "na930:blue:service";
gpios = <&gpio2 28 1>;
};
+
power {
label = "na930:blue:power";
gpios = <&gpio2 29 1>;
diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts
index 1a826bdf4f..50a12cb04c 100644
--- a/target/linux/ramips/dts/NBG-419N.dts
+++ b/target/linux/ramips/dts/NBG-419N.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,10 +61,12 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "nbg-419n:green:power";
gpios = <&gpio0 9 1>;
};
+
wps {
label = "nbg-419n:green:wps";
gpios = <&gpio0 14 1>;
@@ -77,11 +78,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/NCS601W.dts b/target/linux/ramips/dts/NCS601W.dts
index 9f3121b2f1..dfc47b2c22 100644
--- a/target/linux/ramips/dts/NCS601W.dts
+++ b/target/linux/ramips/dts/NCS601W.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -71,44 +72,4 @@
ohci@101c1000 {
status = "okay";
};
-
-/* gpio-leds {
- compatible = "gpio-leds";
- system {
- label = "mpr-a1:blue:system";
- gpios = <&gpio0 20 1>;
- };
- power {
- label = "mpr-a1:red:power";
- gpios = <&gpio0 17 1>;
- };
- };
-
- gpio-keys-polled {
- compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
- poll-interval = <20>;
- wps {
- label = "reset";
- gpios = <&gpio0 0 1>;
- linux,code = <0x198>;
- };
- };
-
- gpio_export {
- compatible = "gpio-export";
- #size-cells = <0>;
-
- usb {
- gpio-export,name = "usb";
- gpio-export,output = <1>;
- gpios = <&gpio0 7 0>;
- };
- root_hub {
- gpio-export,name = "root_hub";
- gpio-export,output = <1>;
- gpios = <&gpio0 12 0>;
- };
- }; */
};
diff --git a/target/linux/ramips/dts/NW718.dts b/target/linux/ramips/dts/NW718.dts
index fa49bf1035..f6411c817b 100644
--- a/target/linux/ramips/dts/NW718.dts
+++ b/target/linux/ramips/dts/NW718.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -66,14 +67,17 @@
gpio-leds {
compatible = "gpio-leds";
+
cpu {
label = "nw718:amber:cpu";
gpios = <&gpio0 13 1>;
};
+
usb {
label = "nw718:amber:usb";
gpios = <&gpio0 8 1>;
};
+
wps {
label = "nw718:amber:wps";
gpios = <&gpio0 14 1>;
@@ -85,11 +89,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/OLINUXINO-RT5350F-EVB.dts b/target/linux/ramips/dts/OLINUXINO-RT5350F-EVB.dts
index a644d4a2bd..0a7d7482b1 100644
--- a/target/linux/ramips/dts/OLINUXINO-RT5350F-EVB.dts
+++ b/target/linux/ramips/dts/OLINUXINO-RT5350F-EVB.dts
@@ -3,99 +3,100 @@
/include/ "rt5350.dtsi"
/ {
- compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
- model = "RT5350F-OLINUXINO";
-
- palmbus@10000000 {
- spi@b00 {
- status = "okay";
- m25p80@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "s25fl064k";
- reg = <0 0>;
- linux,modalias = "m25p80", "s25fl064k";
- spi-max-frequency = <10000000>;
-
- partition@0 {
- label = "u-boot";
- reg = <0x0 0x30000>;
- read-only;
- };
-
- partition@30000 {
- label = "u-boot-env";
- reg = <0x30000 0x10000>;
- read-only;
- };
-
- factory: partition@40000 {
- label = "factory";
- reg = <0x40000 0x10000>;
- read-only;
- };
-
- partition@50000 {
- label = "firmware";
- reg = <0x50000 0x3b0000>;
- };
- };
- };
- gpio1: gpio@660 {
- status = "okay";
- };
- };
-
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
- };
- };
- };
-
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x4>;
- };
-
- esw@10110000 {
- ralink,portmap = <0x2f>;
- ralink,led_polarity = <0x17>;
- };
-
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
-
- ehci@101c0000 {
- status = "okay";
- };
-
- ohci@101c1000 {
- status = "okay";
- };
-
- gpio_export {
- compatible = "gpio-export";
- #size-cells = <0>;
-
- relay1 {
- gpio-export,name = "gpio12";
- gpio-export,output = <0>;
- gpios = <&gpio0 12 0>;
- };
-
- relay2 {
- gpio-export,name = "gpio14";
- gpio-export,output = <0>;
- gpios = <&gpio0 14 0>;
- };
-
- button {
- gpio-export,name = "button";
- gpios = <&gpio0 0 1>;
- };
-
- };
+ compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
+ model = "RT5350F-OLINUXINO";
+
+ palmbus@10000000 {
+ spi@b00 {
+ status = "okay";
+
+ m25p80@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "s25fl064k";
+ reg = <0 0>;
+ linux,modalias = "m25p80", "s25fl064k";
+ spi-max-frequency = <10000000>;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x0 0x30000>;
+ read-only;
+ };
+
+ partition@30000 {
+ label = "u-boot-env";
+ reg = <0x30000 0x10000>;
+ read-only;
+ };
+
+ factory: partition@40000 {
+ label = "factory";
+ reg = <0x40000 0x10000>;
+ read-only;
+ };
+
+ partition@50000 {
+ label = "firmware";
+ reg = <0x50000 0x3b0000>;
+ };
+ };
+ };
+
+ gpio1: gpio@660 {
+ status = "okay";
+ };
+ };
+
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
+ ethernet@10100000 {
+ mtd-mac-address = <&factory 0x4>;
+ };
+
+ esw@10110000 {
+ ralink,portmap = <0x2f>;
+ ralink,led_polarity = <0x17>;
+ };
+
+ wmac@10180000 {
+ ralink,mtd-eeprom = <&factory 0>;
+ };
+
+ ehci@101c0000 {
+ status = "okay";
+ };
+
+ ohci@101c1000 {
+ status = "okay";
+ };
+
+ gpio_export {
+ compatible = "gpio-export";
+ #size-cells = <0>;
+
+ relay1 {
+ gpio-export,name = "gpio12";
+ gpio-export,output = <0>;
+ gpios = <&gpio0 12 0>;
+ };
+
+ relay2 {
+ gpio-export,name = "gpio14";
+ gpio-export,output = <0>;
+ gpios = <&gpio0 14 0>;
+ };
+
+ button {
+ gpio-export,name = "button";
+ gpios = <&gpio0 0 1>;
+ };
+ };
};
diff --git a/target/linux/ramips/dts/OLINUXINO-RT5350F.dts b/target/linux/ramips/dts/OLINUXINO-RT5350F.dts
index 984e701276..a2596930d3 100644
--- a/target/linux/ramips/dts/OLINUXINO-RT5350F.dts
+++ b/target/linux/ramips/dts/OLINUXINO-RT5350F.dts
@@ -3,77 +3,78 @@
/include/ "rt5350.dtsi"
/ {
- compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
- model = "RT5350F-OLINUXINO";
+ compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
+ model = "RT5350F-OLINUXINO";
- palmbus@10000000 {
- spi@b00 {
- status = "okay";
- m25p80@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "s25fl064k";
- reg = <0 0>;
- linux,modalias = "m25p80", "s25fl064k";
- spi-max-frequency = <10000000>;
+ palmbus@10000000 {
+ spi@b00 {
+ status = "okay";
- partition@0 {
- label = "u-boot";
- reg = <0x0 0x30000>;
- read-only;
- };
+ m25p80@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "s25fl064k";
+ reg = <0 0>;
+ linux,modalias = "m25p80", "s25fl064k";
+ spi-max-frequency = <10000000>;
- partition@30000 {
- label = "u-boot-env";
- reg = <0x30000 0x10000>;
- read-only;
- };
+ partition@0 {
+ label = "u-boot";
+ reg = <0x0 0x30000>;
+ read-only;
+ };
- factory: partition@40000 {
- label = "factory";
- reg = <0x40000 0x10000>;
- read-only;
- };
+ partition@30000 {
+ label = "u-boot-env";
+ reg = <0x30000 0x10000>;
+ read-only;
+ };
- partition@50000 {
- label = "firmware";
- reg = <0x50000 0x3b0000>;
- };
- };
- };
- gpio1: gpio@660 {
- status = "okay";
- };
- };
+ factory: partition@40000 {
+ label = "factory";
+ reg = <0x40000 0x10000>;
+ read-only;
+ };
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
- };
- };
- };
+ partition@50000 {
+ label = "firmware";
+ reg = <0x50000 0x3b0000>;
+ };
+ };
+ };
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x4>;
- };
+ gpio1: gpio@660 {
+ status = "okay";
+ };
+ };
- esw@10110000 {
- ralink,portmap = <0x2f>;
- ralink,led_polarity = <0x17>;
- };
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
+ ethernet@10100000 {
+ mtd-mac-address = <&factory 0x4>;
+ };
- ehci@101c0000 {
- status = "okay";
- };
+ esw@10110000 {
+ ralink,portmap = <0x2f>;
+ ralink,led_polarity = <0x17>;
+ };
- ohci@101c1000 {
- status = "okay";
- };
+ wmac@10180000 {
+ ralink,mtd-eeprom = <&factory 0>;
+ };
+ ehci@101c0000 {
+ status = "okay";
+ };
+
+ ohci@101c1000 {
+ status = "okay";
+ };
};
diff --git a/target/linux/ramips/dts/OMNI-EMB-HPM.dts b/target/linux/ramips/dts/OMNI-EMB-HPM.dts
index 4f4ecd492b..9540f4fbdd 100644
--- a/target/linux/ramips/dts/OMNI-EMB-HPM.dts
+++ b/target/linux/ramips/dts/OMNI-EMB-HPM.dts
@@ -18,7 +18,6 @@
compatible = "macronix,mx25l12805d";
spi-max-frequency = <25000000>;
reg = <0>;
-
#address-cells = <1>;
#size-cells = <1>;
@@ -88,6 +87,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
reset {
label = "reset";
gpios = <&gpio0 14 0>;
@@ -102,22 +102,27 @@
label = "emb:orange:power";
gpios = <&gpio0 7 1>;
};
+
status {
label = "emb:green:status";
gpios = <&gpio0 21 1>;
};
+
eth {
label = "emb:green:eth";
gpios = <&gpio0 20 1>;
};
+
eth2 {
label = "emb:red:eth";
gpios = <&gpio0 18 1>;
};
+
wifi {
label = "emb:green:wifi";
gpios = <&gpio0 17 1>;
};
+
wifi2 {
label = "emb:red:wifi";
gpios = <&gpio0 19 1>;
@@ -128,11 +133,13 @@
compatible = "gpio-export";
#size-cells = <0>;
/* gpio 12 and 13 handle the OC input */
+
usb0 {
gpio-export,name = "usb0";
gpio-export,output = <1>;
gpios = <&gpio0 2 0>;
};
+
usb1 {
gpio-export,name = "usb1";
gpio-export,output = <1>;
diff --git a/target/linux/ramips/dts/OMNI-EMB.dts b/target/linux/ramips/dts/OMNI-EMB.dts
index d7c5c8aced..aa3ddc42a4 100644
--- a/target/linux/ramips/dts/OMNI-EMB.dts
+++ b/target/linux/ramips/dts/OMNI-EMB.dts
@@ -17,10 +17,12 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "emb:green:status";
gpios = <&gpio0 9 1>;
};
+
wlan {
label = "emb:green:wlan";
gpios = <&gpio0 14 1>;
@@ -32,6 +34,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 12 1>;
@@ -42,7 +45,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
diff --git a/target/linux/ramips/dts/OMNI-PLUG.dts b/target/linux/ramips/dts/OMNI-PLUG.dts
index ede0252444..25f5bca8e3 100644
--- a/target/linux/ramips/dts/OMNI-PLUG.dts
+++ b/target/linux/ramips/dts/OMNI-PLUG.dts
@@ -5,7 +5,7 @@
/ {
compatible = "OMNI-PLUG", "ralink,rt5350-soc";
model = "Omnima MiniPlug";
-
+
pinctrl {
state_default: pinctrl0 {
gpio {
@@ -14,13 +14,15 @@
};
};
};
-
+
gpio-leds {
compatible = "gpio-leds";
+
wlan {
label = "miniplug:red:wlan";
gpios = <&gpio0 9 0>;
};
+
mobile {
label = "miniplug:green:mobile";
gpios = <&gpio0 13 1>;
@@ -32,21 +34,25 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x211>;
};
+
mode-one {
label = "mode1";
gpios = <&gpio0 11 1>;
linux,code = <0x211>;
};
+
mode-two {
label = "mode2";
gpios = <&gpio0 12 1>;
@@ -61,6 +67,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -94,7 +101,7 @@
};
};
};
-
+
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
};
@@ -106,7 +113,7 @@
wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};
-
+
otg@101c0000 {
status = "okay";
};
diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts
index 48b7099296..b008afd1d7 100644
--- a/target/linux/ramips/dts/OY-0001.dts
+++ b/target/linux/ramips/dts/OY-0001.dts
@@ -6,9 +6,9 @@
compatible = "ralink,mt7620a-soc";
model = "OY-0001";
- chosen {
- bootargs = "console=ttyS0,115200";
- };
+ chosen {
+ bootargs = "console=ttyS0,115200";
+ };
palmbus@10000000 {
gpio2: gpio@660 {
@@ -69,7 +69,6 @@
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
-
ralink,port-map = "llllw";
};
@@ -83,10 +82,12 @@
gpio-leds {
compatible = "gpio-leds";
+
powerled {
label = "oy:green:power";
gpios = <&gpio0 9 1>;
};
+
wifiled {
label = "oy:green:wifi";
gpios = <&gpio3 0 1>;
@@ -114,6 +115,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
diff --git a/target/linux/ramips/dts/PBR-M1.dts b/target/linux/ramips/dts/PBR-M1.dts
index 76eae931a5..7702d9cab4 100644
--- a/target/linux/ramips/dts/PBR-M1.dts
+++ b/target/linux/ramips/dts/PBR-M1.dts
@@ -60,22 +60,19 @@
i2c@900 {
compatible = "ralink,i2c-mt7621";
reg = <0x900 0x100>;
-
#address-cells = <1>;
#size-cells = <0>;
-
pinctrl-names = "default";
pinctrl-0 = <&i2c_pins>;
-
status = "okay";
pcf8563: rtc@51 {
status = "okay";
compatible = "nxp,pcf8563";
reg = <0x51>;
- };
- };
- };
+ };
+ };
+ };
pcie@1e140000 {
status = "okay";
@@ -132,6 +129,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 18 1>;
@@ -141,7 +139,7 @@
pinctrl {
state_default: pinctrl0 {
- gpio {
+ gpio {
ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
ralink,function = "gpio";
};
diff --git a/target/linux/ramips/dts/PSR-680W.dts b/target/linux/ramips/dts/PSR-680W.dts
index 509787ae8a..f583009ab6 100644
--- a/target/linux/ramips/dts/PSR-680W.dts
+++ b/target/linux/ramips/dts/PSR-680W.dts
@@ -22,7 +22,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -66,6 +65,7 @@
gpio-leds {
compatible = "gpio-leds";
+
wan {
label = "psr-680w:red:wan";
gpios = <&gpio0 19 1>;
@@ -77,6 +77,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/PWH2004.dts b/target/linux/ramips/dts/PWH2004.dts
index f94370f39c..fc51c09018 100644
--- a/target/linux/ramips/dts/PWH2004.dts
+++ b/target/linux/ramips/dts/PWH2004.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,10 +49,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "pwh2004:red:wifi";
gpios = <&gpio0 14 1>;
};
+
power {
label = "pwh2004:green:power";
gpios = <&gpio0 9 1>;
@@ -65,6 +66,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 12 1>;
diff --git a/target/linux/ramips/dts/PX4885-4M.dts b/target/linux/ramips/dts/PX4885-4M.dts
index 39bca1c760..33f167dcd5 100644
--- a/target/linux/ramips/dts/PX4885-4M.dts
+++ b/target/linux/ramips/dts/PX4885-4M.dts
@@ -6,6 +6,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
diff --git a/target/linux/ramips/dts/PX4885-8M.dts b/target/linux/ramips/dts/PX4885-8M.dts
index 03cb5809ac..b8015ab8f0 100644
--- a/target/linux/ramips/dts/PX4885-8M.dts
+++ b/target/linux/ramips/dts/PX4885-8M.dts
@@ -6,6 +6,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
diff --git a/target/linux/ramips/dts/PX4885.dtsi b/target/linux/ramips/dts/PX4885.dtsi
index 1f47a17bbd..50f4b9edd6 100644
--- a/target/linux/ramips/dts/PX4885.dtsi
+++ b/target/linux/ramips/dts/PX4885.dtsi
@@ -30,6 +30,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
@@ -39,10 +40,12 @@
gpio-leds {
compatible = "gpio-leds";
+
orange {
label = "7links:orange:wifi";
gpios = <&gpio0 18 1>;
};
+
blue {
label = "7links:blue:storage";
gpios = <&gpio0 19 1>;
diff --git a/target/linux/ramips/dts/RE6500.dts b/target/linux/ramips/dts/RE6500.dts
index 36d6218b2e..89029bfda0 100644
--- a/target/linux/ramips/dts/RE6500.dts
+++ b/target/linux/ramips/dts/RE6500.dts
@@ -86,10 +86,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "linksys:orange:wifi";
gpios = <&gpio0 0 1>;
};
+
power {
label = "linksys:white:power";
gpios = <&gpio0 9 1>;
@@ -101,11 +103,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 10 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 11 0>;
diff --git a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts
index e19639a57d..80ece00074 100644
--- a/target/linux/ramips/dts/RP-N53.dts
+++ b/target/linux/ramips/dts/RP-N53.dts
@@ -17,7 +17,6 @@
i2s@a00 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&pcm_i2s_pins>;
};
@@ -78,7 +77,6 @@
gsw@10110000 {
ralink,port4 = "ephy";
-
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
};
@@ -92,21 +90,25 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
touch {
label = "touch";
gpios = <&gpio1 0 1>;
linux,code = <0x100>;
};
+
wps {
label = "wps";
gpios = <&gpio1 1 1>;
linux,code = <0x100>;
};
+
reset {
label = "reset";
gpios = <&gpio1 2 1>;
linux,code = <0x100>;
};
+
audio {
label = "audio";
gpios = <&gpio1 3 0>;
@@ -116,34 +118,42 @@
gpio-leds {
compatible = "gpio-leds";
+
backlight {
label = "asus:white:back";
gpios = <&gpio1 4 1>;
};
+
wifi0 {
label = "asus:blue:5g3";
gpios = <&gpio1 5 1>;
};
+
wifi1 {
label = "asus:blue:5g2";
gpios = <&gpio1 6 1>;
};
+
wifi2 {
label = "asus:blue:5g1";
gpios = <&gpio1 7 1>;
};
+
wifi3 {
label = "asus:blue:wifi";
gpios = <&gpio1 8 1>;
};
+
wifi4 {
label = "asus:blue:2g1";
gpios = <&gpio1 9 1>;
};
+
wifi5 {
label = "asus:blue:2g2";
gpios = <&gpio1 10 1>;
};
+
wifi6 {
label = "asus:blue:2g3";
gpios = <&gpio1 11 1>;
diff --git a/target/linux/ramips/dts/RT-G32-B1.dts b/target/linux/ramips/dts/RT-G32-B1.dts
index 396e683dfb..b0b7c07a5f 100644
--- a/target/linux/ramips/dts/RT-G32-B1.dts
+++ b/target/linux/ramips/dts/RT-G32-B1.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -69,11 +70,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/RT-N10-PLUS.dts b/target/linux/ramips/dts/RT-N10-PLUS.dts
index a942af2622..7bbd221f40 100644
--- a/target/linux/ramips/dts/RT-N10-PLUS.dts
+++ b/target/linux/ramips/dts/RT-N10-PLUS.dts
@@ -9,7 +9,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -53,6 +52,7 @@
gpio-leds {
compatible = "gpio-leds";
+
wps {
label = "asus:green:wps";
gpios = <&gpio0 14 1>;
@@ -64,11 +64,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/RT-N13U.dts b/target/linux/ramips/dts/RT-N13U.dts
index 8642b88bf2..4e1737ef2b 100644
--- a/target/linux/ramips/dts/RT-N13U.dts
+++ b/target/linux/ramips/dts/RT-N13U.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,10 +49,12 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "rt-n13u:power";
gpios = <&gpio0 7 1>;
};
+
wifi {
label = "rt-n13u:wifi";
gpios = <&gpio0 8 1>;
@@ -65,11 +66,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <10>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/RT-N14U.dts b/target/linux/ramips/dts/RT-N14U.dts
index d95d32d87d..cd46bdf574 100644
--- a/target/linux/ramips/dts/RT-N14U.dts
+++ b/target/linux/ramips/dts/RT-N14U.dts
@@ -81,22 +81,27 @@
gpio-leds {
compatible = "gpio-leds";
+
wan {
label = "asus:blue:wan";
gpios = <&gpio2 0 1>;
};
+
lan {
label = "asus:blue:lan";
gpios = <&gpio2 1 1>;
};
+
usb {
label = "asus:blue:usb";
gpios = <&gpio2 2 1>;
};
+
power {
label = "asus:blue:power";
gpios = <&gpio2 3 1>;
};
+
air {
label = "asus:blue:air";
gpios = <&gpio3 0 1>;
@@ -108,11 +113,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 2 1>;
diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts
index 23842d48b8..03821cac86 100644
--- a/target/linux/ramips/dts/RT-N15.dts
+++ b/target/linux/ramips/dts/RT-N15.dts
@@ -26,7 +26,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -37,16 +36,19 @@
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
+
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
+
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
@@ -57,12 +59,13 @@
status = "okay";
mtd-mac-address = <&factory 0x4>;
- port@0 {
+ port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
mdio-bus {
status = "okay";
+
phy0: ethernet-phy@0 {
phy-mode = "mii";
reg = <0>;
@@ -85,11 +88,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
wps {
label = "wps";
gpios = <&gpio0 0 0>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 12 0>;
diff --git a/target/linux/ramips/dts/RTN56U.dts b/target/linux/ramips/dts/RTN56U.dts
index 4b7258333d..3ecd1b7f73 100644
--- a/target/linux/ramips/dts/RTN56U.dts
+++ b/target/linux/ramips/dts/RTN56U.dts
@@ -22,7 +22,8 @@
};
ethernet@10100000 {
- mtd-mac-address = <&factory 0x4>;
+ mtd-mac-address = <&factory 0x4>;
+
port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
@@ -30,9 +31,9 @@
pci@10140000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
+
pci_pins: pci {
pci {
ralink,group = "pci";
@@ -43,12 +44,12 @@
host-bridge {
pci-bridge@1 {
status = "okay";
- wmac@0,0 {
- compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
- reg = < 0x10000 0 0 0 0 >;
- ralink,eeprom = "rt2x00pci_1_0.eeprom";
- };
+ wmac@0,0 {
+ compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
+ reg = < 0x10000 0 0 0 0 >;
+ ralink,eeprom = "rt2x00pci_1_0.eeprom";
+ };
};
};
};
@@ -70,7 +71,6 @@
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -111,11 +111,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
reset {
label = "reset";
gpios = <&gpio0 13 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio1 2 1>;
@@ -130,14 +132,17 @@
label = "asus:blue:power";
gpios = <&gpio0 0 1>;
};
+
lan {
label = "asus:blue:lan";
gpios = <&gpio0 19 1>;
};
+
wan {
label = "asus:blue:wan";
gpios = <&gpio1 3 1>;
};
+
usb {
label = "asus:blue:usb";
gpios = <&gpio1 0 1>;
diff --git a/target/linux/ramips/dts/RUT5XX.dts b/target/linux/ramips/dts/RUT5XX.dts
index 9ae6997352..0af4743829 100644
--- a/target/linux/ramips/dts/RUT5XX.dts
+++ b/target/linux/ramips/dts/RUT5XX.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -52,9 +53,9 @@
};
};
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x28>;
- };
+ ethernet@10100000 {
+ mtd-mac-address = <&factory 0x28>;
+ };
esw@10110000 {
ralink,portmap = <0x3e>;
@@ -66,6 +67,7 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "rut5xx:green:status";
gpios = <&gpio0 14 1>;
@@ -77,6 +79,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/SAP-G3200U3.dts b/target/linux/ramips/dts/SAP-G3200U3.dts
index 06c2f23952..d273559616 100644
--- a/target/linux/ramips/dts/SAP-G3200U3.dts
+++ b/target/linux/ramips/dts/SAP-G3200U3.dts
@@ -99,11 +99,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 16 1>;
linux,code = <0x198>;
};
+
rfkill {
label = "rfkill";
gpios = <&gpio0 14 1>;
diff --git a/target/linux/ramips/dts/SL-R7205.dts b/target/linux/ramips/dts/SL-R7205.dts
index 574de55b49..a6d9cc8871 100644
--- a/target/linux/ramips/dts/SL-R7205.dts
+++ b/target/linux/ramips/dts/SL-R7205.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,6 +61,7 @@
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "sl-r7205:green:wifi";
gpios = <&gpio0 7 1>;
@@ -73,11 +73,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/TEW-691GR.dts b/target/linux/ramips/dts/TEW-691GR.dts
index 33f8925bd0..b56ff9fb7e 100644
--- a/target/linux/ramips/dts/TEW-691GR.dts
+++ b/target/linux/ramips/dts/TEW-691GR.dts
@@ -23,10 +23,12 @@
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
+
port@0 {
phy-handle = <&phy0>;
phy-mode = "rgmii";
};
+
mdio-bus {
status = "okay";
@@ -43,7 +45,6 @@
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -77,16 +78,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio1 2 1>;
linux,code = <0x211>;
};
+
rfkill {
label = "rfkill";
gpios = <&gpio0 0 1>;
@@ -96,6 +100,7 @@
gpio-leds {
compatible = "gpio-leds";
+
wps {
label = "trendnet:green:wps";
gpios = <&gpio0 9 1>;
diff --git a/target/linux/ramips/dts/TEW-692GR.dts b/target/linux/ramips/dts/TEW-692GR.dts
index 6e43c7c6ba..d537e29906 100644
--- a/target/linux/ramips/dts/TEW-692GR.dts
+++ b/target/linux/ramips/dts/TEW-692GR.dts
@@ -24,10 +24,12 @@
ethernet@10100000 {
status = "okay";
mtd-mac-address = <&factory 0x28>;
+
port@0 {
phy-handle = <&phy0>;
phy-mode = "rgmii";
};
+
mdio-bus {
status = "okay";
@@ -39,9 +41,9 @@
pci@10140000 {
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
+
pci_pins: pci {
pci {
ralink,group = "pci";
@@ -63,7 +65,6 @@
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -97,11 +98,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio1 2 1>;
@@ -111,10 +114,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wps {
label = "trendnet:orange:wps";
gpios = <&gpio0 9 1>;
};
+
wps2 {
label = "trendnet:green:wps";
gpios = <&gpio1 4 1>;
diff --git a/target/linux/ramips/dts/UR-326N4G.dts b/target/linux/ramips/dts/UR-326N4G.dts
index 021efe584a..6350bd7a00 100644
--- a/target/linux/ramips/dts/UR-326N4G.dts
+++ b/target/linux/ramips/dts/UR-326N4G.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,22 +61,27 @@
gpio-leds {
compatible = "gpio-leds";
+
3g {
label = "ur326:green:3g";
gpios = <&gpio0 9 1>;
};
+
gateway {
label = "ur326:green:gateway";
gpios = <&gpio0 11 1>;
};
+
ap {
label = "ur326:green:ap";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "ur326:green:wps";
gpios = <&gpio0 14 1>;
};
+
station {
label = "ur326:green:station";
gpios = <&gpio0 13 1>;
@@ -89,11 +93,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts
index 81d0be033f..896b6e6542 100644
--- a/target/linux/ramips/dts/UR-336UN.dts
+++ b/target/linux/ramips/dts/UR-336UN.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -41,22 +40,27 @@
*/
gpio-leds {
compatible = "gpio-leds";
+
3g {
label = "ur336:green:3g";
gpios = <&gpio0 9 1>;
};
+
gateway {
label = "ur336:green:gateway";
gpios = <&gpio0 11 1>;
};
+
ap {
label = "ur336:green:ap";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "ur336:green:wps";
gpios = <&gpio0 14 1>;
};
+
station {
label = "ur336:green:station";
gpios = <&gpio0 13 1>;
@@ -68,11 +72,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/V11STFE.dts b/target/linux/ramips/dts/V11STFE.dts
index a0a7384032..5a43e6dcf0 100644
--- a/target/linux/ramips/dts/V11STFE.dts
+++ b/target/linux/ramips/dts/V11STFE.dts
@@ -33,7 +33,6 @@
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
-
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
@@ -67,6 +66,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
wps {
label = "wps";
gpios = <&gpio0 0 0>;
diff --git a/target/linux/ramips/dts/V22RW-2X2.dts b/target/linux/ramips/dts/V22RW-2X2.dts
index 7eff596676..e8fc4fe4c7 100644
--- a/target/linux/ramips/dts/V22RW-2X2.dts
+++ b/target/linux/ramips/dts/V22RW-2X2.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -58,10 +57,12 @@
gpio-leds {
compatible = "gpio-leds";
+
security {
label = "v22rw-2x2:green:security";
gpios = <&gpio0 13 1>;
};
+
wps {
label = "v22rw-2x2:red:wps";
gpios = <&gpio0 14 1>;
@@ -73,11 +74,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/VOCORE.dts b/target/linux/ramips/dts/VOCORE.dts
index e6288b03b8..5e386e46bb 100644
--- a/target/linux/ramips/dts/VOCORE.dts
+++ b/target/linux/ramips/dts/VOCORE.dts
@@ -104,30 +104,35 @@
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 7 0>;
};
+
gpio8 {
/* UARTF_TXD */
gpio-export,name = "gpio8";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 8 0>;
};
+
gpio9 {
/* UARTF_CTS_N */
gpio-export,name = "gpio9";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 9 0>;
};
+
gpio12 {
/* UARTF_DCD_N */
gpio-export,name = "gpio12";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 12 0>;
};
+
gpio13 {
/* UARTF_DSR_N */
gpio-export,name = "gpio13";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 13 0>;
};
+
gpio14 {
/* UARTF_RIN */
gpio-export,name = "gpio14";
@@ -142,24 +147,28 @@
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 17 0>;
};
+
gpio18 {
/* JTAG_TDI */
gpio-export,name = "gpio18";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 18 0>;
};
+
gpio19 {
/* JTAG_TMS */
gpio-export,name = "gpio19";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 19 0>;
};
+
gpio20 {
/* JTAG_TCLK */
gpio-export,name = "gpio20";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 20 0>;
};
+
gpio21 {
/* JTAG_TRST_N */
gpio-export,name = "gpio21";
@@ -174,24 +183,28 @@
gpio-export,direction_may_change = <1>;
gpios = <&gpio1 0 0>;
};
+
gpio23 {
/* ETH1_LED */
gpio-export,name = "gpio23";
gpio-export,direction_may_change = <1>;
gpios = <&gpio1 1 0>;
};
+
gpio24 {
/* ETH2_LED */
gpio-export,name = "gpio24";
gpio-export,direction_may_change = <1>;
gpios = <&gpio1 2 0>;
};
+
gpio25 {
/* ETH3_LED */
gpio-export,name = "gpio25";
gpio-export,direction_may_change = <1>;
gpios = <&gpio1 3 0>;
};
+
gpio26 {
/* ETH4_LED */
gpio-export,name = "gpio26";
@@ -202,11 +215,13 @@
gpio-leds {
compatible = "gpio-leds";
+
status {
/* UARTF_RXD */
label = "vocore:green:status";
gpios = <&gpio0 10 0>;
};
+
eth {
/* UARTF_DTR_N */
label = "vocore:orange:eth";
diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts
index 915fb21d8a..5f4d0e373f 100644
--- a/target/linux/ramips/dts/W150M.dts
+++ b/target/linux/ramips/dts/W150M.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,26 +49,32 @@
gpio-leds {
compatible = "gpio-leds";
+
3grouter {
label = "tenda:blue:3grouter";
gpios = <&gpio0 11 1>;
};
+
ap {
label = "tenda:blue:ap";
gpios = <&gpio0 12 1>;
};
+
wisprouter {
label = "tenda:blue:wisprouter";
gpios = <&gpio0 9 1>;
};
+
wirelessrouter {
label = "tenda:blue:wirelessrouter";
gpios = <&gpio0 13 1>;
};
+
3g {
label = "tenda:blue:3g";
gpios = <&gpio0 7 1>;
};
+
wpsreset {
label = "tenda:blue:wpsreset";
gpios = <&gpio0 14 1>;
@@ -81,11 +86,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/W306R_V20.dts b/target/linux/ramips/dts/W306R_V20.dts
index fe505b4fc0..72b6ed830e 100644
--- a/target/linux/ramips/dts/W306R_V20.dts
+++ b/target/linux/ramips/dts/W306R_V20.dts
@@ -9,7 +9,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,10 +61,12 @@
gpio-leds {
compatible = "gpio-leds";
+
sys {
label = "w306r-v20:green:sys";
gpios = <&gpio0 9 1>;
};
+
wps {
label = "w306r-v20:green:wps";
gpios = <&gpio0 13 1>;
@@ -77,6 +78,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "RESET/WPS";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts
index 6d3282ea64..8afe74196f 100644
--- a/target/linux/ramips/dts/W502U.dts
+++ b/target/linux/ramips/dts/W502U.dts
@@ -22,7 +22,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -66,10 +65,12 @@
gpio-leds {
compatible = "gpio-leds";
+
usb {
label = "alfa:blue:usb";
gpios = <&gpio0 13 1>;
};
+
wps {
label = "alfa:blue:wps";
gpios = <&gpio0 14 1>;
@@ -81,11 +82,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/WCR150GN.dts b/target/linux/ramips/dts/WCR150GN.dts
index 2a4fa11565..66bf90149f 100644
--- a/target/linux/ramips/dts/WCR150GN.dts
+++ b/target/linux/ramips/dts/WCR150GN.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -50,10 +49,12 @@
gpio-leds {
compatible = "gpio-leds";
+
user {
label = "wcr150gn:amber:user";
gpios = <&gpio0 12 1>;
};
+
power {
label = "wcr150gn:amber:power";
gpios = <&gpio0 8 1>;
@@ -65,11 +66,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 10 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/WHR-1166D.dts b/target/linux/ramips/dts/WHR-1166D.dts
index 9c48d0c092..756d1805d9 100644
--- a/target/linux/ramips/dts/WHR-1166D.dts
+++ b/target/linux/ramips/dts/WHR-1166D.dts
@@ -97,33 +97,40 @@
};
};
};
-
+
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "buffalo:red:power";
gpios = <&gpio0 7 1>;
};
+
wifi {
label = "buffalo:green:wifi";
gpios = <&gpio0 8 1>;
};
+
power2 {
label = "buffalo:green:power";
gpios = <&gpio0 9 1>;
};
+
wifi2 {
label = "buffalo:orange:wifi";
gpios = <&gpio0 10 1>;
};
+
internet {
label = "buffalo:green:internet";
gpios = <&gpio2 17 1>;
};
+
router {
label = "buffalo:orange:router";
gpios = <&gpio2 18 1>;
};
+
router2 {
label = "buffalo:green:router";
gpios = <&gpio2 19 1>;
@@ -135,22 +142,26 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio2 12 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
linux,code = <0x211>;
};
+
ap {
label = "ap";
gpios = <&gpio2 14 1>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
+
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
diff --git a/target/linux/ramips/dts/WHR-300HP2.dts b/target/linux/ramips/dts/WHR-300HP2.dts
index b3b3a8794e..83bc407452 100644
--- a/target/linux/ramips/dts/WHR-300HP2.dts
+++ b/target/linux/ramips/dts/WHR-300HP2.dts
@@ -54,6 +54,7 @@
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
ralink,function = "gpio";
};
+
pa {
ralink,group = "pa";
ralink,function = "pa";
@@ -64,7 +65,6 @@
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
-
ralink,port-map = "llllw";
};
@@ -78,30 +78,37 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "buffalo:red:power";
gpios = <&gpio0 7 1>;
};
+
wifi {
label = "buffalo:green:wifi";
gpios = <&gpio0 8 1>;
};
+
power2 {
label = "buffalo:green:power";
gpios = <&gpio0 9 1>;
};
+
wifi2 {
label = "buffalo:orange:wifi";
gpios = <&gpio0 10 1>;
};
+
internet {
label = "buffalo:green:internet";
gpios = <&gpio2 17 1>;
};
+
router {
label = "buffalo:green:router";
gpios = <&gpio2 18 1>;
};
+
router2 {
label = "buffalo:orange:router";
gpios = <&gpio2 19 1>;
@@ -113,22 +120,26 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio2 12 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
linux,code = <0x211>;
};
+
ap {
label = "ap";
gpios = <&gpio2 14 1>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
+
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
diff --git a/target/linux/ramips/dts/WHR-600D.dts b/target/linux/ramips/dts/WHR-600D.dts
index 5775093f5d..5e06060422 100644
--- a/target/linux/ramips/dts/WHR-600D.dts
+++ b/target/linux/ramips/dts/WHR-600D.dts
@@ -60,7 +60,6 @@
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
-
mtd-mac-address = <&factory 0x4>;
ralink,port-map = "llllw";
};
@@ -76,33 +75,40 @@
pcie@10140000 {
status = "okay";
};
-
+
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "buffalo:red:power";
gpios = <&gpio0 7 1>;
};
+
wifi {
label = "buffalo:green:wifi";
gpios = <&gpio0 8 1>;
};
+
power2 {
label = "buffalo:green:power";
gpios = <&gpio0 9 1>;
};
+
wifi2 {
label = "buffalo:orange:wifi";
gpios = <&gpio0 10 1>;
};
+
internet {
label = "buffalo:green:internet";
gpios = <&gpio2 17 1>;
};
+
router {
label = "buffalo:green:router";
gpios = <&gpio2 18 1>;
};
+
router2 {
label = "buffalo:orange:router";
gpios = <&gpio2 19 1>;
@@ -114,22 +120,26 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio2 12 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
linux,code = <0x211>;
};
+
ap {
label = "ap";
gpios = <&gpio2 14 1>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
+
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
diff --git a/target/linux/ramips/dts/WHR-G300N.dts b/target/linux/ramips/dts/WHR-G300N.dts
index 30541313ad..1aa9f696fc 100644
--- a/target/linux/ramips/dts/WHR-G300N.dts
+++ b/target/linux/ramips/dts/WHR-G300N.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -36,14 +35,17 @@
*/
gpio-leds {
compatible = "gpio-leds";
+
diag {
label = "whr-g300n:red:diag";
gpios = <&gpio0 7 1>;
};
+
router {
label = "whr-g300n:green:router";
gpios = <&gpio0 9 1>;
};
+
security {
label = "whr-g300n:amber:security";
gpios = <&gpio0 14 1>;
@@ -55,21 +57,25 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
router-off {
label = "router-off";
gpios = <&gpio0 11 1>;
linux,code = <0x102>;
};
+
router-on {
label = "router-on";
gpios = <&gpio0 8 1>;
diff --git a/target/linux/ramips/dts/WIZARD8800.dts b/target/linux/ramips/dts/WIZARD8800.dts
index a80b9375ca..d89c0d505e 100644
--- a/target/linux/ramips/dts/WIZARD8800.dts
+++ b/target/linux/ramips/dts/WIZARD8800.dts
@@ -17,6 +17,7 @@
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
diff --git a/target/linux/ramips/dts/WL-351.dts b/target/linux/ramips/dts/WL-351.dts
index 81c963b119..3fcb222b75 100644
--- a/target/linux/ramips/dts/WL-351.dts
+++ b/target/linux/ramips/dts/WL-351.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -74,14 +73,17 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "wl-351:amber:power";
gpios = <&gpio0 8 1>;
};
+
unpopulated {
label = "wl-351:amber:unpopulated";
gpios = <&gpio0 12 1>;
};
+
unpopulated2 {
label = "wl-351:blue:unpopulated";
gpios = <&gpio0 13 1>;
@@ -93,11 +95,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/WL341V3.dts b/target/linux/ramips/dts/WL341V3.dts
index 64d032700c..40ce630460 100644
--- a/target/linux/ramips/dts/WL341V3.dts
+++ b/target/linux/ramips/dts/WL341V3.dts
@@ -9,7 +9,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,30 +61,37 @@
gpio-leds {
compatible = "gpio-leds";
+
first {
label = "wl341v3:amber:first";
gpios = <&gpio0 9 1>;
};
+
first2 {
label = "wl341v3:blue:first";
gpios = <&gpio0 13 1>;
};
+
third {
label = "wl341v3:amber:third";
gpios = <&gpio0 11 1>;
};
+
third2 {
label = "wl341v3:blue:third";
gpios = <&gpio0 14 1>;
};
+
fourth {
label = "wl341v3:blue:fourth";
gpios = <&gpio0 10 1>;
};
+
fifth {
label = "wl341v3:amber:fifth";
gpios = <&gpio0 12 1>;
};
+
fifth2 {
label = "wl341v3:blue:fifth";
gpios = <&gpio0 8 1>;
@@ -97,11 +103,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 7 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 5 1>;
diff --git a/target/linux/ramips/dts/WLI-TX4-AG300N.dts b/target/linux/ramips/dts/WLI-TX4-AG300N.dts
index 4d773da498..e7e8e4a395 100644
--- a/target/linux/ramips/dts/WLI-TX4-AG300N.dts
+++ b/target/linux/ramips/dts/WLI-TX4-AG300N.dts
@@ -17,7 +17,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -28,16 +27,19 @@
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
+
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
+
partition@50000 {
label = "linux";
reg = <0x50000 0x3b0000>;
@@ -48,7 +50,7 @@
status = "okay";
mtd-mac-address = <&factory 0x4>;
- port@0 {
+ port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
};
@@ -62,16 +64,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
bandwidth {
label = "bandwidth";
gpios = <&gpio0 8 0>;
linux,code = <0x198>;
};
+
reset {
label = "reset";
gpios = <&gpio0 9 1>;
@@ -86,10 +91,12 @@
label = "buffalo:red:diag";
gpios = <&gpio0 10 1>;
};
+
power {
label = "buffalo:blue:power";
gpios = <&gpio0 12 1>;
};
+
security {
label = "buffalo:blue:security";
gpios = <&gpio0 13 1>;
diff --git a/target/linux/ramips/dts/WL_330N.dts b/target/linux/ramips/dts/WL_330N.dts
index e25535f1e8..14c78db093 100644
--- a/target/linux/ramips/dts/WL_330N.dts
+++ b/target/linux/ramips/dts/WL_330N.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -66,10 +67,12 @@
gpio-leds {
compatible = "gpio-leds";
+
link {
label = "asus:blue:link";
gpios = <&gpio0 9 1>;
};
+
power {
label = "asus:blue:power";
gpios = <&gpio0 11 1>;
@@ -81,11 +84,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/WL_330N3G.dts b/target/linux/ramips/dts/WL_330N3G.dts
index e1196c697d..aa4c547e09 100644
--- a/target/linux/ramips/dts/WL_330N3G.dts
+++ b/target/linux/ramips/dts/WL_330N3G.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -66,14 +67,17 @@
gpio-leds {
compatible = "gpio-leds";
+
3g {
label = "asus:blue:3g";
gpios = <&gpio0 9 1>;
};
+
3g2 {
label = "asus:red:3g";
gpios = <&gpio0 13 1>;
};
+
power {
label = "asus:blue:power";
gpios = <&gpio0 11 1>;
@@ -85,11 +89,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
diff --git a/target/linux/ramips/dts/WMR300.dts b/target/linux/ramips/dts/WMR300.dts
index b6bce43575..fbeec4c769 100644
--- a/target/linux/ramips/dts/WMR300.dts
+++ b/target/linux/ramips/dts/WMR300.dts
@@ -68,14 +68,17 @@
gpio-leds {
compatible = "gpio-leds";
+
aoss1 {
label = "buffalo:red:aoss";
gpios = <&gpio2 1 1>;
};
+
aoss2 {
label = "buffalo:green:aoss";
gpios = <&gpio2 2 1>;
};
+
power {
label = "buffalo:green:status";
gpios = <&gpio2 4 1>;
@@ -87,11 +90,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio0 2 1>;
diff --git a/target/linux/ramips/dts/WNCE2001.dts b/target/linux/ramips/dts/WNCE2001.dts
index d8a3b0badf..bd0d596d6a 100644
--- a/target/linux/ramips/dts/WNCE2001.dts
+++ b/target/linux/ramips/dts/WNCE2001.dts
@@ -13,6 +13,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -83,18 +84,22 @@
gpio-leds {
compatible = "gpio-leds";
+
power-green {
label = "netgear:green:power";
gpios = <&gpio0 8 1>;
};
+
power-red {
label = "netgear:red:power";
gpios = <&gpio0 9 1>;
};
+
wlan-green {
label = "netgear:green:wlan";
gpios = <&gpio0 12 0>;
};
+
wlan-red {
label = "netgear:red:wlan";
gpios = <&gpio0 13 0>;
@@ -106,21 +111,25 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
rt {
label = "rt";
gpios = <&gpio0 11 1>;
linux,code = <0x100>;
};
+
ap {
label = "ap";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/WR512-3GN-4M.dts b/target/linux/ramips/dts/WR512-3GN-4M.dts
index 0098970247..f5c1319f30 100644
--- a/target/linux/ramips/dts/WR512-3GN-4M.dts
+++ b/target/linux/ramips/dts/WR512-3GN-4M.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -58,22 +57,27 @@
gpio-leds {
compatible = "gpio-leds";
+
3g {
label = "wr512:green:3g";
gpios = <&gpio0 9 1>;
};
+
gateway {
label = "wr512:green:gateway";
gpios = <&gpio0 11 1>;
};
+
ap {
label = "wr512:green:ap";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "wr512:green:wps";
gpios = <&gpio0 14 1>;
};
+
station {
label = "wr512:green:station";
gpios = <&gpio0 13 1>;
@@ -85,11 +89,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/WR512-3GN-8M.dts b/target/linux/ramips/dts/WR512-3GN-8M.dts
index 20a325cd71..d0cc0efb63 100644
--- a/target/linux/ramips/dts/WR512-3GN-8M.dts
+++ b/target/linux/ramips/dts/WR512-3GN-8M.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -58,22 +57,27 @@
gpio-leds {
compatible = "gpio-leds";
+
3g {
label = "wr512:green:3g";
gpios = <&gpio0 9 1>;
};
+
gateway {
label = "wr512:green:gateway";
gpios = <&gpio0 11 1>;
};
+
ap {
label = "wr512:green:ap";
gpios = <&gpio0 12 1>;
};
+
wps {
label = "wr512:green:wps";
gpios = <&gpio0 14 1>;
};
+
station {
label = "wr512:green:station";
gpios = <&gpio0 13 1>;
@@ -85,11 +89,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 7 1>;
diff --git a/target/linux/ramips/dts/WR6202.dts b/target/linux/ramips/dts/WR6202.dts
index 430205e51b..614f696d86 100644
--- a/target/linux/ramips/dts/WR6202.dts
+++ b/target/linux/ramips/dts/WR6202.dts
@@ -21,10 +21,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wps {
label = "wr6202:blue:wps";
gpios = <&gpio0 14 1>;
};
+
3g {
label = "wr6202:blue:3g";
gpios = <&gpio0 13 1>;
@@ -36,11 +38,13 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
@@ -51,7 +55,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
diff --git a/target/linux/ramips/dts/WR8305RT.dts b/target/linux/ramips/dts/WR8305RT.dts
index c28e422eea..1f3c345bed 100644
--- a/target/linux/ramips/dts/WR8305RT.dts
+++ b/target/linux/ramips/dts/WR8305RT.dts
@@ -10,6 +10,7 @@
gpio1: gpio@638 {
status = "okay";
};
+
gpio3: gpio@688 {
status = "okay";
};
@@ -74,6 +75,7 @@
ralink,group = "ephy";
ralink,function = "ephy";
};
+
default {
ralink,group = "i2c", "uartf", "spi refclk", "wled";
ralink,function = "gpio";
@@ -83,14 +85,17 @@
gpio-leds {
compatible = "gpio-leds";
+
sys {
label = "wr8305rt:sys";
gpios = <&gpio1 14 1>;
};
+
lan {
label = "wr8305rt:usb";
gpios = <&gpio1 15 1>;
};
+
wifi {
label = "wr8305rt:wifi";
gpios = <&gpio3 0 1>;
@@ -102,6 +107,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
@@ -109,4 +115,3 @@
};
};
};
-
diff --git a/target/linux/ramips/dts/WRTNODE.dts b/target/linux/ramips/dts/WRTNODE.dts
index 2a4dd198bc..23dbf5c4a1 100644
--- a/target/linux/ramips/dts/WRTNODE.dts
+++ b/target/linux/ramips/dts/WRTNODE.dts
@@ -84,6 +84,7 @@
gpio-leds {
compatible = "gpio-leds";
+
indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 14 1>;
diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/WSR-1166.dts
index fc5896fb78..dd075dbf17 100644
--- a/target/linux/ramips/dts/WSR-1166.dts
+++ b/target/linux/ramips/dts/WSR-1166.dts
@@ -69,34 +69,42 @@
gpio-leds {
compatible = "gpio-leds";
+
internet_g {
label = "buffalo:green:internet";
gpios = <&gpio1 9 1>;
};
+
router_g {
label = "buffalo:green:router";
gpios = <&gpio1 10 1>;
};
+
router_o {
label = "buffalo:orange:router";
gpios = <&gpio1 11 1>;
};
+
internet_o {
label = "buffalo:orange:internet";
gpios = <&gpio1 12 1>;
};
+
wifi_o {
label = "buffalo:orange:wifi";
gpios = <&gpio1 13 1>;
};
+
power {
label = "buffalo:green:power";
gpios = <&gpio1 14 1>;
};
+
diag {
label = "buffalo:orange:diag";
gpios = <&gpio1 15 1>;
};
+
wifi_g {
label = "buffalo:green:wifi";
gpios = <&gpio1 16 1>;
@@ -108,33 +116,39 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
power {
label = "power";
gpios = <&gpio0 18 1>;
linux,code = <0x74>;
};
+
reset {
label = "reset";
gpios = <&gpio0 3 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio0 6 1>;
linux,code = <0x211>;
};
+
auto {
label = "mode";
gpios = <&gpio0 7 0>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
+
ap {
label = "ap";
gpios = <&gpio0 10 0>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
+
router {
label = "router";
gpios = <&gpio0 12 0>;
diff --git a/target/linux/ramips/dts/WSR-600.dts b/target/linux/ramips/dts/WSR-600.dts
index 77e99356bc..7b4fd74e80 100644
--- a/target/linux/ramips/dts/WSR-600.dts
+++ b/target/linux/ramips/dts/WSR-600.dts
@@ -64,34 +64,42 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "buffalo:green:power";
gpios = <&gpio0 12 1>;
};
+
wifi_o {
label = "buffalo:orange:wifi";
gpios = <&gpio1 9 1>;
};
+
diag {
label = "buffalo:orange:diag";
gpios = <&gpio1 10 1>;
};
+
wifi_g {
label = "buffalo:green:wifi";
gpios = <&gpio1 12 1>;
};
+
router_o {
label = "buffalo:orange:router";
gpios = <&gpio1 13 1>;
};
+
router_g {
label = "buffalo:green:router";
gpios = <&gpio1 14 1>;
};
+
internet_o {
label = "buffalo:orange:internet";
gpios = <&gpio1 15 1>;
};
+
internet_g {
label = "buffalo:green:internet";
gpios = <&gpio1 16 1>;
@@ -103,33 +111,39 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
power {
label = "power";
gpios = <&gpio0 8 1>;
linux,code = <0x74>;
};
+
reset {
label = "reset";
gpios = <&gpio0 11 1>;
linux,code = <0x198>;
};
+
aoss {
label = "aoss";
gpios = <&gpio0 18 1>;
linux,code = <0x211>;
};
+
auto {
label = "mode";
gpios = <&gpio0 7 0>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
+
ap {
label = "ap";
gpios = <&gpio0 6 0>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
+
router {
label = "router";
gpios = <&gpio0 10 0>;
@@ -137,6 +151,7 @@
linux,input-type = <5>; /* EV_SW */
};
};
+
gpio_poweroff {
compatible = "gpio-poweroff";
gpios = <&gpio1 11 1>;
diff --git a/target/linux/ramips/dts/WT1520-4M.dts b/target/linux/ramips/dts/WT1520-4M.dts
index 97f03b5e75..12913205c9 100644
--- a/target/linux/ramips/dts/WT1520-4M.dts
+++ b/target/linux/ramips/dts/WT1520-4M.dts
@@ -6,6 +6,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
diff --git a/target/linux/ramips/dts/WT1520-8M.dts b/target/linux/ramips/dts/WT1520-8M.dts
index 32f0360c08..999c84d1a8 100644
--- a/target/linux/ramips/dts/WT1520-8M.dts
+++ b/target/linux/ramips/dts/WT1520-8M.dts
@@ -6,6 +6,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
diff --git a/target/linux/ramips/dts/WT3020-4M.dts b/target/linux/ramips/dts/WT3020-4M.dts
index 7583680099..4295939cf5 100644
--- a/target/linux/ramips/dts/WT3020-4M.dts
+++ b/target/linux/ramips/dts/WT3020-4M.dts
@@ -7,13 +7,13 @@
model = "Nexx WT3020";
palmbus@10000000 {
- gpio2: gpio@660 {
- status = "okay";
- };
+ gpio2: gpio@660 {
+ status = "okay";
+ };
- gpio3: gpio@688 {
- status = "okay";
- };
+ gpio3: gpio@688 {
+ status = "okay";
+ };
spi@b00 {
status = "okay";
@@ -83,6 +83,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
@@ -90,11 +91,12 @@
};
};
- gpio-leds {
- compatible = "gpio-leds";
- power {
- label = "nexx:blue:power";
- gpios = <&gpio3 0 0>;
- };
- };
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ power {
+ label = "nexx:blue:power";
+ gpios = <&gpio3 0 0>;
+ };
+ };
};
diff --git a/target/linux/ramips/dts/WT3020-8M.dts b/target/linux/ramips/dts/WT3020-8M.dts
index 5fa7c92730..122499d608 100644
--- a/target/linux/ramips/dts/WT3020-8M.dts
+++ b/target/linux/ramips/dts/WT3020-8M.dts
@@ -7,13 +7,13 @@
model = "Nexx WT3020";
palmbus@10000000 {
- gpio2: gpio@660 {
- status = "okay";
- };
+ gpio2: gpio@660 {
+ status = "okay";
+ };
- gpio3: gpio@688 {
- status = "okay";
- };
+ gpio3: gpio@688 {
+ status = "okay";
+ };
spi@b00 {
status = "okay";
@@ -83,6 +83,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
@@ -90,11 +91,12 @@
};
};
- gpio-leds {
- compatible = "gpio-leds";
- power {
- label = "nexx:blue:power";
- gpios = <&gpio3 0 0>;
- };
- };
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ power {
+ label = "nexx:blue:power";
+ gpios = <&gpio3 0 0>;
+ };
+ };
};
diff --git a/target/linux/ramips/dts/WZR-AGL300NH.dts b/target/linux/ramips/dts/WZR-AGL300NH.dts
index 8e18e90be2..5d6c25d2cf 100644
--- a/target/linux/ramips/dts/WZR-AGL300NH.dts
+++ b/target/linux/ramips/dts/WZR-AGL300NH.dts
@@ -26,7 +26,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -37,16 +36,19 @@
reg = <0x0 0x30000>;
read-only;
};
+
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
+
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
+
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
@@ -57,12 +59,13 @@
status = "okay";
mtd-mac-address = <&factory 0x4>;
- port@0 {
+ port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
mdio-bus {
status = "okay";
+
phy0: ethernet-phy@0 {
phy-mode = "mii";
reg = <0>;
@@ -85,16 +88,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
router {
label = "router_switch";
gpios = <&gpio0 7 0>;
linux,code = <0x100>;
};
+
reset {
label = "reset";
gpios = <&gpio0 9 1>;
@@ -109,14 +115,17 @@
label = "buffalo:green:router";
gpios = <&gpio0 8 1>;
};
+
diag {
label = "buffalo:red:diag";
gpios = <&gpio0 12 1>;
};
+
security_g {
label = "buffalo:orange:security_g";
gpios = <&gpio0 11 1>;
};
+
security_n {
label = "buffalo:orange:security_n";
gpios = <&gpio0 13 1>;
@@ -129,7 +138,6 @@
reg = <0x00440000 0x20000>;
#address-cells = <1>;
#size-cells = <1>;
-
status = "ok";
};
};
diff --git a/target/linux/ramips/dts/X5.dts b/target/linux/ramips/dts/X5.dts
index a19bf4dc8e..dfaef3b410 100644
--- a/target/linux/ramips/dts/X5.dts
+++ b/target/linux/ramips/dts/X5.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -63,18 +64,22 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "x5:green:power";
gpios = <&gpio0 13 1>;
};
+
20 {
label = "x5:green:20";
gpios = <&gpio0 12 1>;
};
+
50 {
label = "x5:green:50";
gpios = <&gpio0 11 1>;
};
+
80 {
label = "x5:green:80";
gpios = <&gpio0 7 1>;
@@ -86,16 +91,19 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
bat {
label = "bat";
gpios = <&gpio0 9 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 14 1>;
@@ -107,6 +115,7 @@
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
+
usb-mode {
gpio-export,name = "usb-mode";
gpio-export,output = <0>;
diff --git a/target/linux/ramips/dts/X8.dts b/target/linux/ramips/dts/X8.dts
index cadbc3afdd..9c1c04692e 100644
--- a/target/linux/ramips/dts/X8.dts
+++ b/target/linux/ramips/dts/X8.dts
@@ -9,6 +9,7 @@
palmbus@10000000 {
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -63,6 +64,7 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "x8:green:power";
gpios = <&gpio0 13 1>;
@@ -74,6 +76,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/XDXRN502J.dts b/target/linux/ramips/dts/XDXRN502J.dts
index d7ca6cdf18..25d3613e16 100644
--- a/target/linux/ramips/dts/XDXRN502J.dts
+++ b/target/linux/ramips/dts/XDXRN502J.dts
@@ -18,7 +18,6 @@
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@ -62,10 +61,12 @@
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "xdxrn502j:green:wifi";
gpios = <&gpio0 7 1>;
};
+
power {
label = "xdxrn502j:green:power";
gpios = <&gpio0 9 1>;
@@ -77,6 +78,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
diff --git a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
index 2cc55482fd..c1acab4299 100644
--- a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
+++ b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
@@ -140,6 +140,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio1 6 0>;
diff --git a/target/linux/ramips/dts/Y1.dts b/target/linux/ramips/dts/Y1.dts
index 0b7b08208a..783cdaa6df 100644
--- a/target/linux/ramips/dts/Y1.dts
+++ b/target/linux/ramips/dts/Y1.dts
@@ -12,29 +12,35 @@
mtd-mac-address = <&factory 0x4>;
ralink,port-map = "llllw";
};
-
+
gpio-leds {
compatible = "gpio-leds";
+
power1 {
label = "lenovo:blue:power";
gpios = <&gpio0 9 1>;
};
+
wlan1 {
label = "lenovo:blue:wifi";
gpios = <&gpio3 0 1>;
};
+
wlan2 {
label = "lenovo:blue:wifi5g";
gpios = <&gpio2 10 1>;
};
+
usb {
label = "lenovo:blue:usb";
gpios = <&gpio2 12 1>;
};
+
lan {
label = "lenovo:blue:lan";
gpios = <&gpio2 15 1>;
};
+
internet {
label = "lenovo:blue:internet";
gpios = <&gpio2 11 1>;
diff --git a/target/linux/ramips/dts/Y1.dtsi b/target/linux/ramips/dts/Y1.dtsi
index 0f31af25b2..62e37fcb91 100644
--- a/target/linux/ramips/dts/Y1.dtsi
+++ b/target/linux/ramips/dts/Y1.dtsi
@@ -86,6 +86,7 @@
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";
};
+
pa {
ralink,group = "pa";
ralink,function = "pa";
@@ -98,6 +99,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 11 1>;
diff --git a/target/linux/ramips/dts/Y1S.dts b/target/linux/ramips/dts/Y1S.dts
index 9ecac37225..b8c6ad085e 100644
--- a/target/linux/ramips/dts/Y1S.dts
+++ b/target/linux/ramips/dts/Y1S.dts
@@ -11,7 +11,6 @@
mtd-mac-address = <&factory 0x4>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
ralink,port-map = "wllll";
port@4 {
@@ -47,30 +46,37 @@
gpio-leds {
compatible = "gpio-leds";
+
power1 {
label = "lenovo:yellow:power";
gpios = <&gpio0 14 1>;
};
+
power2 {
label = "lenovo:blue:power";
gpios = <&gpio0 9 1>;
};
+
wlan1 {
label = "lenovo:yellow:wifi";
gpios = <&gpio3 0 1>;
};
+
wlan2 {
label = "lenovo:blue:wifi";
gpios = <&gpio2 10 1>;
};
+
usb1 {
label = "lenovo:yellow:usb";
gpios = <&gpio2 13 1>;
};
+
usb2 {
label = "lenovo:blue:usb";
gpios = <&gpio2 12 1>;
};
+
internet {
label = "lenovo:blue:internet";
gpios = <&gpio2 11 1>;
diff --git a/target/linux/ramips/dts/ZBT-WA05.dts b/target/linux/ramips/dts/ZBT-WA05.dts
index 13c78c755f..69060a3130 100644
--- a/target/linux/ramips/dts/ZBT-WA05.dts
+++ b/target/linux/ramips/dts/ZBT-WA05.dts
@@ -88,14 +88,17 @@
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "zbtlink:blue:power";
gpios = <&gpio1 14 1>;
};
+
usb {
label = "zbtlink:blue:usb";
gpios = <&gpio1 15 0>;
};
+
air {
label = "zbtlink:blue:air";
gpios = <&gpio3 0 1>;
@@ -107,6 +110,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 1 1>;
diff --git a/target/linux/ramips/dts/ZTE-Q7.dts b/target/linux/ramips/dts/ZTE-Q7.dts
index 9efc35e24e..62af06a500 100644
--- a/target/linux/ramips/dts/ZTE-Q7.dts
+++ b/target/linux/ramips/dts/ZTE-Q7.dts
@@ -7,7 +7,6 @@
model = "ZTE Q7";
palmbus@10000000 {
-
gpio0: gpio@600 {
status = "okay";
};
@@ -87,10 +86,12 @@
gpio-leds {
compatible = "gpio-leds";
+
statred {
label = "zte:red:status";
gpios = <&gpio0 13 1>;
};
+
statblue {
label = "zte:blue:status";
gpios = <&gpio0 9 1>;
@@ -102,6 +103,7 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio1 2 1>;
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index c21ae0fd52..80e8977f4d 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -23,7 +23,7 @@
palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;
- ranges = <0x0 0x10000000 0x1FFFFF>;
+ ranges = <0x0 0x10000000 0x1FFFFF>;
#address-cells = <1>;
#size-cells = <1>;
@@ -280,68 +280,80 @@
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
+
state_default: pinctrl0 {
};
+
pcm_i2s_pins: pcm_i2s {
pcm_i2s {
ralink,group = "uartf";
ralink,function = "pcm i2s";
};
};
+
uartf_gpio_pins: uartf_gpio {
uartf_gpio {
ralink,group = "uartf";
ralink,function = "gpio uartf";
};
};
+
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
+
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
+
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
+
mdio_pins: mdio {
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
};
};
+
ephy_pins: ephy {
ephy {
ralink,group = "ephy";
ralink,function = "ephy";
};
};
+
wled_pins: wled {
wled {
ralink,group = "wled";
ralink,function = "wled";
};
};
+
rgmii1_pins: rgmii1 {
rgmii1 {
ralink,group = "rgmii1";
ralink,function = "rgmii1";
};
};
+
rgmii2_pins: rgmii2 {
rgmii2 {
ralink,group = "rgmii2";
ralink,function = "rgmii2";
};
};
+
pcie_pins: pcie {
pcie {
ralink,group = "pcie";
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 83ab03ae5d..e886c6fbec 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -23,7 +23,7 @@
palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;
- ranges = <0x0 0x10000000 0x1FFFFF>;
+ ranges = <0x0 0x10000000 0x1FFFFF>;
#address-cells = <1>;
#size-cells = <1>;
@@ -202,14 +202,17 @@
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
+
state_default: pinctrl0 {
};
+
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
+
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 53b215f40f..e111c2bd80 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -23,7 +23,7 @@
palmbus@1E000000 {
compatible = "palmbus";
reg = <0x1E000000 0x100000>;
- ranges = <0x0 0x1E000000 0x0FFFFF>;
+ ranges = <0x0 0x1E000000 0x0FFFFF>;
#address-cells = <1>;
#size-cells = <1>;
@@ -113,72 +113,85 @@
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
+
state_default: pinctrl0 {
};
+
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
+
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
+
uart1_pins: uart1 {
uart1 {
ralink,group = "uart1";
ralink,function = "uart";
};
};
+
uart2_pins: uart2 {
uart2 {
ralink,group = "uart2";
ralink,function = "uart";
};
};
+
uart3_pins: uart3 {
uart3 {
ralink,group = "uart3";
ralink,function = "uart";
};
};
+
rgmii1_pins: rgmii1 {
rgmii1 {
ralink,group = "rgmii1";
ralink,function = "rgmii";
};
};
+
rgmii2_pins: rgmii2 {
rgmii2 {
ralink,group = "rgmii2";
ralink,function = "rgmii";
};
};
+
mdio_pins: mdio {
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
};
};
+
pcie_pins: pcie {
pcie {
ralink,group = "pcie";
ralink,function = "pcie rst";
};
};
+
nand_pins: nand {
spi-nand {
ralink,group = "spi";
ralink,function = "nand";
};
+
sdhci-nand {
ralink,group = "sdhci";
ralink,function = "nand";
};
};
+
sdhci_pins: sdhci {
sdhci {
ralink,group = "sdhci";
@@ -233,14 +246,17 @@
label = "uboot";
reg = <0x00000 0x80000>; /* 64 KB */
};
+
partition@80000 {
label = "uboot_env";
reg = <0x80000 0x80000>; /* 64 KB */
};
+
partition@100000 {
label = "factory";
reg = <0x100000 0x40000>;
};
+
partition@140000 {
label = "rootfs";
reg = <0x140000 0xec0000>;
@@ -275,7 +291,7 @@
compatible = "ralink,mt7620a-gsw";
reg = <0x1e110000 8000>;
interrupt-parent = <&gic>;
- interrupts = <23>;
+ interrupts = <23>;
};
pcie@1e140000 {
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 754e04fcd5..02f9df3b67 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -23,7 +23,7 @@
palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;
- ranges = <0x0 0x10000000 0x1FFFFF>;
+ ranges = <0x0 0x10000000 0x1FFFFF>;
#address-cells = <1>;
#size-cells = <1>;
@@ -181,32 +181,38 @@
compatible = "ralink,rt2880-pinmux";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
+
state_default: pinctrl0 {
};
+
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
+
uart0_pins: uartlite {
uartlite {
ralink,group = "uart0";
ralink,function = "uart0";
};
};
+
uart1_pins: uart1 {
uart1 {
ralink,group = "uart1";
ralink,function = "uart1";
};
};
+
uart2_pins: uart2 {
uart2 {
ralink,group = "uart2";
ralink,function = "uart2";
};
};
+
sdxc_pins: sdxc {
sdxc {
ralink,group = "sdmode";
@@ -318,5 +324,4 @@
device_type = "pci";
};
};
-
};
diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi
index feabe42572..c6dfe9a32b 100644
--- a/target/linux/ramips/dts/rt2880.dtsi
+++ b/target/linux/ramips/dts/rt2880.dtsi
@@ -23,7 +23,7 @@
palmbus@300000 {
compatible = "palmbus";
reg = <0x300000 0x200000>;
- ranges = <0x0 0x300000 0x1FFFFF>;
+ ranges = <0x0 0x300000 0x1FFFFF>;
#address-cells = <1>;
#size-cells = <1>;
@@ -191,5 +191,4 @@
ralink,eeprom = "soc_wmac.eeprom";
};
-
};
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index e15a1cf637..27e4179607 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -175,7 +175,6 @@
pinctrl-names = "default";
pinctrl-0 = <&uartlite_pins>;
};
-
};
pinctrl {
@@ -197,6 +196,7 @@
ralink,function = "spi";
};
};
+
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index 7dffddb869..009277f2b8 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -187,6 +187,7 @@
ralink,function = "spi";
};
};
+
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 0c6cedd74c..dc267824b9 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -201,6 +201,7 @@
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
+
state_default: pinctrl0 {
};
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 456a937ce0..5282e5bc71 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -206,30 +206,35 @@
ralink,function = "spi";
};
};
+
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
+
phy_led_pins: phy_led {
phy_led {
ralink,group = "led";
ralink,function = "led";
};
};
+
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
+
uartf_pins: uartf {
uartf {
ralink,group = "uartf";
ralink,function = "uartf";
};
};
+
spi_cs1: spi1 {
spi1 {
ralink,group = "spi_cs1";