diff options
Diffstat (limited to 'target/linux/brcm63xx/dts/hg520v.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/hg520v.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/hg520v.dts b/target/linux/brcm63xx/dts/hg520v.dts index bc8af33..88647fa 100644 --- a/target/linux/brcm63xx/dts/hg520v.dts +++ b/target/linux/brcm63xx/dts/hg520v.dts @@ -5,6 +5,29 @@ / { model = "Huawei EchoLife HG520v"; compatible = "huawei,hg520v", "brcm,bcm6358"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + reset { + label = "reset"; + gpios = <&gpio1 5 1>; + linux,code = <0x198>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + inet_green { + label = "HW520:green:net"; + gpios = <&gpio1 0 1>; + }; + }; }; &pflash { |