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/mt7621_mikrotik_rbm11g.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/mt7621_mikrotik_rbm11g.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts index 700997413b..f13a779600 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts @@ -55,8 +55,8 @@ }; keys { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + compatible = "gpio-keys"; + res { label = "reset"; gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; |