8fb434f344e0c58b50dac80eabb99d93a6bb6485
[openwrt/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 = <&pinctrl 10 1>;
25 linux,code = <BTN_0>;
26 };
27 wlan {
28 label = "wlan";
29 gpios = <&pinctrl 12 1>;
30 linux,code = <KEY_WLAN>;
31 };
32 reset {
33 label = "reset";
34 gpios = <&pinctrl 24 1>;
35 linux,code = <KEY_RESTART>;
36 };
37 wps {
38 label = "wps";
39 gpios = <&pinctrl 25 1>;
40 linux,code = <KEY_WPS_BUTTON>;
41 };
42 };
43
44 switch {
45 compatible = "realtek,rtl8367";
46 gpio-sda = <&pinctrl 18 0>;
47 gpio-sck = <&pinctrl 20 0>;
48
49 realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
50 };
51 };
52
53 &hsspi {
54 status = "ok";
55
56 flash@0 {
57 compatible = "jedec,spi-nor";
58 spi-max-frequency = <20000000>;
59 spi-tx-bus-width = <2>;
60 spi-rx-bus-width = <2>;
61 reg = <0>;
62
63 #address-cells = <1>;
64 #size-cells = <1>;
65
66 linux,part-probe = "bcm63xxpart";
67
68 cfe@0 {
69 reg = <0x000000 0x010000>;
70 label = "cfe";
71 read-only;
72 };
73
74 linux@10000 {
75 reg = <0x010000 0xfe0000>;
76 label = "linux";
77 };
78
79 nvram@ff0000 {
80 reg = <0xff0000 0x010000>;
81 label = "nvram";
82 };
83 };
84 };