031aff0748a2df1fc7bed2002a6081ab58b2156e
[oweals/openwrt.git] / target / linux / brcm63xx / dts / bcm6362-sfr-neufbox-6-sercomm-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,neufbox-6-sercomm-r0", "brcm,bcm6362";
10
11         chosen {
12                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         keys {
17                 compatible = "gpio-keys-polled";
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20                 poll-interval = <20>;
21
22                 service {
23                         label = "service";
24                         gpios = <&pinctrl 10 1>;
25                         linux,code = <BTN_0>;
26                         debounce-interval = <60>;
27                 };
28
29                 wlan {
30                         label = "wlan";
31                         gpios = <&pinctrl 12 1>;
32                         linux,code = <KEY_WLAN>;
33                         debounce-interval = <60>;
34                 };
35
36                 reset {
37                         label = "reset";
38                         gpios = <&pinctrl 24 1>;
39                         linux,code = <KEY_RESTART>;
40                         debounce-interval = <60>;
41                 };
42
43                 wps {
44                         label = "wps";
45                         gpios = <&pinctrl 25 1>;
46                         linux,code = <KEY_WPS_BUTTON>;
47                         debounce-interval = <60>;
48                 };
49         };
50
51         switch {
52                 compatible = "realtek,rtl8367";
53                 gpio-sda = <&pinctrl 18 0>;
54                 gpio-sck = <&pinctrl 20 0>;
55
56                 realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
57         };
58 };
59
60 &hsspi {
61         status = "ok";
62
63         flash@0 {
64                 compatible = "jedec,spi-nor";
65                 spi-max-frequency = <20000000>;
66                 spi-tx-bus-width = <2>;
67                 spi-rx-bus-width = <2>;
68                 reg = <0>;
69
70                 #address-cells = <1>;
71                 #size-cells = <1>;
72
73                 partitions {
74                         compatible = "fixed-partitions";
75                         #address-cells = <1>;
76                         #size-cells = <1>;
77
78                         cfe@0 {
79                                 reg = <0x000000 0x010000>;
80                                 label = "cfe";
81                                 read-only;
82                         };
83
84                         linux@10000 {
85                                 reg = <0x010000 0xfe0000>;
86                                 label = "linux";
87                                 compatible = "brcm,bcm963xx-imagetag";
88                         };
89
90                         nvram@ff0000 {
91                                 reg = <0xff0000 0x010000>;
92                                 label = "nvram";
93                         };
94                 };
95         };
96 };
97
98 &uart0 {
99         status = "ok";
100 };