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

View File

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

View File

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

View File

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

View File

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

View File

@ -25,42 +25,42 @@
internet_g {
label = "wsr-1166:green:internet";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
router_g {
label = "wsr-1166:green:router";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
router_o {
label = "wsr-1166:orange:router";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
internet_o {
label = "wsr-1166:orange:internet";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wifi_o {
label = "wsr-1166:orange:wifi";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
};
led_power: power {
label = "wsr-1166:green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
diag {
label = "wsr-1166:orange:diag";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
wifi_g {
label = "wsr-1166:green:wifi";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
};
};
@ -69,39 +69,39 @@
power {
label = "power";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
};
reset {
label = "reset";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
aoss {
label = "aoss";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
auto {
label = "mode";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
};
ap {
label = "ap";
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
};
router {
label = "router";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
};
@ -109,7 +109,7 @@
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 {
label = "wsr-600:green:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wifi_o {
label = "wsr-600:orange:wifi";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
diag {
label = "wsr-600:orange:diag";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
wifi_g {
label = "wsr-600:green:wifi";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
router_o {
label = "wsr-600:orange:router";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
};
router_g {
label = "wsr-600:green:router";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
internet_o {
label = "wsr-600:orange:internet";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
internet_g {
label = "wsr-600:green:internet";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
};
};
@ -69,39 +69,39 @@
power {
label = "power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
};
reset {
label = "reset";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
aoss {
label = "aoss";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
auto {
label = "mode";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
};
ap {
label = "ap";
gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
};
router {
label = "router";
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
};
@ -109,7 +109,7 @@
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 {
label = "newifi-d2:amber:power";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_power_blue: power-blue {
label = "newifi-d2:blue:power";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
internet-amber {
label = "newifi-d2:amber:internet";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
internet-blue {
label = "newifi-d2:blue:internet";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wlan2g {
label = "newifi-d2:blue:wlan2g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wlan5g {
label = "newifi-d2:blue:wlan5g";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
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>;
linux,default-trigger = "usbport";
};
@ -67,13 +67,13 @@
reset {
label = "reset";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};
@ -85,7 +85,7 @@
power_usb3 {
gpio-export,name = "power_usb3";
gpio-export,output = <1>;
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -25,7 +25,7 @@
reset {
label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
};
@ -35,22 +35,22 @@
system {
label = "gb-pc1:green:system";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status: status {
label = "gb-pc1:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan1 {
label = "gb-pc1:green:lan1";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
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 {
label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
};
@ -35,32 +35,32 @@
system {
label = "gb-pc2:green:system";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status: status {
label = "gb-pc2:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan1 {
label = "gb-pc2:green:lan1";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
lan2 {
label = "gb-pc2:green:lan2";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
lan3-yellow {
label = "gb-pc2:yellow:lan3";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan3-green {
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 {
label = "hc5962:white:status";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_system: system {
label = "hc5962:red:system";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
panic-indicator;
};
};
@ -40,7 +40,7 @@
reset {
label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -26,13 +26,13 @@
pwr {
label = "rb750gr3:blue:pwr";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led_usr: usr {
label = "rb750gr3:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
};
@ -41,20 +41,20 @@
mode {
label = "mode";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>;
};
reset {
label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
beeper {
compatible = "gpio-beeper";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
gpio_export {
@ -64,7 +64,7 @@
usb_power {
gpio-export,name = "usb_power";
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 {
label = "rbm11g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
rssi0 {
label = "rbm11g:green:rssi0";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
rssi1 {
label = "rbm11g:green:rssi1";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
rssi2 {
label = "rbm11g:green:rssi2";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
rssi3 {
label = "rbm11g:green:rssi3";
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
rssi4 {
label = "rbm11g:green:rssi4";
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
};
@ -59,7 +59,7 @@
res {
label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
@ -70,7 +70,7 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
regulator-always-on;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,12 +24,12 @@
led_wps: wps {
label = "sk-wb8:green:wps";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
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>;
linux,default-trigger = "usbport";
};
@ -40,13 +40,13 @@
wps {
label = "wps";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};

View File

@ -18,7 +18,7 @@
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>;
linux,default-trigger = "usbport";
};
@ -29,13 +29,13 @@
reset {
label = "reset";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
rfkill {
label = "rfkill";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>;
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,7 +31,7 @@
reset {
label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
@ -41,7 +41,7 @@
led_status: 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 {
label = "reset";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
@ -39,7 +39,7 @@
led_status: 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 {
label = "freezio:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>;
linux,default-trigger = "usbport";
};