kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer
[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 = "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 linux,part-probe = "bcm63xxpart";
68
69 partitions {
70 compatible = "fixed-partitions";
71 #address-cells = <1>;
72 #size-cells = <1>;
73
74 cfe@0 {
75 reg = <0x000000 0x010000>;
76 label = "cfe";
77 read-only;
78 };
79
80 linux@10000 {
81 reg = <0x010000 0xfe0000>;
82 label = "linux";
83 compatible = "brcm,bcm963xx-imagetag";
84 };
85
86 nvram@ff0000 {
87 reg = <0xff0000 0x010000>;
88 label = "nvram";
89 };
90 };
91 };
92 };
93
94 &uart0 {
95 status = "ok";
96 };