Browse Source

ramips: mt7621: convert GPIO dts refs

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

Signed-off-by: DENG Qingfang <[email protected]>
DENG Qingfang 6 years ago
parent
commit
60f691dae4
70 changed files with 374 additions and 374 deletions
  1. 2 2
      target/linux/ramips/dts/mt7621_adslr_g7.dts
  2. 3 3
      target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
  3. 19 19
      target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
  4. 3 3
      target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi
  5. 5 5
      target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts
  6. 5 5
      target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
  7. 15 15
      target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
  8. 15 15
      target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
  9. 10 10
      target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
  10. 10 10
      target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
  11. 6 6
      target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
  12. 4 4
      target/linux/ramips/dts/mt7621_edimax_ra21s.dts
  13. 4 4
      target/linux/ramips/dts/mt7621_edimax_rg21s.dts
  14. 2 2
      target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi
  15. 8 8
      target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
  16. 10 10
      target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi
  17. 3 3
      target/linux/ramips/dts/mt7621_firefly_firewrt.dts
  18. 3 3
      target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
  19. 5 5
      target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
  20. 7 7
      target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
  21. 3 3
      target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts
  22. 6 6
      target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
  23. 6 6
      target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts
  24. 5 5
      target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi
  25. 7 7
      target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts
  26. 6 6
      target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts
  27. 5 5
      target/linux/ramips/dts/mt7621_iptime_a8004t.dts
  28. 5 5
      target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
  29. 6 6
      target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
  30. 4 4
      target/linux/ramips/dts/mt7621_linksys_re6500.dts
  31. 6 6
      target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts
  32. 8 8
      target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts
  33. 6 6
      target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
  34. 1 1
      target/linux/ramips/dts/mt7621_mqmaker_witi.dts
  35. 5 5
      target/linux/ramips/dts/mt7621_mtc_wr1201.dts
  36. 12 12
      target/linux/ramips/dts/mt7621_netgear_ex6150.dts
  37. 2 2
      target/linux/ramips/dts/mt7621_netgear_r6700-v2.dts
  38. 2 2
      target/linux/ramips/dts/mt7621_netgear_r6800.dts
  39. 9 9
      target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
  40. 3 3
      target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
  41. 7 7
      target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
  42. 3 3
      target/linux/ramips/dts/mt7621_netis_wf2881.dts
  43. 4 4
      target/linux/ramips/dts/mt7621_phicomm_k2p.dts
  44. 2 2
      target/linux/ramips/dts/mt7621_planex_vr500.dts
  45. 4 4
      target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts
  46. 3 3
      target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
  47. 11 11
      target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
  48. 4 4
      target/linux/ramips/dts/mt7621_thunder_timecloud.dts
  49. 2 2
      target/linux/ramips/dts/mt7621_totolink_a7000r.dts
  50. 11 11
      target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
  51. 11 11
      target/linux/ramips/dts/mt7621_tplink_re650-v1.dts
  52. 2 2
      target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts
  53. 1 1
      target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
  54. 3 3
      target/linux/ramips/dts/mt7621_ubnt_unifi-nanohd.dts
  55. 6 6
      target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
  56. 1 1
      target/linux/ramips/dts/mt7621_wevo_11acnas.dts
  57. 1 1
      target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts
  58. 2 2
      target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dtsi
  59. 3 3
      target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts
  60. 8 8
      target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts
  61. 9 9
      target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
  62. 3 3
      target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts
  63. 9 9
      target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts
  64. 6 6
      target/linux/ramips/dts/mt7621_youhua_wr1200js.dts
  65. 5 5
      target/linux/ramips/dts/mt7621_youku_yk-l2.dts
  66. 1 1
      target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts
  67. 1 1
      target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts
  68. 2 2
      target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
  69. 2 2
      target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
  70. 1 1
      target/linux/ramips/dts/mt7621_zio_freezio.dts

+ 2 - 2
target/linux/ramips/dts/mt7621_adslr_g7.dts

@@ -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>;
 		};

+ 3 - 3
target/linux/ramips/dts/mt7621_afoundry_ew1200.dts

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

+ 19 - 19
target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts

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

+ 3 - 3
target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi

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

+ 5 - 5
target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts

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

+ 5 - 5
target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi

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

+ 15 - 15
target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts

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

+ 15 - 15
target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts

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

+ 10 - 10
target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts

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

+ 10 - 10
target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts

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

+ 4 - 4
target/linux/ramips/dts/mt7621_edimax_ra21s.dts

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

+ 4 - 4
target/linux/ramips/dts/mt7621_edimax_rg21s.dts

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

+ 2 - 2
target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi

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

+ 8 - 8
target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts

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

+ 10 - 10
target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi

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

+ 3 - 3
target/linux/ramips/dts/mt7621_firefly_firewrt.dts

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

+ 3 - 3
target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts

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

+ 5 - 5
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts

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

+ 7 - 7
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts

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

+ 3 - 3
target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts

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

+ 5 - 5
target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi

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

+ 7 - 7
target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts

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

+ 5 - 5
target/linux/ramips/dts/mt7621_iptime_a8004t.dts

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

+ 5 - 5
target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts

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

+ 4 - 4
target/linux/ramips/dts/mt7621_linksys_re6500.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts

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

+ 8 - 8
target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts

@@ -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;
 	};

+ 1 - 1
target/linux/ramips/dts/mt7621_mqmaker_witi.dts

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

+ 5 - 5
target/linux/ramips/dts/mt7621_mtc_wr1201.dts

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

+ 12 - 12
target/linux/ramips/dts/mt7621_netgear_ex6150.dts

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

+ 2 - 2
target/linux/ramips/dts/mt7621_netgear_r6700-v2.dts

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

+ 2 - 2
target/linux/ramips/dts/mt7621_netgear_r6800.dts

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

+ 9 - 9
target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi

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

+ 3 - 3
target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi

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

+ 7 - 7
target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi

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

+ 3 - 3
target/linux/ramips/dts/mt7621_netis_wf2881.dts

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

+ 4 - 4
target/linux/ramips/dts/mt7621_phicomm_k2p.dts

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

+ 2 - 2
target/linux/ramips/dts/mt7621_planex_vr500.dts

@@ -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>;
 		};
 	};

+ 4 - 4
target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts

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

+ 3 - 3
target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts

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

+ 11 - 11
target/linux/ramips/dts/mt7621_telco-electronics_x1.dts

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

+ 4 - 4
target/linux/ramips/dts/mt7621_thunder_timecloud.dts

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

+ 2 - 2
target/linux/ramips/dts/mt7621_totolink_a7000r.dts

@@ -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>;
 		};

+ 11 - 11
target/linux/ramips/dts/mt7621_tplink_re350-v1.dts

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

+ 11 - 11
target/linux/ramips/dts/mt7621_tplink_re650-v1.dts

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

+ 2 - 2
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts

@@ -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>;

+ 1 - 1
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi

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

+ 3 - 3
target/linux/ramips/dts/mt7621_ubnt_unifi-nanohd.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi

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

+ 1 - 1
target/linux/ramips/dts/mt7621_wevo_11acnas.dts

@@ -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";
 		};

+ 1 - 1
target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts

@@ -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";
 		};

+ 2 - 2
target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dtsi

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

+ 3 - 3
target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts

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

+ 8 - 8
target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts

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

+ 9 - 9
target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts

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

+ 3 - 3
target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts

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

+ 9 - 9
target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts

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

+ 6 - 6
target/linux/ramips/dts/mt7621_youhua_wr1200js.dts

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

+ 5 - 5
target/linux/ramips/dts/mt7621_youku_yk-l2.dts

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

+ 1 - 1
target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts

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

+ 1 - 1
target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts

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

+ 2 - 2
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts

@@ -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>;
 		};
 	};
 };

+ 2 - 2
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi

@@ -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>;
 		};
 	};
 };

+ 1 - 1
target/linux/ramips/dts/mt7621_zio_freezio.dts

@@ -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";
 		};