kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / hg520v.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Huawei EchoLife HG520v";
9 compatible = "huawei,hg520v", "brcm,bcm6358";
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 reset {
24 label = "reset";
25 gpios = <&pinctrl 37 1>;
26 linux,code = <KEY_RESTART>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 inet_green {
34 label = "HW520:green:net";
35 gpios = <&pinctrl 32 1>;
36 };
37 };
38 };
39
40 &pflash {
41 status = "ok";
42
43 linux,part-probe = "bcm63xxpart";
44
45 partitions {
46 compatible = "fixed-partitions";
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 cfe@0 {
51 label = "CFE";
52 reg = <0x000000 0x010000>;
53 read-only;
54 };
55
56 linux@10000 {
57 label = "linux";
58 reg = <0x010000 0x3e0000>;
59 compatible = "brcm,bcm963xx-imagetag";
60 };
61
62 nvram@3f0000 {
63 label = "nvram";
64 reg = <0x3f0000 0x010000>;
65 };
66 };
67 };
68
69 &uart0 {
70 status = "ok";
71 };