bcm63xx: replace "ok" with "okay" for status in DTS files
[oweals/openwrt.git] / target / linux / bcm63xx / dts / bcm6328-adb-a4001n1.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "ADB P.DG A4001N1";
9         compatible = "adb,a4001n1", "brcm,bcm6328";
10
11         aliases {
12                 led-boot = &led_power_green;
13                 led-failsafe = &led_power_green;
14                 led-running = &led_power_green;
15                 led-upgrade = &led_power_green;
16         };
17
18         chosen {
19                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
20                 stdout-path = "serial0:115200n8";
21         };
22
23         keys {
24                 compatible = "gpio-keys-polled";
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27                 poll-interval = <20>;
28
29                 reset {
30                         label = "reset";
31                         gpios = <&pinctrl 23 1>;
32                         linux,code = <KEY_RESTART>;
33                         debounce-interval = <60>;
34                 };
35
36                 wps {
37                         label = "wlan";
38                         gpios = <&pinctrl 24 1>;
39                         linux,code = <KEY_WLAN>;
40                         debounce-interval = <60>;
41                 };
42         };
43
44         leds {
45                 compatible = "gpio-leds";
46
47                 inet_red {
48                         label = "A4001N1:red:inet";
49                         gpios = <&pinctrl 2 1>;
50                 };
51                 ppp_green {
52                         label = "A4001N1:green:ppp";
53                         gpios = <&pinctrl 3 1>;
54                 };
55                 led_power_green: power_green {
56                         label = "A4001N1:green:power";
57                         gpios = <&pinctrl 4 1>;
58                         default-state = "on";
59                 };
60                 ppp_red {
61                         label = "A4001N1:red:ppp";
62                         gpios = <&pinctrl 5 1>;
63                 };
64                 usb_green {
65                         label = "A4001N1:green:3g";
66                         gpios = <&pinctrl 6 1>;
67                 };
68                 usb_red {
69                         label = "A4001N1:red:3g";
70                         gpios = <&pinctrl 7 1>;
71                 };
72                 power_red {
73                         label = "A4001N1:red:power";
74                         gpios = <&pinctrl 8 1>;
75                 };
76                 wlan_green {
77                         label = "A4001N1:green:wlan";
78                         gpios = <&pinctrl 9 1>;
79                 };
80                 wlan_red {
81                         label = "A4001N1:red:wlan";
82                         gpios = <&pinctrl 10 1>;
83                 };
84                 inet_green {
85                         label = "A4001N1:green:inet";
86                         gpios = <&pinctrl 11 1>;
87                 };
88                 eth_red {
89                         label = "A4001N1:red:eth";
90                         gpios = <&pinctrl 20 1>;
91                 };
92                 eth_green {
93                         label = "A4001N1:green:eth";
94                         gpios = <&pinctrl 31 1>;
95                 };
96         };
97 };
98
99 &hsspi {
100         status = "okay";
101
102         flash@0 {
103                 compatible = "jedec,spi-nor";
104                 spi-max-frequency = <16666667>;
105                 spi-tx-bus-width = <2>;
106                 spi-rx-bus-width = <2>;
107                 reg = <0>;
108
109                 #address-cells = <1>;
110                 #size-cells = <1>;
111
112                 partitions {
113                         compatible = "fixed-partitions";
114                         #address-cells = <1>;
115                         #size-cells = <1>;
116
117                         cfe@0 {
118                                 reg = <0x000000 0x010000>;
119                                 label = "cfe";
120                                 read-only;
121                         };
122
123                         linux@10000 {
124                                 reg = <0x010000 0xfe0000>;
125                                 label = "linux";
126                                 compatible = "brcm,bcm963xx-imagetag";
127                         };
128
129                         nvram@ff0000 {
130                                 reg = <0xff0000 0x010000>;
131                                 label = "nvram";
132                         };
133                 };
134         };
135 };
136
137 &uart0 {
138         status = "okay";
139 };