ramips: mt7621: convert GPIO dts refs
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Tue, 3 Mar 2020 21:22:24 +0000 (05:22 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 4 Apr 2020 06:13:05 +0000 (14:13 +0800)
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>
70 files changed:
target/linux/ramips/dts/mt7621_adslr_g7.dts
target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi
target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts
target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
target/linux/ramips/dts/mt7621_edimax_ra21s.dts
target/linux/ramips/dts/mt7621_edimax_rg21s.dts
target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi
target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi
target/linux/ramips/dts/mt7621_firefly_firewrt.dts
target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts
target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts
target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi
target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts
target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts
target/linux/ramips/dts/mt7621_iptime_a8004t.dts
target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
target/linux/ramips/dts/mt7621_linksys_re6500.dts
target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts
target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts
target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
target/linux/ramips/dts/mt7621_mqmaker_witi.dts
target/linux/ramips/dts/mt7621_mtc_wr1201.dts
target/linux/ramips/dts/mt7621_netgear_ex6150.dts
target/linux/ramips/dts/mt7621_netgear_r6700-v2.dts
target/linux/ramips/dts/mt7621_netgear_r6800.dts
target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
target/linux/ramips/dts/mt7621_netis_wf2881.dts
target/linux/ramips/dts/mt7621_phicomm_k2p.dts
target/linux/ramips/dts/mt7621_planex_vr500.dts
target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts
target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
target/linux/ramips/dts/mt7621_thunder_timecloud.dts
target/linux/ramips/dts/mt7621_totolink_a7000r.dts
target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
target/linux/ramips/dts/mt7621_tplink_re650-v1.dts
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
target/linux/ramips/dts/mt7621_ubnt_unifi-nanohd.dts
target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
target/linux/ramips/dts/mt7621_wevo_11acnas.dts
target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts
target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dtsi
target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts
target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts
target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts
target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts
target/linux/ramips/dts/mt7621_youhua_wr1200js.dts
target/linux/ramips/dts/mt7621_youku_yk-l2.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
target/linux/ramips/dts/mt7621_zio_freezio.dts

index 26e66f9a318fb1f9b06f1c8220aeedc4200daa21..870b3834ddac137cab6349d427ba34183e9b3077 100644 (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>;
                };
index 8dab036b1773a9468c72342a3a5f96c20c313919..5c274a9664573884e7e9711bc25445f4fda49091 100644 (file)
@@ -31,7 +31,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                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";
                };
index 1066536ea6342379e8278449785318b381d231f1..95dc5c8d5b91142d63323d5f52dbcbd105e503ca 100644 (file)
                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>;
                };
        };
 
 
                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>;
                };
        };
 
                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;
index d4e5cfbf04e42dcfb66d3faccb56ed968f3305a2..5c8084d8f025a7723cb85bca1febafb8e5de1c72 100644 (file)
@@ -15,7 +15,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                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>;
                };
        };
 };
index 0a315398efa94f58a85b926f7964edc1a13ca3ac..7c3524d4507aedda2668093e30995bfa3dfb6f95 100644 (file)
 
                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";
                };
 
                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;
index 2de6d4c76140c40ad862031bbdb08d7d59fd8008..a34aed2df01997d570c505953b9084c53039dddc 100644 (file)
 
                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>;
                };
        };
 
                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";
                };
        };
index b67e430e5fceceda634d53d0134941e20c2f77b9..4ea2464219edd37d80af3d6af0a8b5c33f4ca118 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
 
        gpio_poweroff {
                compatible = "gpio-poweroff";
-               gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+               gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
        };
 };
 
index dadc26c12b24aa0006ed885fab82528ae8c67769..f0a79aed0b691d5d28a18496040b30aabc72237d 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
 
        gpio_poweroff {
                compatible = "gpio-poweroff";
-               gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+               gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
        };
 };
 
index f1b4d3d8abf8eb37a1072037e79787ae14eff12f..d0d1088b7be5c39f9a68d09e350c1973d5f1578c 100644 (file)
 
                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";
                };
 
                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>;
                };
        };
 };
index 59dd80fc626b509a93b480e6dea4b7a82ad14d8f..e4662272a26c5c7d686c793e000a5d6304dd5555 100644 (file)
 
                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>;
                };
        };
                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>;
        };
 };
 
index 65924bb2e65840ba8bb0233648f4815ea3cc65e5..f49bc0e114a202f58c33cd697a563560a62207dc 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index ad0eee0d18c98746e6601edb50e5d95eea724d4a..7f41bb14e9d1c360d8d81604bc69d786d7b27e43 100644 (file)
 
                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>;
                };
        };
 };
index 4325e98132d204d7a40d28b04980c21781d3144d..f00d0cf859c97c79955cfbf5718efd8647bca909 100644 (file)
 
                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>;
                };
        };
 };
index 31498a5340f9b3600a3bc6e26a66377b44d26dce..151f3934eba81830d4343788fceb31bb332b9d0c 100644 (file)
 
                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>;
                };
        };
index c43f0ad198e949e5667b437bf9394a480f26fb20..2e7e9255f2a94e97e5f8714741201137d05e8514 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index 0a4afd964f59de0aeed955fc0f03aaaee4df315a..b4acc3718e4e5153f33cb6f490a00fd1c02b516e 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
index 1df3116d2295b9152e78f85bbf823332d5878c98..4f234db49c33aedea862bb7c16c30f0cc4a1d264 100644 (file)
@@ -25,7 +25,7 @@
 
                led_power: power {
                        label = "firewrt:green:power";
-                       gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
        };
 
 
                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>;
                };
        };
index fea83e5e15f7fcaba8b075e436970ac92f5127b0..5ce4d61b57995bfe039dbf216f8b49e1e3e3eaf3 100644 (file)
 
                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>;
                };
        };
index 25ad9dc13126738c2c539a7aeb5a321bdfad3010..236737fb93bc7970ef2fd17d9e030b696127ca8f 100644 (file)
@@ -25,7 +25,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                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>;
                };
        };
 };
index 9920a1f0baf16703c1ae56a0deecf399e3c6d395..a0fd6decd729278c49632ed6b4e305bb67100c44 100644 (file)
@@ -25,7 +25,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                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>;
                };
        };
 };
index f8d7268b9206708c0035fa39c7f4b86c2318af29..baef38fe53b96f3b9a1ab43a2a64dd6bca7f3bf6 100644 (file)
 
                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>;
                };
        };
index d3bdc4acd8dcacf5615adfeb9415b5754beb5f87..213e706ccc1b63accc509260d95a203f08839db5 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
index fa8c4aa6536159d556db7d5ea20c3b64c7905a28..66edebacf18a0801439403b0f18daf1a26c93fba 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
index 8b3329113f70ec209d0d7eac2c1eb6a11b59eceb..b582f32eeae89f82c2ab722d79efd3deada13345 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index 7fa06b184449de4c905d520bff6aed9a64a71554..b49bfd785ade984b5cf38ad9c072a943fbecb911 100644 (file)
 
                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";
                };
        };
 
                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>;
                };
        };
index 92e2d9908cadcc4e54897e9abee58b684f55dad5..ce0e60bef39409ba3f67cca070db67b1dd29102d 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index 81643e6f6abe92e4dc8f43d62e8ab1344e3c2412..e8a0888be658bbe19264689fceab7823f72b8544 100644 (file)
 
                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";
                };
        };
 
                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>;
                };
        };
index e3266ebbcb3b05c5867b49c830ec9a2ce5735121..efb42536bce97c76709634a4b8324f094dfa7cc4 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index 0ff5f2e76d54d3896449638568ce4efec24ad6af..3ede66344dd4d4fde35295ef7e936fc8247bdd1d 100644 (file)
 
                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>;
                };
        };
                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>;
                };
        };
 };
index 9c12f0ff808565fe39d8730f3b429b14e21952a0..e2c6b6e980ad578e5d069d6c7fb60f680f6f6e18 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index da2b571dd42705a22978b53012efaa6ea5c1289a..ebb6585c91c7699641631aa0c3502f4f47752397 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
 };
index 60b6395c17948fa2cb058948e33503399cd71ae6..022e8faaab91568930e332a4a943504350377274 100644 (file)
 
                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;
index 2500ae29dafc49a5b238460008c8def0bf881f8d..90093c501c592c8f0473df91672e2d6cb4594948 100644 (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;
        };
index d0ea44528310177039d682a3f03432b6eb671370..e801db22d603e8d29daca0dca531531c25d740be 100644 (file)
@@ -30,7 +30,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
index 40180068e43475c61b444a8efac95bf8de314074..534f1a7f8f160cca3b39b119844739dd1abe1002 100644 (file)
 
                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>;
                };
        };
index 0d6dac0ca2099a53da1bdd8d833841c598b7d7e4..7b9d4afa34addd025c04a9970b9465ebd2b20208 100644 (file)
 
                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>;
                };
        };
 
 
                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" */
                };
index 6a8cd6e4e4c26f8de3cc0a358f637f6aacc8dc99..a8a3f73cf2538569ff8e5d9a9fc45065a93fe3ac 100644 (file)
                };
 
                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";
                };
        };
index fed7bbba38e7d8366e7d0dab10c0af3ba14281d2..90503340e299d5058112ce5ae1d9b3ab1c6f3ebf 100644 (file)
                };
 
                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";
                };
        };
index 116c412b06c1cb4176679f831726da80eba8ac5e..af8774b4da0e8c2b085f9e1af084a1c745f1f875 100644 (file)
 
                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>;
                };
        };
                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;
        };
 };
index 6538b6926e582a7a5f786bb9015f2161188f72c4..12621d8b7113b39a8a78b5220adf0f281161acb7 100644 (file)
 
                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>;
                };
        };
index 52af14723e40fe18352c023caa443a17233c17ec..9d10acda7d17ee2045924c560050d2fc496c100d 100644 (file)
                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";
                };
        };
 
                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;
        };
 };
index 63a4975dcfb0e69955fd1397ab4b32b0033e27ae..d874c61886f9bf534bd39da7491829fab2861a08 100644 (file)
 
                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>;
                };
        };
index 9e9e2c0df4511706321a008d41333aaa65e160df..3c43cbda51bf58d4944de54df35a47c49d9e8873 100644 (file)
 
                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>;
                };
        };
index 87c638429f8bfba02f4cb43e9e8c7d04ebafcf06..b34f651437f11295c9d3159533785e15eb56b40f 100644 (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>;
                };
        };
index 4b5fc7edfda04fababb60afe8cab0a869b7c485a..8d73847b50e6220efd695ebec206e5509be2907a 100644 (file)
 
                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";
                };
 
                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>;
                };
        };
index 002804bbf103b54ade9fe9736b5e2ab9003ed766..d02b808603b51de574db2a4903c5a146a12ba700 100644 (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";
                };
 
                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>;
                };
        };
index 50df90b695ae6faf5940684bf2b3616f291ecf89..050c39b0ccde4436e450bb75370e6430b2cacc5c 100644 (file)
@@ -27,7 +27,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                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>;
                };
        };
 };
        };
 };
 
-&gpio0 {
+&gpio {
        status = "okay";
 };
 
index e1f6835a81568690428c2ac56aefea9dbaffab53..11c3a9ba1c0555d497ed32ad2f09a5ad76df54a4 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index dd4336367ab72c33dd402b44e35b6e0bb4fc2830..c5aaedf2c60a2d43550409d59c0d2f29b0c97b3d 100644 (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>;
                };
index 76134925b18624e3d3ba2fd119a50dc348e275db..0f2bf9d1e43a94d61fb1d258549d30d5d36ce386 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
        };
index 8122e11a3102538c51638cdb3253c11380fe9671..b81c787efc7d8621f11b8845a9e550a3a1502854 100644 (file)
 
                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>;
                };
        };
 
 
                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>;
                };
index 4715cecb61fe3625e2c5f35bb0e7332edcdf42c4..c6a64c05282d074023f9d156c50a9b006b85efdc 100644 (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>;
index 540ef10e2a27167ce0b654bb0e05a080f2a9099d..df64a3456f06232f1d60505859e6f4aedbbee748 100644 (file)
@@ -17,7 +17,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
index 903cbc6125f026012493f83b1f822ac98870077d..7c1ca609a79c25dbd02413009105dfa699adfd0a 100644 (file)
 
                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>;
                };
        };
index 209656232bb1749ccce96a0921657dfb30701005..a9c85ed28876ecf1c7deedf873eb7dca02a4a39a 100644 (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>;
                };
        };
 
                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";
 };
 
index 0320a45060e3ca0a774d39f37b395b38b82e0b39..9c04b5b11709fcb83e3591142c0a39d5da0d3ac6 100644 (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";
                };
index bb9fa594845fe062dabf5e11b607c4d06f16d8e4..65000c1ed47fcb50b0c6efb45a063f71d6ffcefe 100644 (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";
                };
index 2cffb9520cecdf7935e2d7d824dd0dbdaea2d791..bba8932749b19620103e9341fd60ae4e07df0b27 100644 (file)
 
                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>;
                };
        };
index 6e06ed07e897a4b624ac255af2622719bed6a4ca..530717305af15f4357dce75ae3f7bf70be14a7df 100644 (file)
 
                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>;
                };
        };
index a09cbb6ee4ed614f8e372765bb105a8777453665..1730bc62eecb22701ff752a7d6ff273208d9c71f 100644 (file)
 
                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;
        };
 };
index 0a566afffd101b32789d5b6779425af313743f0f..469674b9c6d7877c4be4366416769aa3adfe2315 100644 (file)
 
                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;
        };
 };
index b54476096725a8e6c9fe8aa11217bfbc4f24f6bd..d60aabccc1f2430fead8cd8245756e0fe34d26cb 100644 (file)
 
                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>;
                };
        };
index 0792b7fb9096ed675453e75c9c3d5df4d0478f2c..ae1b20cdcb0e92f230907b160a7e0df364129bbb 100644 (file)
 
                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>;
                };
        };
                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>;
                };
        };
 };
index 1a759bf7c35ec8d72ff52f46c8719526da3372dd..a0643307dcdb715ebb222ee74dea9a6e8355c2c8 100644 (file)
 
                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";
                };
 
                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>;
                };
        };
index 1673baabc1cec40b173caafff98a3431ed5925ab..5193a062789d3bee4367389a6e52b30f3f0f0054 100644 (file)
 
                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";
                };
 
                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>;
                };
        };
index 7bfb39212e1258b72f62c04218e4855471302eab..38b939b85071a9936708c9fd5b24325c55299a4d 100644 (file)
@@ -22,7 +22,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
index 15a4472cd8c49603eaa2860835a968800b88f3f7..224ea6377dd8cb44565a506de3cb10351cdc9940 100644 (file)
@@ -24,7 +24,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
index f3f06dd69ba6623b8a36073f695dadadafcd83a7..5c22a5c7c0937cd4773d4dd75c8e9fdd1b5f066a 100644 (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>;
                };
        };
 };
index 48de87269a10d15025124060a5b895b06276609e..6a9e5e07d2589cf4c99787f9c7a6b3060e6ac521 100644 (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>;
                };
        };
 };
index dce1c4bd4d06f7d2c8dcb1ec26072d1e57fc98ab..cf194f1ff5cae77cae706ef2b67f3d2355dd5df8 100644 (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";
                };