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 --- target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi') diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi index 0a4afd964f..b4acc3718e 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi +++ b/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 = ; }; wps { label = "wps"; - gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; + gpios = <&gpio 18 GPIO_ACTIVE_LOW>; linux,code = ; }; client { label = "client"; - gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + gpios = <&gpio 41 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; }; ap { label = "ap"; - gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; + gpios = <&gpio 42 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; }; extender { label = "extender"; - gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; + gpios = <&gpio 43 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; }; router { label = "router"; - gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; + gpios = <&gpio 44 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; }; -- cgit v1.2.3