From: jogo Date: Sat, 25 Jul 2015 10:02:44 +0000 (+0000) Subject: CC: brcm63xx: HG553 buttons support X-Git-Tag: 15.05~53 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=f76eb9ef71177933f0030cec4e2aa7930928e59b;p=15.05%2Fopenwrt.git CC: brcm63xx: HG553 buttons support This patch adds buttons support for Huawei EchoLife HG553. Backport of r46388. Signed-off-by: Cezary Jackiewicz Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46486 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/brcm63xx/dts/hg553.dts b/target/linux/brcm63xx/dts/hg553.dts index 140e2de404..4d798246cf 100644 --- a/target/linux/brcm63xx/dts/hg553.dts +++ b/target/linux/brcm63xx/dts/hg553.dts @@ -6,6 +6,26 @@ model = "Huawei EchoLife HG553"; compatible = "huawei,hg553", "brcm,bcm6358"; + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + rfkill { + label = "rfkill"; + gpios = <&gpio0 9 1>; + linux,code = <0xf7>; + }; + + reset { + label = "reset"; + gpios = <&gpio1 5 1>; + linux,code = <0x198>; + }; + }; + gpio-leds { compatible = "gpio-leds";