From 60f691dae4654a38430cf87abaff497429a28271 Mon Sep 17 00:00:00 2001 From: DENG Qingfang Date: Wed, 4 Mar 2020 05:22:24 +0800 Subject: 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 --- .../ramips/dts/mt7621_buffalo_wsr-1166dhp.dts | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts') diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts index b67e430e5f..4ea2464219 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts +++ b/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 = ; }; reset { label = "reset"; - gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; + gpios = <&gpio 3 GPIO_ACTIVE_LOW>; linux,code = ; }; aoss { label = "aoss"; - gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; + gpios = <&gpio 6 GPIO_ACTIVE_LOW>; linux,code = ; }; auto { label = "mode"; - gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; linux,code = ; linux,input-type = ; }; ap { label = "ap"; - gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 10 GPIO_ACTIVE_HIGH>; linux,code = ; linux,input-type = ; }; router { label = "router"; - gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 12 GPIO_ACTIVE_HIGH>; linux,code = ; linux,input-type = ; }; @@ -109,7 +109,7 @@ gpio_poweroff { compatible = "gpio-poweroff"; - gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; + gpios = <&gpio 0 GPIO_ACTIVE_LOW>; }; }; -- cgit v1.2.3