diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-07-16 11:12:41 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-07-16 11:12:41 +0000 |
commit | fcf3e6a9ee1079924d50a7b9f843d2eb390893b0 (patch) | |
tree | 524ad5ecdbbfc60c434f34cb925672517c5ae640 /target | |
parent | 0ce7f50d46531da6af9bd83375b6b7f42b2d1c67 (diff) | |
download | master-187ad058-fcf3e6a9ee1079924d50a7b9f843d2eb390893b0.tar.gz master-187ad058-fcf3e6a9ee1079924d50a7b9f843d2eb390893b0.tar.bz2 master-187ad058-fcf3e6a9ee1079924d50a7b9f843d2eb390893b0.zip |
brcm63xx: HG553 buttons support
This patch adds buttons support for Huawei EchoLife HG553.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46388 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm63xx/dts/hg553.dts | 20 |
1 files changed, 20 insertions, 0 deletions
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"; |