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