bcm63xx: replace "ok" with "okay" for status in DTS files
[oweals/openwrt.git] / target / linux / bcm63xx / dts / bcm6328-comtrend-ar-5387un.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Comtrend AR-5387un";
9         compatible = "comtrend,ar-5387un", "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
37         leds {
38                 compatible = "gpio-leds";
39
40                 inet_red {
41                         label = "AR-5387un:red:inet";
42                         gpios = <&pinctrl 1 0>;
43                 };
44                 power_red {
45                         label = "AR-5387un:red:power";
46                         gpios = <&pinctrl 4 0>;
47                 };
48                 inet_green {
49                         label = "AR-5387un:green:inet";
50                         gpios = <&pinctrl 7 0>;
51                 };
52                 led_power_green: power_green {
53                         label = "AR-5387un:green:power";
54                         gpios = <&pinctrl 8 0>;
55                         default-state = "on";
56                 };
57                 dsl_green {
58                         label = "AR-5387un:green:dsl";
59                         gpios = <&pinctrl 11 1>;
60                 };
61         };
62 };
63
64 &hsspi {
65         status = "okay";
66
67         flash@0 {
68                 compatible = "jedec,spi-nor";
69                 spi-max-frequency = <16666667>;
70                 spi-tx-bus-width = <2>;
71                 spi-rx-bus-width = <2>;
72                 reg = <0>;
73
74                 #address-cells = <1>;
75                 #size-cells = <1>;
76
77                 partitions {
78                         compatible = "fixed-partitions";
79                         #address-cells = <1>;
80                         #size-cells = <1>;
81
82                         cfe@0 {
83                                 reg = <0x000000 0x010000>;
84                                 label = "cfe";
85                                 read-only;
86                         };
87
88                         linux@10000 {
89                                 reg = <0x010000 0xfe0000>;
90                                 label = "linux";
91                                 compatible = "brcm,bcm963xx-imagetag";
92                         };
93
94                         nvram@ff0000 {
95                                 reg = <0xff0000 0x010000>;
96                                 label = "nvram";
97                         };
98                 };
99         };
100 };
101
102 &uart0 {
103         status = "okay";
104 };