brcm63xx: move bcm6318 reference boards to DT
[oweals/openwrt.git] / target / linux / brcm63xx / dts / nb6-ser-r0.dts
index ea3b1fafa51886f59d56f37b804c49f2f962630e..ae16ad3965c24022038be17adc5cad90a6b6cc44 100644 (file)
@@ -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>;
+               };
+       };
 };