ramips: mt7621: convert GPIO dts refs

The upstream driver does not use &gpio0..2 banks notation anymore,
so convert them to &gpio

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
master
DENG Qingfang 2020-03-04 05:22:24 +08:00 committed by Chuanhong Guo
parent 783fc8e553
commit 60f691dae4
70 changed files with 374 additions and 374 deletions

View File

@ -27,7 +27,7 @@
led_sys: sys { led_sys: sys {
label = "g7:blue:sys"; label = "g7:blue:sys";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -36,7 +36,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };

View File

@ -31,7 +31,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -41,12 +41,12 @@
led_run: run { led_run: run {
label = "ew1200:green:run"; label = "ew1200:green:run";
gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
}; };
usb { usb {
label = "ew1200:green:usb"; label = "ew1200:green:usb";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };

View File

@ -29,61 +29,61 @@
m2-enable { m2-enable {
gpio-export,name = "m2-enable"; gpio-export,name = "m2-enable";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
}; };
minipcie0-enable { minipcie0-enable {
gpio-export,name = "minipcie0-enable"; gpio-export,name = "minipcie0-enable";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
}; };
minipcie0-reset { minipcie0-reset {
gpio-export,name = "minipcie0-reset"; gpio-export,name = "minipcie0-reset";
gpio-export,output = <0>; gpio-export,output = <0>;
gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
}; };
minipcie1-enable { minipcie1-enable {
gpio-export,name = "minipcie1-enable"; gpio-export,name = "minipcie1-enable";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>; gpios = <&gpio 30 GPIO_ACTIVE_HIGH>;
}; };
minipcie1-reset { minipcie1-reset {
gpio-export,name = "minipcie1-reset"; gpio-export,name = "minipcie1-reset";
gpio-export,output = <0>; gpio-export,output = <0>;
gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
}; };
minipcie2-enable { minipcie2-enable {
gpio-export,name = "minipcie2-enable"; gpio-export,name = "minipcie2-enable";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>; gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
}; };
minipcie2-reset { minipcie2-reset {
gpio-export,name = "minipcie2-reset"; gpio-export,name = "minipcie2-reset";
gpio-export,output = <0>; gpio-export,output = <0>;
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
}; };
pcie-perst-disable { pcie-perst-disable {
gpio-export,name = "pcie-perst-enable"; gpio-export,name = "pcie-perst-enable";
gpio-export,output = <0>; gpio-export,output = <0>;
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
}; };
sim-select { sim-select {
gpio-export,name = "sim-select"; gpio-export,name = "sim-select";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
}; };
watchdog-enable { watchdog-enable {
gpio-export,name = "watchdog-enable"; gpio-export,name = "watchdog-enable";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -92,19 +92,19 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
user1 { user1 {
label = "user1"; label = "user1";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
}; };
user2 { user2 {
label = "user2"; label = "user2";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>; linux,code = <BTN_1>;
}; };
}; };
@ -114,34 +114,34 @@
led_system: system { led_system: system {
label = "quad-e4g:red:system"; label = "quad-e4g:red:system";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "keep"; default-state = "keep";
}; };
m2 { m2 {
label = "quad-e4g:orange:m2"; label = "quad-e4g:orange:m2";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
}; };
minipcie0 { minipcie0 {
label = "quad-e4g:orange:minipcie0"; label = "quad-e4g:orange:minipcie0";
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
}; };
minipcie1 { minipcie1 {
label = "quad-e4g:orange:minipcie1"; label = "quad-e4g:orange:minipcie1";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
}; };
minipcie2 { minipcie2 {
label = "quad-e4g:orange:minipcie2"; label = "quad-e4g:orange:minipcie2";
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
}; };
}; };
watchdog { watchdog {
compatible = "linux,wdt-gpio"; compatible = "linux,wdt-gpio";
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
hw_algo = "toggle"; hw_algo = "toggle";
hw_margin_ms = <25000>; hw_margin_ms = <25000>;
always-running; always-running;

View File

@ -15,7 +15,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -25,12 +25,12 @@
wlan1 { wlan1 {
label = "ap7621-001:orange:wlan1"; label = "ap7621-001:orange:wlan1";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
}; };
wlan0 { wlan0 {
label = "ap7621-001:orange:wlan0"; label = "ap7621-001:orange:wlan0";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };

View File

@ -26,12 +26,12 @@
led_power: power { led_power: power {
label = "rt-ac57u:blue:power"; label = "rt-ac57u:blue:power";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
}; };
usb { usb {
label = "rt-ac57u:blue:usb"; label = "rt-ac57u:blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
trigger-sources = <&ehci_port2>; trigger-sources = <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
@ -42,14 +42,14 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
@ -58,7 +58,7 @@
led-regulator { led-regulator {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "LED-Power"; regulator-name = "LED-Power";
gpio = <&gpio1 14 GPIO_ACTIVE_LOW>; gpio = <&gpio 46 GPIO_ACTIVE_LOW>;
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on; regulator-always-on;

View File

@ -28,13 +28,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };
@ -44,17 +44,17 @@
led_power: power { led_power: power {
label = "rt-ac85p:blue:power"; label = "rt-ac85p:blue:power";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
}; };
wlan2g { wlan2g {
label = "rt-ac85p:blue:wlan2g"; label = "rt-ac85p:blue:wlan2g";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio"; linux,default-trigger = "phy0radio";
}; };
wlan5g { wlan5g {
label = "rt-ac85p:blue:wlan5g"; label = "rt-ac85p:blue:wlan5g";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1radio"; linux,default-trigger = "phy1radio";
}; };
}; };

View File

@ -25,42 +25,42 @@
internet_g { internet_g {
label = "wsr-1166:green:internet"; label = "wsr-1166:green:internet";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
}; };
router_g { router_g {
label = "wsr-1166:green:router"; label = "wsr-1166:green:router";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
}; };
router_o { router_o {
label = "wsr-1166:orange:router"; label = "wsr-1166:orange:router";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
}; };
internet_o { internet_o {
label = "wsr-1166:orange:internet"; label = "wsr-1166:orange:internet";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
}; };
wifi_o { wifi_o {
label = "wsr-1166:orange:wifi"; label = "wsr-1166:orange:wifi";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
}; };
led_power: power { led_power: power {
label = "wsr-1166:green:power"; label = "wsr-1166:green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
}; };
diag { diag {
label = "wsr-1166:orange:diag"; label = "wsr-1166:orange:diag";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
}; };
wifi_g { wifi_g {
label = "wsr-1166:green:wifi"; label = "wsr-1166:green:wifi";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -69,39 +69,39 @@
power { power {
label = "power"; label = "power";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
aoss { aoss {
label = "aoss"; label = "aoss";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
auto { auto {
label = "mode"; label = "mode";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
ap { ap {
label = "ap"; label = "ap";
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
router { router {
label = "router"; label = "router";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
@ -109,7 +109,7 @@
gpio_poweroff { gpio_poweroff {
compatible = "gpio-poweroff"; compatible = "gpio-poweroff";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
}; };
}; };

View File

@ -25,42 +25,42 @@
led_power: power { led_power: power {
label = "wsr-600:green:power"; label = "wsr-600:green:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
}; };
wifi_o { wifi_o {
label = "wsr-600:orange:wifi"; label = "wsr-600:orange:wifi";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
}; };
diag { diag {
label = "wsr-600:orange:diag"; label = "wsr-600:orange:diag";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
}; };
wifi_g { wifi_g {
label = "wsr-600:green:wifi"; label = "wsr-600:green:wifi";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
}; };
router_o { router_o {
label = "wsr-600:orange:router"; label = "wsr-600:orange:router";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
}; };
router_g { router_g {
label = "wsr-600:green:router"; label = "wsr-600:green:router";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
}; };
internet_o { internet_o {
label = "wsr-600:orange:internet"; label = "wsr-600:orange:internet";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
}; };
internet_g { internet_g {
label = "wsr-600:green:internet"; label = "wsr-600:green:internet";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -69,39 +69,39 @@
power { power {
label = "power"; label = "power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
aoss { aoss {
label = "aoss"; label = "aoss";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
auto { auto {
label = "mode"; label = "mode";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
ap { ap {
label = "ap"; label = "ap";
gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
router { router {
label = "router"; label = "router";
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
@ -109,7 +109,7 @@
gpio_poweroff { gpio_poweroff {
compatible = "gpio-poweroff"; compatible = "gpio-poweroff";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
}; };
}; };

View File

@ -26,37 +26,37 @@
power-amber { power-amber {
label = "newifi-d2:amber:power"; label = "newifi-d2:amber:power";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
}; };
led_power_blue: power-blue { led_power_blue: power-blue {
label = "newifi-d2:blue:power"; label = "newifi-d2:blue:power";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
}; };
internet-amber { internet-amber {
label = "newifi-d2:amber:internet"; label = "newifi-d2:amber:internet";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
}; };
internet-blue { internet-blue {
label = "newifi-d2:blue:internet"; label = "newifi-d2:blue:internet";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
wlan2g { wlan2g {
label = "newifi-d2:blue:wlan2g"; label = "newifi-d2:blue:wlan2g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
wlan5g { wlan5g {
label = "newifi-d2:blue:wlan5g"; label = "newifi-d2:blue:wlan5g";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
usb { usb {
label = "newifi-d2:blue:usb"; label = "newifi-d2:blue:usb";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
@ -67,13 +67,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };
@ -85,7 +85,7 @@
power_usb3 { power_usb3 {
gpio-export,name = "power_usb3"; gpio-export,name = "power_usb3";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

View File

@ -37,28 +37,28 @@
power { power {
label = "pbr-m1:blue:power"; label = "pbr-m1:blue:power";
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
default-state = "on"; default-state = "on";
}; };
led_sys: sys { led_sys: sys {
label = "pbr-m1:blue:sys"; label = "pbr-m1:blue:sys";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
}; };
internet { internet {
label = "pbr-m1:blue:internet"; label = "pbr-m1:blue:internet";
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
}; };
wlan2g { wlan2g {
label = "pbr-m1:blue:wlan2g"; label = "pbr-m1:blue:wlan2g";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
}; };
wlan5g { wlan5g {
label = "pbr-m1:blue:wlan5g"; label = "pbr-m1:blue:wlan5g";
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -67,7 +67,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -79,25 +79,25 @@
power_usb2 { power_usb2 {
gpio-export,name = "power_usb2"; gpio-export,name = "power_usb2";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
}; };
power_usb3 { power_usb3 {
gpio-export,name = "power_usb3"; gpio-export,name = "power_usb3";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
}; };
power_sata { power_sata {
gpio-export,name = "power_sata"; gpio-export,name = "power_sata";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
}; };
}; };
beeper: beeper { beeper: beeper {
compatible = "gpio-beeper"; compatible = "gpio-beeper";
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
}; };
}; };

View File

@ -26,22 +26,22 @@
power { power {
label = "dir-860l-b1:orange:power"; label = "dir-860l-b1:orange:power";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
led_power_green: power2 { led_power_green: power2 {
label = "dir-860l-b1:green:power"; label = "dir-860l-b1:green:power";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
}; };
net { net {
label = "dir-860l-b1:orange:net"; label = "dir-860l-b1:orange:net";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
net2 { net2 {
label = "dir-860l-b1:green:net"; label = "dir-860l-b1:green:net";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -50,13 +50,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -19,22 +19,22 @@
led_power: led_1 { led_power: led_1 {
label = "ra21s:red:led1"; label = "ra21s:red:led1";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
}; };
led_2 { led_2 {
label = "ra21s:red:led2"; label = "ra21s:red:led2";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
}; };
led_3 { led_3 {
label = "ra21s:red:led3"; label = "ra21s:red:led3";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
}; };
led_4 { led_4 {
label = "ra21s:red:led4"; label = "ra21s:red:led4";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

View File

@ -19,22 +19,22 @@
led_power: led_1 { led_power: led_1 {
label = "rg21s:red:led1"; label = "rg21s:red:led1";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
}; };
led_2 { led_2 {
label = "rg21s:red:led2"; label = "rg21s:red:led2";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
}; };
led_3 { led_3 {
label = "rg21s:red:led3"; label = "rg21s:red:led3";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
}; };
led_4 { led_4 {
label = "rg21s:red:led4"; label = "rg21s:red:led4";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

View File

@ -20,13 +20,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -25,33 +25,33 @@
wlan2g { wlan2g {
label = "wrc-1167ghbk2-s:white:wlan2g"; label = "wrc-1167ghbk2-s:white:wlan2g";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio"; linux,default-trigger = "phy0radio";
}; };
wlan5g { wlan5g {
label = "wrc-1167ghbk2-s:white:wlan5g"; label = "wrc-1167ghbk2-s:white:wlan5g";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
}; };
led_power_green: power_green { led_power_green: power_green {
label = "wrc-1167ghbk2-s:green:power"; label = "wrc-1167ghbk2-s:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
}; };
power_blue { power_blue {
label = "wrc-1167ghbk2-s:blue:power"; label = "wrc-1167ghbk2-s:blue:power";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
}; };
wps { wps {
label = "wrc-1167ghbk2-s:red:wps"; label = "wrc-1167ghbk2-s:red:wps";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
}; };
power_red { power_red {
label = "wrc-1167ghbk2-s:red:power"; label = "wrc-1167ghbk2-s:red:power";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -60,13 +60,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -22,22 +22,22 @@
led_power_green: power_green { led_power_green: power_green {
label = "wrc-gst:green:power"; label = "wrc-gst:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
}; };
power_blue { power_blue {
label = "wrc-gst:blue:power"; label = "wrc-gst:blue:power";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
}; };
wps { wps {
label = "wrc-gst:red:wps"; label = "wrc-gst:red:wps";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
}; };
power_red { power_red {
label = "wrc-gst:red:power"; label = "wrc-gst:red:power";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -46,40 +46,40 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
client { client {
label = "client"; label = "client";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
ap { ap {
label = "ap"; label = "ap";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
extender { extender {
label = "extender"; label = "extender";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
router { router {
label = "router"; label = "router";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };

View File

@ -25,7 +25,7 @@
led_power: power { led_power: power {
label = "firewrt:green:power"; label = "firewrt:green:power";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -34,13 +34,13 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
power { power {
label = "power"; label = "power";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
}; };
}; };

View File

@ -19,12 +19,12 @@
internet { internet {
label = "ghl-r-001:blue:internet"; label = "ghl-r-001:blue:internet";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
usb { usb {
label = "ghl-r-001:blue:usb"; label = "ghl-r-001:blue:usb";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
@ -35,7 +35,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -25,7 +25,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -35,22 +35,22 @@
system { system {
label = "gb-pc1:green:system"; label = "gb-pc1:green:system";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
}; };
led_status: status { led_status: status {
label = "gb-pc1:green:status"; label = "gb-pc1:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
}; };
lan1 { lan1 {
label = "gb-pc1:green:lan1"; label = "gb-pc1:green:lan1";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
lan2 { lan2 {
label = "gb-pc1:green:lan2"; label = "gb-pc1:green:lan2";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };

View File

@ -25,7 +25,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -35,32 +35,32 @@
system { system {
label = "gb-pc2:green:system"; label = "gb-pc2:green:system";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
}; };
led_status: status { led_status: status {
label = "gb-pc2:green:status"; label = "gb-pc2:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
}; };
lan1 { lan1 {
label = "gb-pc2:green:lan1"; label = "gb-pc2:green:lan1";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
lan2 { lan2 {
label = "gb-pc2:green:lan2"; label = "gb-pc2:green:lan2";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
}; };
lan3-yellow { lan3-yellow {
label = "gb-pc2:yellow:lan3"; label = "gb-pc2:yellow:lan3";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
lan3-green { lan3-green {
label = "gb-pc2:green:lan3"; label = "gb-pc2:green:lan3";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };

View File

@ -25,12 +25,12 @@
led_status: status { led_status: status {
label = "hc5962:white:status"; label = "hc5962:white:status";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
}; };
led_system: system { led_system: system {
label = "hc5962:red:system"; label = "hc5962:red:system";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
panic-indicator; panic-indicator;
}; };
}; };
@ -40,7 +40,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -25,12 +25,12 @@
led_power: power { led_power: power {
label = "wn-ax1167gr:green:power"; label = "wn-ax1167gr:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
}; };
wps { wps {
label = "wn-ax1167gr:green:wps"; label = "wn-ax1167gr:green:wps";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -39,26 +39,26 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
auto { auto {
label = "auto"; label = "auto";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
custom { custom {
label = "custom"; label = "custom";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };

View File

@ -25,12 +25,12 @@
led_power: power { led_power: power {
label = "wn-gx300gr:green:power"; label = "wn-gx300gr:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
}; };
wps { wps {
label = "wn-gx300gr:green:wps"; label = "wn-gx300gr:green:wps";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -39,26 +39,26 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
auto { auto {
label = "auto"; label = "auto";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
custom { custom {
label = "custom"; label = "custom";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };

View File

@ -22,12 +22,12 @@
wps { wps {
label = "iodata:green:wps"; label = "iodata:green:wps";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
}; };
led_power: power { led_power: power {
label = "iodata:green:power"; label = "iodata:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -36,20 +36,20 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
repeater { repeater {
label = "repeater"; label = "repeater";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -26,24 +26,24 @@
led_power: power { led_power: power {
label = "wnpr2600g:green:power"; label = "wnpr2600g:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
}; };
notification { notification {
label = "wnpr2600g:green:notification"; label = "wnpr2600g:green:notification";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
}; };
wlan2g { wlan2g {
label = "wnpr2600g:green:wlan2g"; label = "wnpr2600g:green:wlan2g";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0radio"; linux,default-trigger = "phy0radio";
}; };
wlan5g { wlan5g {
label = "wnpr2600g:green:wlan5g"; label = "wnpr2600g:green:wlan5g";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy1radio"; linux,default-trigger = "phy1radio";
}; };
}; };
@ -53,20 +53,20 @@
auto { auto {
label = "auto"; label = "auto";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -27,26 +27,26 @@
usb { usb {
label = "a6ns-m:blue:usb"; label = "a6ns-m:blue:usb";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>; trigger-sources = <&xhci_ehci_port1>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
wlan5g { wlan5g {
label = "a6ns-m:blue:wlan5g"; label = "a6ns-m:blue:wlan5g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio"; linux,default-trigger = "phy0radio";
}; };
wlan2g { wlan2g {
label = "a6ns-m:blue:wlan2g"; label = "a6ns-m:blue:wlan2g";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1radio"; linux,default-trigger = "phy1radio";
}; };
led_cpu: cpu { led_cpu: cpu {
label = "a6ns-m:blue:cpu"; label = "a6ns-m:blue:cpu";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -55,13 +55,13 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -26,18 +26,18 @@
led_cpu: cpu { led_cpu: cpu {
label = "a8004t:orange:cpu"; label = "a8004t:orange:cpu";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
}; };
wlan2g { wlan2g {
label = "a8004t:orange:wlan2g"; label = "a8004t:orange:wlan2g";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio"; linux,default-trigger = "phy0radio";
}; };
wlan5g { wlan5g {
label = "a8004t:orange:wlan5g"; label = "a8004t:orange:wlan5g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1radio"; linux,default-trigger = "phy1radio";
}; };
}; };
@ -47,13 +47,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -26,21 +26,21 @@
usb3 { usb3 {
label = "jhr-ac876m:blue:usb3"; label = "jhr-ac876m:blue:usb3";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>; trigger-sources = <&xhci_ehci_port1>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
usb2 { usb2 {
label = "jhr-ac876m:blue:usb2"; label = "jhr-ac876m:blue:usb2";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
trigger-sources = <&ehci_port2>; trigger-sources = <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
led_wps: wps { led_wps: wps {
label = "jhr-ac876m:blue:wps"; label = "jhr-ac876m:blue:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -49,13 +49,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -26,17 +26,17 @@
status-red { status-red {
label = "newifi-d1:red:status"; label = "newifi-d1:red:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
status-green { status-green {
label = "newifi-d1:green:status"; label = "newifi-d1:green:status";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
led_blue: status-blue { led_blue: status-blue {
label = "newifi-d1:blue:status"; label = "newifi-d1:blue:status";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "on"; default-state = "on";
}; };
}; };
@ -46,7 +46,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -58,13 +58,13 @@
usb2power { usb2power {
gpio-export,name = "usb2power"; gpio-export,name = "usb2power";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
}; };
usb3power { usb3power {
gpio-export,name = "usb3power"; gpio-export,name = "usb3power";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

View File

@ -25,12 +25,12 @@
wifi { wifi {
label = "re6500:orange:wifi"; label = "re6500:orange:wifi";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
}; };
led_power: power { led_power: power {
label = "re6500:white:power"; label = "re6500:white:power";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -39,13 +39,13 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -26,13 +26,13 @@
pwr { pwr {
label = "rb750gr3:blue:pwr"; label = "rb750gr3:blue:pwr";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
}; };
led_usr: usr { led_usr: usr {
label = "rb750gr3:green:usr"; label = "rb750gr3:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -41,20 +41,20 @@
mode { mode {
label = "mode"; label = "mode";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
beeper { beeper {
compatible = "gpio-beeper"; compatible = "gpio-beeper";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
}; };
gpio_export { gpio_export {
@ -64,7 +64,7 @@
usb_power { usb_power {
gpio-export,name = "usb_power"; gpio-export,name = "usb_power";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

View File

@ -25,32 +25,32 @@
led_usr: usr { led_usr: usr {
label = "rbm11g:green:usr"; label = "rbm11g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
}; };
rssi0 { rssi0 {
label = "rbm11g:green:rssi0"; label = "rbm11g:green:rssi0";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
}; };
rssi1 { rssi1 {
label = "rbm11g:green:rssi1"; label = "rbm11g:green:rssi1";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
}; };
rssi2 { rssi2 {
label = "rbm11g:green:rssi2"; label = "rbm11g:green:rssi2";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
rssi3 { rssi3 {
label = "rbm11g:green:rssi3"; label = "rbm11g:green:rssi3";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
}; };
rssi4 { rssi4 {
label = "rbm11g:green:rssi4"; label = "rbm11g:green:rssi4";
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -59,7 +59,7 @@
res { res {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -70,7 +70,7 @@
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
regulator-boot-on; regulator-boot-on;
regulator-always-on; regulator-always-on;

View File

@ -25,7 +25,7 @@
led_usr: usr { led_usr: usr {
label = "rbm33g:green:usr"; label = "rbm33g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -34,7 +34,7 @@
res { res {
label = "res"; label = "res";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -45,7 +45,7 @@
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
regulator-boot-on; regulator-boot-on;
regulator-always-on; regulator-always-on;
@ -57,7 +57,7 @@
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>; gpio = <&gpio 10 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
regulator-boot-on; regulator-boot-on;
regulator-always-on; regulator-always-on;
@ -69,7 +69,7 @@
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
regulator-boot-on; regulator-boot-on;
regulator-always-on; regulator-always-on;
@ -81,7 +81,7 @@
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpio = <&gpio 12 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
regulator-always-on; regulator-always-on;
}; };

View File

@ -30,7 +30,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -26,24 +26,24 @@
led_power: power { led_power: power {
label = "wr1201:green:power"; label = "wr1201:green:power";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
usb { usb {
label = "wr1201:green:usb"; label = "wr1201:green:usb";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
eth_link { eth_link {
label = "wr1201:green:eth_link"; label = "wr1201:green:eth_link";
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
}; };
wps { wps {
label = "wr1201:green:wps"; label = "wr1201:green:wps";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -52,7 +52,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -26,49 +26,49 @@
power_amber: power_amber { power_amber: power_amber {
label = "ex6150:amber:power"; label = "ex6150:amber:power";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
}; };
power_green: power_green { power_green: power_green {
label = "ex6150:green:power"; label = "ex6150:green:power";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
wps { wps {
label = "ex6150:green:wps"; label = "ex6150:green:wps";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
rightarrow { rightarrow {
label = "ex6150:blue:rightarrow"; label = "ex6150:blue:rightarrow";
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
}; };
leftarrow { leftarrow {
label = "ex6150:blue:leftarrow"; label = "ex6150:blue:leftarrow";
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
}; };
router_green { router_green {
label = "ex6150:green:router"; label = "ex6150:green:router";
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt"; linux,default-trigger = "phy1tpt";
}; };
router_red { router_red {
label = "ex6150:red:router"; label = "ex6150:red:router";
gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
}; };
client_green { client_green {
label = "ex6150:green:client"; label = "ex6150:green:client";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt"; linux,default-trigger = "phy0tpt";
}; };
client_red { client_red {
label = "ex6150:red:client"; label = "ex6150:red:client";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -77,19 +77,19 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
toggle { toggle {
label = "AP/Extender toggle"; label = "AP/Extender toggle";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
/* Active when switch is set to "Access Point" */ /* Active when switch is set to "Access Point" */
}; };

View File

@ -103,12 +103,12 @@
}; };
wps { wps {
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
label = "r6700-v2:white:wps"; label = "r6700-v2:white:wps";
}; };
wlan { wlan {
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
label = "r6700-v2:white:wlan"; label = "r6700-v2:white:wlan";
}; };
}; };

View File

@ -105,12 +105,12 @@
}; };
wps { wps {
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
label = "r6800:white:wps"; label = "r6800:white:wps";
}; };
wlan { wlan {
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
label = "r6800:white:wlan"; label = "r6800:white:wlan";
}; };
}; };

View File

@ -25,19 +25,19 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
wifi { wifi {
label = "wifi"; label = "wifi";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -46,26 +46,26 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
led_power: power { led_power: power {
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
}; };
led_usb: usb { led_usb: usb {
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
led_internet: internet { led_internet: internet {
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
led_wifi: wifi { led_wifi: wifi {
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt"; linux,default-trigger = "phy0tpt";
}; };
led_wps: wps { led_wps: wps {
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -74,7 +74,7 @@
regulator-name = "usb_vbus"; regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>; gpio = <&gpio 10 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
}; };

View File

@ -17,19 +17,19 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
rfkill { rfkill {
label = "rfkill"; label = "rfkill";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -24,21 +24,21 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
led_power: power { led_power: power {
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
}; };
led_usb: usb { led_usb: usb {
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
led_internet: internet { led_internet: internet {
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
led_wifi: wifi { led_wifi: wifi {
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt"; linux,default-trigger = "phy0tpt";
}; };
}; };
@ -48,13 +48,13 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -64,7 +64,7 @@
regulator-name = "usb_vbus"; regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>; gpio = <&gpio 10 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
}; };

View File

@ -26,14 +26,14 @@
usb { usb {
label = "wf2881:green:usb"; label = "wf2881:green:usb";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
led_wps: wps { led_wps: wps {
label = "wf2881:green:wps"; label = "wf2881:green:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -42,7 +42,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -25,17 +25,17 @@
stat_r { stat_r {
label = "k2p:red:status"; label = "k2p:red:status";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
}; };
stat_y { stat_y {
label = "k2p:yellow:status"; label = "k2p:yellow:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
led_blue: stat_b { led_blue: stat_b {
label = "k2p:blue:status"; label = "k2p:blue:status";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -44,7 +44,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -25,7 +25,7 @@
led_power: power { led_power: power {
label = "vr500:green:power"; label = "vr500:green:power";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -34,7 +34,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -24,12 +24,12 @@
led_wps: wps { led_wps: wps {
label = "sk-wb8:green:wps"; label = "sk-wb8:green:wps";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
}; };
usb { usb {
label = "sk-wb8:green:usb"; label = "sk-wb8:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
@ -40,13 +40,13 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -18,7 +18,7 @@
usb { usb {
label = "sap-g3200u3:green:usb"; label = "sap-g3200u3:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
@ -29,13 +29,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
rfkill { rfkill {
label = "rfkill"; label = "rfkill";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
}; };
}; };

View File

@ -27,7 +27,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -37,47 +37,47 @@
system_led: system { system_led: system {
label = "x1:green:system"; label = "x1:green:system";
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
}; };
modem_offline { modem_offline {
label = "x1:red:modem-offline"; label = "x1:red:modem-offline";
gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
}; };
modem_4g { modem_4g {
label = "x1:blue:modem-4g"; label = "x1:blue:modem-4g";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
modem_3g { modem_3g {
label = "x1:green:modem-3g"; label = "x1:green:modem-3g";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
}; };
modem_rssi_lowest { modem_rssi_lowest {
label = "x1:green:modem-rssi-lowest"; label = "x1:green:modem-rssi-lowest";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
}; };
modem_rssi_low { modem_rssi_low {
label = "x1:green:modem-rssi-low"; label = "x1:green:modem-rssi-low";
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
}; };
modem_rssi_medium { modem_rssi_medium {
label = "x1:green:modem-rssi-medium"; label = "x1:green:modem-rssi-medium";
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
}; };
modem_rssi_high { modem_rssi_high {
label = "x1:green:modem-rssi-high"; label = "x1:green:modem-rssi-high";
gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
}; };
modem_rssi_highest { modem_rssi_highest {
label = "x1:green:modem-rssi-highest"; label = "x1:green:modem-rssi-highest";
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };
@ -122,7 +122,7 @@
}; };
}; };
&gpio0 { &gpio {
status = "okay"; status = "okay";
}; };

View File

@ -25,12 +25,12 @@
statw { statw {
label = "timecloud:white:status"; label = "timecloud:white:status";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
}; };
led_statuso: stato { led_statuso: stato {
label = "timecloud:orange:status"; label = "timecloud:orange:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -39,13 +39,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
BTN_0 { BTN_0 {
label = "BTN_0"; label = "BTN_0";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
}; };
}; };

View File

@ -26,7 +26,7 @@
led_sys: sys { led_sys: sys {
label = "a7000r:blue:sys"; label = "a7000r:blue:sys";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -35,7 +35,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };

View File

@ -25,37 +25,37 @@
led_power: power { led_power: power {
label = "re350-v1:blue:power"; label = "re350-v1:blue:power";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
}; };
wifi2g { wifi2g {
label = "re350-v1:blue:wifi2G"; label = "re350-v1:blue:wifi2G";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
}; };
wifi5g { wifi5g {
label = "re350-v1:blue:wifi5G"; label = "re350-v1:blue:wifi5G";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
wps_r { wps_r {
label = "re350-v1:red:wps"; label = "re350-v1:red:wps";
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
}; };
wps_b { wps_b {
label = "re350-v1:blue:wps"; label = "re350-v1:blue:wps";
gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
}; };
eth { eth {
label = "re350-v1:green:eth_act"; label = "re350-v1:green:eth_act";
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
}; };
eth2 { eth2 {
label = "re350-v1:green:eth_link"; label = "re350-v1:green:eth_link";
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -64,25 +64,25 @@
led { led {
label = "led"; label = "led";
gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
power { power {
label = "power"; label = "power";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -27,37 +27,37 @@
led_power: power { led_power: power {
label = "re650-v1:blue:power"; label = "re650-v1:blue:power";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
}; };
wifi2g { wifi2g {
label = "re650-v1:blue:wifi2G"; label = "re650-v1:blue:wifi2G";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
}; };
wifi5g { wifi5g {
label = "re650-v1:blue:wifi5G"; label = "re650-v1:blue:wifi5G";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
wps_red { wps_red {
label = "re650-v1:red:wps"; label = "re650-v1:red:wps";
gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
}; };
wps_blue { wps_blue {
label = "re650-v1:blue:wps"; label = "re650-v1:blue:wps";
gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
}; };
eth_act { eth_act {
label = "re650-v1:green:eth_act"; label = "re650-v1:green:eth_act";
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
}; };
eth_link { eth_link {
label = "re650-v1:green:eth_link"; label = "re650-v1:green:eth_link";
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -66,28 +66,28 @@
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
power { power {
label = "power"; label = "power";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
}; };
led { led {
label = "led"; label = "led";
gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
linux,code = <KEY_LIGHTS_TOGGLE>; linux,code = <KEY_LIGHTS_TOGGLE>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };

View File

@ -8,8 +8,8 @@
i2c-gpio { i2c-gpio {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
gpios = <&gpio0 3 GPIO_ACTIVE_HIGH /* sda */ gpios = <&gpio 3 GPIO_ACTIVE_HIGH /* sda */
&gpio0 4 GPIO_ACTIVE_HIGH /* scl */ &gpio 4 GPIO_ACTIVE_HIGH /* scl */
>; >;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View File

@ -17,7 +17,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -28,12 +28,12 @@
led_blue: dome_blue { led_blue: dome_blue {
label = "nanohd:blue:dome"; label = "nanohd:blue:dome";
gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
}; };
led_white: dome_white { led_white: dome_white {
label = "nanohd:white:dome"; label = "nanohd:white:dome";
gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
}; };
}; };
@ -42,7 +42,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -58,7 +58,7 @@
modem_reset { modem_reset {
gpio-export,name = "modem_reset"; gpio-export,name = "modem_reset";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -67,7 +67,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -77,22 +77,22 @@
led_status: status { led_status: status {
label = "u7621-06:green:status"; label = "u7621-06:green:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
}; };
led4 { led4 {
label = "u7621-06:green:led4"; label = "u7621-06:green:led4";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
}; };
led5 { led5 {
label = "u7621-06:green:led5"; label = "u7621-06:green:led5";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };
&gpio0 { &gpio {
status = "okay"; status = "okay";
}; };

View File

@ -11,7 +11,7 @@
usb { usb {
label = "11acnas:green:usb"; label = "11acnas:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };

View File

@ -11,7 +11,7 @@
usb { usb {
label = "w2914nsv2:green:usb"; label = "w2914nsv2:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };

View File

@ -13,13 +13,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -26,12 +26,12 @@
led_status_blue: status_blue { led_status_blue: status_blue {
label = "mir3gv2:blue:status"; label = "mir3gv2:blue:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
}; };
led_status_yellow: status_yellow { led_status_yellow: status_yellow {
label = "mir3gv2:yellow:status"; label = "mir3gv2:yellow:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -40,7 +40,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -25,32 +25,32 @@
led_status_red: status_red { led_status_red: status_red {
label = "mir3g:red:status"; label = "mir3g:red:status";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
}; };
led_status_blue: status_blue { led_status_blue: status_blue {
label = "mir3g:blue:status"; label = "mir3g:blue:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
}; };
led_status_yellow: status_yellow { led_status_yellow: status_yellow {
label = "mir3g:yellow:status"; label = "mir3g:yellow:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
}; };
wan_amber { wan_amber {
label = "mir3g:amber:wan"; label = "mir3g:amber:wan";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
lan1_amber { lan1_amber {
label = "mir3g:amber:lan1"; label = "mir3g:amber:lan1";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
lan2_amber { lan2_amber {
label = "mir3g:amber:lan2"; label = "mir3g:amber:lan2";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -59,7 +59,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -69,7 +69,7 @@
regulator-name = "usb_vbus"; regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpio = <&gpio 12 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
}; };

View File

@ -26,37 +26,37 @@
led_status_red: status_red { led_status_red: status_red {
label = "mir3p:red:status"; label = "mir3p:red:status";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
}; };
led_status_blue: status_blue { led_status_blue: status_blue {
label = "mir3p:blue:status"; label = "mir3p:blue:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
}; };
led_status_yellow: status_yellow { led_status_yellow: status_yellow {
label = "mir3p:yellow:status"; label = "mir3p:yellow:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
}; };
wan_amber { wan_amber {
label = "mir3p:amber:wan"; label = "mir3p:amber:wan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
lan3_amber { lan3_amber {
label = "mir3p:amber:lan3"; label = "mir3p:amber:lan3";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
lan2_amber { lan2_amber {
label = "mir3p:amber:lan2"; label = "mir3p:amber:lan2";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
lan1_amber { lan1_amber {
label = "mir3p:amber:lan1"; label = "mir3p:amber:lan1";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -65,7 +65,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -75,7 +75,7 @@
regulator-name = "usb_vbus"; regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpio = <&gpio 12 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
}; };

View File

@ -26,12 +26,12 @@
work { work {
label = "xy-c5:green:work"; label = "xy-c5:green:work";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
}; };
led_sys: sys { led_sys: sys {
label = "xy-c5:green:sys"; label = "xy-c5:green:sys";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
}; };
}; };
@ -40,7 +40,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -26,29 +26,29 @@
power { power {
label = "creativebox-v1:blue:power"; label = "creativebox-v1:blue:power";
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
default-state = "on"; default-state = "on";
}; };
led_sys: sys { led_sys: sys {
label = "creativebox-v1:blue:sys"; label = "creativebox-v1:blue:sys";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
}; };
internet { internet {
label = "creativebox-v1:blue:internet"; label = "creativebox-v1:blue:internet";
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
}; };
wlan2g { wlan2g {
label = "creativebox-v1:blue:wlan2g"; label = "creativebox-v1:blue:wlan2g";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt"; linux,default-trigger = "phy0tpt";
}; };
wlan5g { wlan5g {
label = "creativebox-v1:blue:wlan5g"; label = "creativebox-v1:blue:wlan5g";
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt"; linux,default-trigger = "phy1tpt";
}; };
}; };
@ -58,7 +58,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -70,19 +70,19 @@
power_usb2 { power_usb2 {
gpio-export,name = "power_usb2"; gpio-export,name = "power_usb2";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
}; };
power_usb3 { power_usb3 {
gpio-export,name = "power_usb3"; gpio-export,name = "power_usb3";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
}; };
power_sata { power_sata {
gpio-export,name = "power_sata"; gpio-export,name = "power_sata";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

View File

@ -23,17 +23,17 @@
internet { internet {
label = "wr1200js:blue:internet"; label = "wr1200js:blue:internet";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
}; };
led_wps: wps { led_wps: wps {
label = "wr1200js:blue:wps"; label = "wr1200js:blue:wps";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
}; };
usb { usb {
label = "wr1200js:blue:usb"; label = "wr1200js:blue:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
@ -44,19 +44,19 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
wifi { wifi {
label = "wifi"; label = "wifi";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
}; };
}; };

View File

@ -26,18 +26,18 @@
led_power: power { led_power: power {
label = "yk-l2:blue:power"; label = "yk-l2:blue:power";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "on"; default-state = "on";
}; };
led_wps: wps { led_wps: wps {
label = "yk-l2:blue:wps"; label = "yk-l2:blue:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };
usb { usb {
label = "yk-l2:blue:usb"; label = "yk-l2:blue:usb";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };
@ -48,13 +48,13 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };

View File

@ -22,7 +22,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -24,7 +24,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };

View File

@ -31,7 +31,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -41,7 +41,7 @@
led_status: status { led_status: status {
label = "zbt-wg2626:green:status"; label = "zbt-wg2626:green:status";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };

View File

@ -29,7 +29,7 @@
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
@ -39,7 +39,7 @@
led_status: status { led_status: status {
label = "zbt-wg3526:green:status"; label = "zbt-wg3526:green:status";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };

View File

@ -12,7 +12,7 @@
usb { usb {
label = "freezio:green:usb"; label = "freezio:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>; trigger-sources = <&xhci_ehci_port1>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
}; };