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 | 491cfb06d0d2c32178d97adc0f84536a385af22d (patch) | |
tree | b33a2e85d5b4e44e14905e3400288ecb56bca898 /target | |
parent | 30f9eb4cefdbf645007e86c2da7b342e0b98c29e (diff) | |
download | mtk-20170518-491cfb06d0d2c32178d97adc0f84536a385af22d.zip mtk-20170518-491cfb06d0d2c32178d97adc0f84536a385af22d.tar.gz mtk-20170518-491cfb06d0d2c32178d97adc0f84536a385af22d.tar.bz2 |
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>
SVN-Revision: 46388
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 140e2de..4d79824 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"; |