brcm63xx: use more systematic names for image and DTS files
[oweals/openwrt.git] / target / linux / brcm63xx / dts / bcm6328-nucom-r5010un-v2.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "NuCom R5010UN v2";
9         compatible = "nucom,r5010un-v2", "brcm,bcm6328";
10
11         chosen {
12                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16
17         keys {
18                 compatible = "gpio-keys-polled";
19                 #address-cells = <1>;
20                 #size-cells = <0>;
21                 poll-interval = <20>;
22
23                 reset {
24                         label = "reset";
25                         gpios = <&pinctrl 23 1>;
26                         linux,code = <KEY_RESTART>;
27                         debounce-interval = <60>;
28                 };
29
30                 wps {
31                         label = "wps";
32                         gpios = <&pinctrl 24 1>;
33                         linux,code = <KEY_WPS_BUTTON>;
34                         debounce-interval = <60>;
35                 };
36         };
37
38         leds {
39                 compatible = "gpio-leds";
40
41                 inet_green {
42                         label = "R5010UNv2:green:inet";
43                         gpios = <&pinctrl 1 1>;
44                 };
45                 inet_fail_red {
46                         label = "R5010UNv2:red:inet-fail";
47                         gpios = <&pinctrl 2 1>;
48                 };
49                 dsl_red {
50                         label = "R5010UNv2:green:dsl";
51                         gpios = <&pinctrl 3 1>;
52                 };
53                 power_green {
54                         label = "R5010UNv2:green:power";
55                         gpios = <&pinctrl 4 1>;
56                         default-state = "on";
57                 };
58                 power_fail_red {
59                         label = "R5010UNv2:red:power-fail";
60                         gpios = <&pinctrl 5 1>;
61                 };
62                 wps_green {
63                         label = "R5010UNv2:green:wps";
64                         gpios = <&pinctrl 10 1>;
65                 };
66                 usb_green {
67                         label = "R5010UNv2:green:usb";
68                         gpios = <&pinctrl 11 1>;
69                 };
70         };
71 };
72
73 &hsspi {
74         status = "ok";
75
76         flash@0 {
77                 compatible = "jedec,spi-nor";
78                 spi-max-frequency = <16666667>;
79                 spi-tx-bus-width = <2>;
80                 spi-rx-bus-width = <2>;
81                 reg = <0>;
82
83                 #address-cells = <1>;
84                 #size-cells = <1>;
85
86                 partitions {
87                         compatible = "fixed-partitions";
88                         #address-cells = <1>;
89                         #size-cells = <1>;
90
91                         cfe@0 {
92                                 reg = <0x000000 0x010000>;
93                                 label = "cfe";
94                                 read-only;
95                         };
96
97                         linux@10000 {
98                                 reg = <0x010000 0x7e0000>;
99                                 label = "linux";
100                                 compatible = "brcm,bcm963xx-imagetag";
101                         };
102
103                         nvram@7f0000 {
104                                 reg = <0x7f0000 0x010000>;
105                                 label = "nvram";
106                         };
107                 };
108         };
109 };
110
111 &uart0 {
112         status = "ok";
113 };