X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm63xx%2Fdts%2Fnb6-ser-r0.dts;h=ae16ad3965c24022038be17adc5cad90a6b6cc44;hb=f77b44605157d5eafcc9a4328a052cbccef240a5;hp=ea3b1fafa51886f59d56f37b804c49f2f962630e;hpb=862f7fccb00cf5641c056dc5f23a0d85276bf26d;p=oweals%2Fopenwrt.git diff --git a/target/linux/brcm63xx/dts/nb6-ser-r0.dts b/target/linux/brcm63xx/dts/nb6-ser-r0.dts index ea3b1fafa5..ae16ad3965 100644 --- a/target/linux/brcm63xx/dts/nb6-ser-r0.dts +++ b/target/linux/brcm63xx/dts/nb6-ser-r0.dts @@ -5,4 +5,33 @@ / { model = "SFR neufbox 6 (Sercomm)"; compatible = "sfr,nb6-ser-r0", "brcm,bcm6362"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + service { + label = "service"; + gpios = <&gpio0 10 1>; + linux,code = <0x100>; + }; + wlan { + label = "wlan"; + gpios = <&gpio0 12 1>; + linux,code = <0xee>; + }; + reset { + label = "reset"; + gpios = <&gpio0 24 1>; + linux,code = <0x198>; + }; + wps { + label = "wps"; + gpios = <&gpio0 25 1>; + linux,code = <0x211>; + }; + }; };