diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-09-20 14:03:02 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2019-10-21 14:19:32 +0200 |
commit | 556ff0987539271647535094309605433f2aa96f (patch) | |
tree | bfa686d602df8d07a1fb1d502ee482581439215f /target/linux/ramips/dts/mt7628an_totolink_lr1200.dts | |
parent | 02330a655676bbb0432e5fc30bfe7fdd21a9c9c9 (diff) | |
download | upstream-556ff0987539271647535094309605433f2aa96f.tar.gz upstream-556ff0987539271647535094309605433f2aa96f.tar.bz2 upstream-556ff0987539271647535094309605433f2aa96f.zip |
ramips/mt762x: convert devices to interrupt-driven gpio-keys
This converts all remaining devices to use interrupt-driven
gpio-keys compatible instead of gpio-keys-polled.
The poll-interval is removed.
While at it, add/remove newlines in keys and leds node where
necessary.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_totolink_lr1200.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_totolink_lr1200.dts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts b/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts index c2aac3edf4..4a712e917a 100644 --- a/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts +++ b/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts @@ -24,35 +24,43 @@ label = "lr1200:blue:sys"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; + sms { label = "lr1200:blue:sms"; gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; }; + wifi { label = "lr1200:blue:wifi"; gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; }; + 3g { label = "lr1200:blue:3g"; gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; }; + 4g { label = "lr1200:blue:4g"; gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; }; + rssi1 { label = "lr1200:blue:rssi1"; gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; }; + rssi2 { label = "lr1200:blue:rssi2"; gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; }; + rssi3 { label = "lr1200:blue:rssi3"; gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; }; + rssi4 { label = "lr1200:blue:rssi4"; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; @@ -60,8 +68,7 @@ }; keys { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + compatible = "gpio-keys"; reset { label = "reset"; |