diff options
author | DENG Qingfang <dengqf6@mail2.sysu.edu.cn> | 2020-03-04 05:22:24 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-04-04 14:13:05 +0800 |
commit | 60f691dae4654a38430cf87abaff497429a28271 (patch) | |
tree | 12f99f634b8fcb48d071932b5a5fb2c83d9206d3 /target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts | |
parent | 783fc8e55354cc2f6a5891c2c5647a6179ddd86f (diff) | |
download | upstream-60f691dae4654a38430cf87abaff497429a28271.tar.gz upstream-60f691dae4654a38430cf87abaff497429a28271.tar.bz2 upstream-60f691dae4654a38430cf87abaff497429a28271.zip |
ramips: mt7621: convert GPIO dts refs
The upstream driver does not use &gpio0..2 banks notation anymore,
so convert them to &gpio
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts index 60b6395c17..022e8faaab 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts +++ b/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; |