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