bcm63xx: replace "ok" with "okay" for status in DTS files
[oweals/openwrt.git] / target / linux / bcm63xx / dts / bcm6358-telsey-cpva642.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Telsey CPVA642-type (CPA-ZNTE60T)";
9         compatible = "telsey,cpva642", "brcm,bcm6358";
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 36 1>;
32                         linux,code = <KEY_RESTART>;
33                         debounce-interval = <60>;
34                 };
35
36                 wps {
37                         label = "wps";
38                         gpios = <&pinctrl 37 0>;
39                         linux,code = <KEY_WPS_BUTTON>;
40                         debounce-interval = <60>;
41                 };
42         };
43
44         leds {
45                 compatible = "gpio-leds";
46
47                 eth_green {
48                         label = "CPVA642:green:ether";
49                         gpios = <&pinctrl 1 1>;
50                 };
51                 phone2_green {
52                         label = "CPVA642:green:phone2";
53                         gpios = <&pinctrl 2 1>;
54                 };
55                 usb_green {
56                         label = "CPVA642:green:usb";
57                         gpios = <&pinctrl 3 1>;
58                 };
59                 phone1_green {
60                         label = "CPVA642:green:phone1";
61                         gpios = <&pinctrl 4 1>;
62                 };
63                 wifi_red {
64                         label = "CPVA642:red:wifi";
65                         gpios = <&pinctrl 6 1>;
66                 };
67                 link_red {
68                         label = "CPVA642:red:link";
69                         gpios = <&pinctrl 9 1>;
70                 };
71                 link_green {
72                         label = "CPVA642:green:link";
73                         gpios = <&pinctrl 10 1>;
74                 };
75                 led_power_green: power_green {
76                         label = "CPVA642:green:power";
77                         gpios = <&pinctrl 11 1>;
78                         default-state = "on";
79                 };
80                 power_red {
81                         label = "CPVA642:red:power";
82                         gpios = <&pinctrl 14 1>;
83                 };
84                 wifi_green {
85                         label = "CPVA642:green:wifi";
86                         gpios = <&pinctrl 28 0>;
87                 };
88         };
89 };
90
91 &pflash {
92         status = "okay";
93
94         partitions {
95                 compatible = "fixed-partitions";
96                 #address-cells = <1>;
97                 #size-cells = <1>;
98
99                 cfe@0 {
100                         label = "CFE";
101                         reg = <0x000000 0x010000>;
102                         read-only;
103                 };
104
105                 linux@10000 {
106                         label = "linux";
107                         reg = <0x010000 0x7e0000>;
108                         compatible = "brcm,bcm963xx-imagetag";
109                 };
110
111                 nvram@7f0000 {
112                         label = "nvram";
113                         reg = <0x7f0000 0x010000>;
114                 };
115         };
116 };
117
118 &uart0 {
119         status = "okay";
120 };