From 556ff0987539271647535094309605433f2aa96f Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 20 Sep 2019 14:03:02 +0200 Subject: 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 --- target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi') diff --git a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi index 68a74ede39..c728dc1bfa 100644 --- a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi +++ b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi @@ -45,6 +45,7 @@ leds { compatible = "gpio-leds"; + lan { label = "we1026-5g:green:lan"; gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; @@ -64,8 +65,8 @@ }; keys { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + compatible = "gpio-keys"; + reset { label = "reset"; gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; -- cgit v1.2.3