This patch adds buttons support for Huawei EchoLife HG553.
Changes:
- add empty line...
- change codes to hexadecimal 

Signed-off-by: Cezary Jackiewicz <[email protected]> 
---

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";
 


-- 
Pozdrawiam,
 Cezary Jackiewicz
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to