This patch adds buttons support for Huawei EchoLife HG553.
Backport of r46388.
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/branches/chaos_calmer@46486
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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";