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_edimax_br-6478ac-v2.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts') diff --git a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts index 8f87212902..43698d9fd6 100644 --- a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts +++ b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts @@ -34,8 +34,7 @@ }; keys { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + compatible = "gpio-keys"; reset_wps { label = "reset_wps"; @@ -51,14 +50,17 @@ label = "br-6478ac-v2:white:power"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; + internet { label = "br-6478ac-v2:blue:internet"; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; + wlan { label = "br-6478ac-v2:blue:wlan"; gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; }; + usb { label = "br-6478ac-v2:blue:usb"; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; -- cgit v1.2.3