ipq806x: refresh patches
[oweals/openwrt.git] / target / linux / brcm63xx / dts / nb6-ser-r0.dts
1 /dts-v1/;
2
3 #include "bcm6362.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "SFR neufbox 6 (Sercomm)";
9         compatible = "sfr,nb6-ser-r0", "brcm,bcm6362";
10
11         chosen {
12                 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13         };
14
15         gpio-keys-polled {
16                 compatible = "gpio-keys-polled";
17                 #address-cells = <1>;
18                 #size-cells = <0>;
19                 poll-interval = <20>;
20                 debounce-interval = <60>;
21
22                 service {
23                         label = "service";
24                         gpios = <&gpio0 10 1>;
25                         linux,code = <BTN_0>;
26                 };
27                 wlan {
28                         label = "wlan";
29                         gpios = <&gpio0 12 1>;
30                         linux,code = <KEY_WLAN>;
31                 };
32                 reset {
33                         label = "reset";
34                         gpios = <&gpio0 24 1>;
35                         linux,code = <KEY_RESTART>;
36                 };
37                 wps {
38                         label = "wps";
39                         gpios = <&gpio0 25 1>;
40                         linux,code = <KEY_WPS_BUTTON>;
41                 };
42         };
43
44         switch {
45                 compatible = "realtek,rtl8367";
46                 gpio-sda = <&gpio0 18 0>;
47                 gpio-sck = <&gpio0 20 0>;
48
49                 realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
50         };
51 };