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