ramips: Use dts alias based status led

Also fix several typos in led node name.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo
2018-07-16 16:27:22 +08:00
committed by John Crispin
parent 1ef65ceeaf
commit c9c4b2116c
208 changed files with 1035 additions and 555 deletions

View File

@@ -9,6 +9,10 @@
compatible = "edimax,3g-6200n", "ralink,rt3050-soc";
model = "Edimax 3g-6200n";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -50,7 +54,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "3g-6200n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "edimax,3g-6200nl", "ralink,rt3050-soc";
model = "Edimax 3g-6200nl";
aliases {
led-status = &led_internet;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -50,7 +54,7 @@
gpio-leds {
compatible = "gpio-leds";
internet {
led_internet: internet {
label = "3g-6200nl:green:internet";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "tenda,3g150b", "ralink,rt5350-soc";
model = "Tenda 3G150B";
aliases {
led-status = &led_ap;
};
gpio-leds {
compatible = "gpio-leds";
ap {
led_ap: ap {
label = "3g150b:blue:ap";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "tenda,3g300m", "ralink,rt3052-soc";
model = "Tenda 3G300M";
aliases {
led-status = &led_ap;
};
gpio-leds {
compatible = "gpio-leds";
@@ -17,7 +21,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
ap {
led_ap: ap {
label = "3g300m:blue:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "unbranded,a5-v11", "ralink,rt5350-soc";
model = "A5-V11";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
@@ -17,7 +21,7 @@
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "a5-v11:red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};

View File

@@ -41,6 +41,10 @@
compatible = "alfa-network,ac1200rm", "ralink,mt7620a-soc";
model = "ALFA Network AC1200RM";
aliases {
led-status = &led_wps;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -66,7 +70,7 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wps {
led_wps: wps {
label = "ac1200rm:green:wps";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "aigale,ai-br100", "ralink,mt7620a-soc";
model = "Aigale Ai-BR100";
aliases {
led-status = &led_wlan;
};
gpio-leds {
compatible = "gpio-leds";
@@ -17,7 +21,7 @@
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wlan {
led_wlan: wlan {
label = "ai-br100:blue:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "allnet,all0239-3g", "ralink,rt3052-soc";
model = "Allnet ALL0239-3G";
aliases {
led-status = &led_status;
};
cfi@1f000000 {
compatible = "cfi-flash";
@@ -55,7 +59,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "all0239-3g:green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "airlink101,ar670w", "ralink,rt2880-soc";
model = "Airlink101 AR670W";
aliases {
led-status = &led_power;
};
cfi@bdc00000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
@@ -37,7 +41,7 @@
gpio-leds {
compatible = "gpio-leds";
status {
led_power: power {
label = "ar670w:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "airlink101,ar725w", "ralink,rt2880-soc";
model = "Airlink101 AR725W";
aliases {
led-status = &led_power;
};
cfi@bdc00000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
@@ -42,7 +46,7 @@
gpio-leds {
compatible = "gpio-leds";
status {
led_power: power {
label = "ar725w:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};

View File

@@ -6,6 +6,10 @@
/ {
compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
aliases {
led-status = &led_power_green;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -48,7 +52,7 @@
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
power-green {
led_power_green: power-green {
label = "asl26555:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "argus,atp-52b", "ralink,rt3052-soc";
model = "Argus ATP-52B";
aliases {
led-status = &led_run;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -42,7 +46,7 @@
gpio-leds {
compatible = "gpio-leds";
run {
led_run: run {
label = "atp-52b:green:run";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,15 @@
compatible = "asiarf,awapn2403", "ralink,rt3052-soc";
model = "AsiaRF AWAPN2403";
aliases {
led-status = &led_wps;
};
gpio-leds {
compatible = "gpio-leds";
link {
led_wps: wps {
label = "awapn2403:green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};

View File

@@ -41,6 +41,10 @@
compatible = "alfa-network,awusfree1", "mediatek,mt7628an-soc";
model = "ALFA Network AWUSFREE1";
aliases {
led-status = &led_system;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -61,7 +65,7 @@
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "awusfree1:orange:system";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "tplink,c2-v1", "ralink,mt7620a-soc";
model = "TP-Link Archer C2 v1";
aliases {
led-status = &led_wps;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -35,7 +39,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wps {
led_wps: wps {
label = "c2-v1:green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "tplink,c20-v1", "ralink,mt7620a-soc";
model = "TP-Link Archer C20 v1";
aliases {
led-status = &led_power;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -21,7 +25,7 @@
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "c20-v1:blue:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "keep";

View File

@@ -9,6 +9,10 @@
compatible = "tplink,c20-v4", "mediatek,mt7628an-soc";
model = "TP-Link Archer C20 v4";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
@@ -17,7 +21,7 @@
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "c20-v4:green:power";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "tplink,c50", "ralink,mt7620a-soc";
model = "TP-Link Archer C50";
aliases {
led-status = &led_power;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -21,7 +25,7 @@
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "c50:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";

View File

@@ -9,6 +9,10 @@
compatible = "tplink,c50-v3", "mediatek,mt7628an-soc";
model = "TP-Link Archer C50 v3";
aliases {
led-status = &led_power;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -36,7 +40,7 @@
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "c50-v3:green:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "tplink,mr200", "ralink,mt7620a-soc";
model = "TP-Link Archer MR200";
aliases {
led-status = &led_power;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -26,7 +30,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "mr200:white:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "edimax,br-6475nd", "ralink,rt3883-soc";
model = "Edimax BR-6475nD";
aliases {
led-status = &led_power;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -32,7 +36,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "br-6475nd:green:power";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};

View File

@@ -42,6 +42,10 @@
compatible = "hnet,c108", "ralink,mt7620a-soc";
model = "HNET C108";
aliases {
led-status = &led_lan_green;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -80,7 +84,7 @@
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
};
lan_green {
led_lan_green: lan_green {
label = "c108:green:lan";
gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc";
model = "Comfast CF-WR800N";
aliases {
led-status = &led_wps;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -26,7 +30,7 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wps {
led_wps: wps {
label = "cf-wr800n:white:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
model = "Planex CS-QR10";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "cs-qr10:red:power";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "samsung,cy-swr1100", "ralink,rt3883-soc";
model = "Samsung CY-SWR1100";
aliases {
led-status = &led_wps;
};
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
@@ -80,7 +84,7 @@
gpio-leds {
compatible = "gpio-leds";
wps {
led_wps: wps {
label = "cy-swr1100:blue:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "huawei,d105", "ralink,rt3050-soc";
model = "Huawei D105";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -44,12 +48,12 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "d105:red:power";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
wps {
usb {
label = "d105:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};

View File

@@ -42,6 +42,10 @@
compatible = "sanlinking,d240", "ralink,mt7620a-soc";
model = "Sanlinking Technologies D240";
aliases {
led-status = &led_power;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -67,7 +71,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "d240:blue:power";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dap-1350", "ralink,rt3052-soc";
model = "D-Link DAP-1350";
aliases {
led-status = &led_power_blue;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -54,7 +58,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power_blue: power {
label = "dap-1350:blue:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dap-1522-a1", "ralink,rt2880-soc";
model = "D-Link DAP-1522 A1";
aliases {
led-status = &led_status;
};
cfi@bc400000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
@@ -92,7 +96,7 @@
gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "dap-1522-a1:blue:status";
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
model = "Planex DB-WRT01";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "db-wrt01:orange:power";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dch-m225", "ralink,mt7620a-soc";
model = "D-Link DCH-M225";
aliases {
led-status = &led_power;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -31,7 +35,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "dch-m225:green:power";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dcs-930", "ralink,rt3050-soc";
model = "D-Link DCS-930";
aliases {
led-status = &led_status;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x400000>;
@@ -59,7 +63,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
power {
led_status: status {
label = "dcs-930:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "dlink,dcs-930l-b1", "ralink,rt5350-soc";
model = "D-Link DCS-930L B1";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "dcs-930l-b1:red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-300-b1", "ralink,rt3050-soc";
model = "D-Link DIR-300 B1";
aliases {
led-status = &led_status_green;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -68,7 +72,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
status2 {
led_status_green: status2 {
label = "dir-300-b1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "dlink,dir-300-b7", "ralink,rt5350-soc";
model = "D-Link DIR-300 B7";
aliases {
led-status = &led_status;
};
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "dir-300-b7:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "dlink,dir-320-b1", "ralink,rt5350-soc";
model = "D-Link DIR-320 B1";
aliases {
led-status = &led_status;
};
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "dir-320-b1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-600-b1", "ralink,rt3050-soc";
model = "D-Link DIR-600 B1";
aliases {
led-status = &led_status_green;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -68,7 +72,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
status2 {
led_status_green: status2 {
label = "dir-600-b1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "dlink,dir-610-a1", "ralink,rt5350-soc";
model = "D-Link DIR-610 A1";
aliases {
led-status = &led_status;
};
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "dir-610-a1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-615-d1", "ralink,rt3050-soc";
model = "D-Link DIR-615 D";
aliases {
led-status = &led_status_green;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -68,7 +72,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
status2 {
led_status_green: status2 {
label = "dir-615-d:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-615-h1", "ralink,rt3352-soc";
model = "D-Link DIR-615 H1";
aliases {
led-status = &led_status_green;
};
gpio-leds {
compatible = "gpio-leds";
@@ -17,7 +21,7 @@
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
status2 {
led_status_green: status2 {
label = "dir-615-h1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-620-a1", "ralink,rt3050-soc";
model = "D-Link DIR-620 A1";
aliases {
led-status = &led_status_green;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -68,7 +72,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
status2 {
led_status_green: status2 {
label = "dir-620-a1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "dlink,dir-620-d1", "ralink,rt3352-soc";
model = "D-Link DIR-620 D1";
aliases {
led-status = &led_status;
};
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "dir-620-d1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-645", "ralink,rt3883-soc";
model = "D-Link DIR-645";
aliases {
led-status = &led_wps;
};
rtl8367b {
compatible = "realtek,rtl8367b";
gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
@@ -43,7 +47,7 @@
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
wps {
led_wps: wps {
label = "dir-645:green:wps";
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
model = "D-Link DIR-810L";
aliases {
led-status = &led_power_green;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -31,7 +35,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power_green: power {
label = "dir-810l:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
@@ -41,7 +45,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
status {
power2 {
label = "dir-810l:orange:power";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-860l-b1", "mediatek,mt7621-soc";
model = "D-Link DIR-860L B1";
aliases {
led-status = &led_power_green;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -26,7 +30,7 @@
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
power2 {
led_power_green: power2 {
label = "dir-860l-b1:green:power";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
model = "D-Link DWR-116 A1/A2";
aliases {
led-status = &led_status;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -31,7 +35,7 @@
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "dwr-116-a1:green:status";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dwr-512-b", "ralink,rt5350-soc";
model = "D-Link DWR-512 B";
aliases {
led-status = &led_status;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -35,7 +39,7 @@
label = "dwr-512-b:green:sms";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
status {
led_status: status {
label = "dwr-512-b:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dwr-921-c1", "ralink,mt7620n-soc";
model = "D-Link DWR-921 C1";
aliases {
led-status = &led_sstrenghg;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -41,7 +45,7 @@
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};
sstrengthg {
led_sstrenghg: sstrengthg {
label = "dwr-921-c1:green:sigstrength";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};

View File

@@ -19,6 +19,10 @@
compatible = "linksys,e1700", "ralink,mt7620a-soc";
model = "Linksys E1700";
aliases {
led-status = &led_power;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -41,7 +45,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "e1700:green:power";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "engenius,esr-9753", "ralink,rt3052-soc";
model = "Senao / EnGenius ESR-9753";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -44,7 +48,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "esr-9753:orange:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
model = "EW1200";
aliases {
led-status = &led_run;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -40,7 +44,7 @@
gpio-leds {
compatible = "gpio-leds";
status {
led_run: run {
label = "ew1200:green:run";
gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
};

View File

@@ -19,6 +19,10 @@
compatible = "netgear,ex2700", "ralink,mt7620a-soc";
model = "Netgear EX2700";
aliases {
led-status = &led_power_green;
};
chosen {
bootargs = "console=ttyS0,57600";
};
@@ -26,7 +30,7 @@
gpio-leds {
compatible = "gpio-leds";
power_g {
led_power_green: power_g {
label = "ex2700:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";

View File

@@ -11,6 +11,10 @@
compatible = "netgear,ex3700", "ralink,mt7620a-soc";
model = "Netgear EX3700/EX3800";
aliases {
led-status = &led_power_green;
};
chosen {
bootargs = "console=ttyS0,57600";
};
@@ -18,7 +22,7 @@
gpio-leds {
compatible = "gpio-leds";
power_g {
led_power_green: power_g {
label = "ex3700:green:power";
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
default-state = "on";

View File

@@ -11,6 +11,10 @@
compatible = "belkin,f5d8235-v1", "ralink,rt2880-soc";
model = "Belkin F5D8235 v1";
aliases {
led-status = &led_wired_blue;
};
pci@440000 {
status = "ok";
};
@@ -161,7 +165,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wired {
led_wired_blue: wired {
label = "f5d8235-v1:blue:wired";
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "belkin,f5d8235-v2", "ralink,rt3052-soc";
model = "Belkin F5D8235 v2";
aliases {
led-status = &led_router;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -68,7 +72,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
router {
led_router: router {
label = "f5d8235-v2:blue:router";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "belkin,f7c027", "ralink,rt5350-soc";
model = "Belkin F7C027";
aliases {
led-status = &led_status_orange;
};
gpio-leds {
compatible = "gpio-leds";
@@ -22,7 +26,7 @@
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
orange {
led_status_orange: orange {
label = "f7c027:orange:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "firefly,firewrt", "mediatek,mt7621-soc";
model = "Firefly FireWRT";
aliases {
led-status = &led_power;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -21,7 +25,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "firewrt:green:power";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "fon,fonera20n", "ralink,rt3052-soc";
model = "La Fonera 2.0N";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -49,7 +53,7 @@
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "fonera20n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc";
model = "GB-PC1";
aliases {
led-status = &led_status;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -39,7 +43,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "gb-pc1:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
model = "GB-PC2";
aliases {
led-status = &led_status;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -39,7 +43,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "gb-pc2:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "glinet,gl-mt300n-v2", "ralink,mt7620an-soc";
model = "GL-MT300N-V2";
aliases {
led-status = &led_power;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -21,7 +25,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "gl-mt300n-v2:green:power";
default-state = "on";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;

View File

@@ -6,10 +6,14 @@
compatible = "hiwifi,hc5661", "hiwifi,hc5x61", "ralink,mt7620a-soc";
model = "HiWiFi HC5661";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "hc5661:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
model = "HiWiFi HC5661A";
aliases {
led-status = &led_system;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -21,7 +25,7 @@
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "hc5661a:blue:system";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
};

View File

@@ -6,10 +6,14 @@
compatible = "hiwifi,hc5761", "hiwifi,hc5x61", "ralink,mt7620a-soc";
model = "HiWiFi HC5761";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "hc5761:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -6,10 +6,14 @@
compatible = "hiwifi,hc5861", "hiwifi,hc5x61", "ralink,mt7620a-soc";
model = "HiWiFi HC5861";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "hc5861:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "hiwifi,hc5962", "mediatek,mt7621-soc";
model = "HiWiFi HC5962";
aliases {
led-status = &led_status;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -21,7 +25,7 @@
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "hc5962:white:status";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "huawei,hg255d", "ralink,rt3052-soc";
model = "HuaWei HG255D";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x1000000>;
@@ -50,7 +54,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "hg255d:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "omnima,hpm", "ralink,rt3883-soc";
model = "Omnima HPM";
aliases {
led-status = &led_status;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -34,7 +38,7 @@
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "hpm:green:status";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "hootoo,ht-tm02", "ralink,rt5350-soc";
model = "HooToo HT-TM02";
aliases {
led-status = &led_wlan;
};
gpio-leds {
compatible = "gpio-leds";
wlan {
led_wlan: wlan {
label = "ht-tm02:blue:wlan";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "aztech,hw550-3g", "ralink,rt3052-soc";
model = "Aztech HW550-3G";
aliases {
led-status = &led_status;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -54,7 +58,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "hw550-3g:green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "poray,ip2202", "ralink,rt3052-soc";
model = "Poray IP2202";
aliases {
led-status = &led_run;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -44,7 +48,7 @@
gpio-leds {
compatible = "gpio-leds";
run {
led_run: run {
label = "ip2202:green:run";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "jcg,jhr-n805r", "ralink,rt3050-soc";
model = "JCG JHR-N805R";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "jhr-n805r:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "jcg,jhr-n825r", "ralink,rt3052-soc";
model = "JCG JHR-N825R";
aliases {
led-status = &led_system;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -43,7 +47,7 @@
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "jhr-n825r:red:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "jcg,jhr-n926r", "ralink,rt3052-soc";
model = "JCG JHR-N926R";
aliases {
led-status = &led_system;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -59,7 +63,7 @@
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
system {
led_system: system {
label = "jhr-n926r:blue:system";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};

View File

@@ -10,6 +10,7 @@
model = "Phicomm K2G";
aliases {
led-status = &led_blue;
serial0 = &uartlite;
};

View File

@@ -9,6 +9,10 @@
compatible = "phicomm,k2p", "mediatek,mt7621-soc";
model = "Phicomm K2P";
aliases {
led-status = &led_blue;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -31,7 +35,7 @@
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
stat_b {
led_blue: stat_b {
label = "k2p:blue:status";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "mediatek,linkit-smart-7688", "mediatek,mt7628an-soc";
model = "MediaTek LinkIt Smart 7688";
aliases {
led-status = &led_wifi;
};
chosen {
bootargs = "console=ttyS2,57600";
};
@@ -31,7 +35,7 @@
gpio-leds {
compatible = "gpio-leds";
wifi {
led_wifi: wifi {
label = "linkit-smart-7688:orange:wifi";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "intenso,memory2move", "ralink,rt5350-soc";
model = "Intenso Memory 2 Move";
aliases {
led-status = &led_wifi;
};
chosen {
bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
};
@@ -16,7 +20,7 @@
gpio-leds {
compatible = "gpio-leds";
wifi {
led_wifi: wifi {
label = "m2m:blue:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "poray,m3", "ralink,rt5350-soc";
model = "Poray M3";
aliases {
led-status = &led_status;
};
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "m3:blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -6,10 +6,14 @@
/ {
compatible = "poray,m4", "ralink,rt5350-soc";
aliases {
led-status = &led_status;
};
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "m4:blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "mercury,mac1200r-v2", "mediatek,mt7628an-soc";
model = "Mercury MAC1200R v2";
aliases {
led-status = &led_status;
};
chosen {
bootargs = "console=ttyS0,57600";
};
@@ -20,7 +24,7 @@
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "mac1200rv2:green:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "omnima,miniembwifi", "ralink,rt3052-soc";
model = "Omnima MiniEMBWiFi";
aliases {
led-status = &led_status;
};
gpio-leds {
compatible = "gpio-leds";
status {
led_status: status {
label = "miniembwifi:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "xiaomi,mir3g", "mediatek,mt7621-soc";
model = "Xiaomi Mi Router 3G";
aliases {
led-status = &led_status_blue;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -26,7 +30,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
status_blue {
led_status_blue: status_blue {
label = "mir3g:blue:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
model = "Xiaomi MiWiFi Mini";
aliases {
led-status = &led_blue;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -16,7 +20,7 @@
gpio-leds {
compatible = "gpio-leds";
blue {
led_blue: blue {
label = "miwifi-mini:blue:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "xiaomi,miwifi-nano", "mediatek,mt7628an-soc";
model = "MiWiFi Nano";
aliases {
led-status = &led_blue;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -21,7 +25,7 @@
gpio-leds {
compatible = "gpio-leds";
status_blue {
led_blue: status_blue {
label = "miwifi-nano:blue:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "kingston,mlw221", "ralink,mt7620n-soc";
model = "Kingston MLW221";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "mlw221:blue:system";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "kingston,mlwg2", "ralink,mt7620n-soc";
model = "Kingston MLWG2";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "mlwg2:blue:system";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "mofinetwork,mofi3500-3gn", "ralink,rt3052-soc";
model = "MoFi Network MOFI3500-3GN";
aliases {
led-status = &led_status;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -54,7 +58,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "mofi3500-3gn:green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "hame,mpr-a1", "ralink,rt5350-soc";
model = "HAME MPR-A1";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "mpr-a1:blue:system";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "hame,mpr-a2", "ralink,rt5350-soc";
model = "HAME MPR-A2";
aliases {
led-status = &led_system;
};
gpio-leds {
compatible = "gpio-leds";
system {
led_system: system {
label = "mpr-a2:blue:system";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "aximcom,mr-102n", "ralink,rt3052-soc";
model = "AXIMCom MR-102N";
aliases {
led-status = &led_status;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -59,7 +63,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
status {
led_status: status {
label = "mr-102n:amber:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "planex,mzk-750dhp", "ralink,mt7620a-soc";
model = "Planex MZK-750DHP";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
@@ -17,7 +21,7 @@
gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "mzk-750dhp:green:power";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "planex,mzk-dp150n", "ralink,rt5350-soc";
model = "Planex MZK-DP150N";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "mzk-dp150n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "planex,mzk-ex300np", "ralink,mt7620a-soc";
model = "Planex MZK-EX300NP";
aliases {
led-status = &led_wps;
};
gpio-leds {
compatible = "gpio-leds";
@@ -17,7 +21,7 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wps {
led_wps: wps {
label = "mzk-ex300np:green:wps";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "planex,mzk-ex750np", "ralink,mt7620a-soc";
model = "Planex MZK-EX750NP";
aliases {
led-status = &led_power;
};
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "mzk-ex750np:red:power";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "planex,mzk-w300nh2", "ralink,rt3052-soc";
model = "Planex MZK-W300NH2";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -50,7 +54,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "mzk-w300nh2:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "sercomm,na930", "ralink,mt7620a-soc";
model = "Sercomm NA930";
aliases {
led-status = &led_power;
};
chosen {
bootargs = "console=ttyS1,57600";
};
@@ -85,7 +89,7 @@
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "na930:blue:power";
gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "zyxel,nbg-419n", "ralink,rt3052-soc";
model = "ZyXEL NBG-419N";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -44,7 +48,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "nbg-419n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,6 +9,10 @@
compatible = "zyxel,nbg-419n-v2", "ralink,rt3352-soc";
model = "ZyXEL NBG-419N v2";
aliases {
led-status = &led_power;
};
palmbus@10000000 {
spi@b00 {
status = "okay";
@@ -48,7 +52,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power: power {
label = "nbg-419n2:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};

View File

@@ -9,10 +9,14 @@
compatible = "netcore,nw718", "ralink,rt3050-soc";
model = "Netcore NW718";
aliases {
led-status = &led_cpu;
};
gpio-leds {
compatible = "gpio-leds";
cpu {
led_cpu: cpu {
label = "nw718:amber:cpu";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};

Some files were not shown because too many files have changed in this diff Show More