bcm63xx: replace "ok" with "okay" for status in DTS files
[oweals/openwrt.git] / target / linux / bcm63xx / dts / bcm6368-huawei-echolife-hg655b.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Huawei EchoLife HG655b";
9         compatible = "huawei,echolife-hg655b", "brcm,bcm6368";
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                 wps {
30                         label = "wps";
31                         gpios = <&pinctrl 12 1>;
32                         linux,code = <KEY_WPS_BUTTON>;
33                         debounce-interval = <60>;
34                 };
35
36                 wlan {
37                         label = "wlan";
38                         gpios = <&pinctrl 23 1>;
39                         linux,code = <KEY_WLAN>;
40                         debounce-interval = <60>;
41                 };
42
43                 reset {
44                         label = "reset";
45                         gpios = <&pinctrl 34 1>;
46                         linux,code = <KEY_RESTART>;
47                         debounce-interval = <60>;
48                 };
49         };
50
51         leds {
52                 compatible = "gpio-leds";
53
54                 dsl_green {
55                         label = "HW65x:green:dsl";
56                         gpios = <&pinctrl 2 1>;
57                 };
58                 internet_green {
59                         label = "HW65x:green:internet";
60                         gpios = <&pinctrl 5 1>;
61                 };
62
63                 usb_green {
64                         label = "HW65x:green:usb";
65                         gpios = <&pinctrl 14 1>;
66                 };
67                 led_power_green: power_green {
68                         label = "HW65x:green:power";
69                         gpios = <&pinctrl 22 1>;
70                         default-state = "on";
71                 };
72                 voip_green {
73                         label = "HW65x:green:voip";
74                         gpios = <&pinctrl 25 1>;
75                 };
76                 wps_green {
77                         label = "HW65x:green:wps";
78                         gpios = <&pinctrl 27 1>;
79                 };
80         };
81 };
82
83 &pflash {
84         status = "okay";
85
86         partitions {
87                 compatible = "fixed-partitions";
88                 #address-cells = <1>;
89                 #size-cells = <1>;
90
91                 cfe@0 {
92                         label = "CFE";
93                         reg = <0x000000 0x020000>;
94                 };
95
96                 linux@20000 {
97                         label = "linux";
98                         reg = <0x020000 0x770000>;
99                         compatible = "brcm,bcm963xx-imagetag";
100                 };
101
102                 board_data@790000 {
103                         label = "board_data";
104                         reg = <0x790000 0x030000>;
105                 };
106
107                 cal_data@7c0000 {
108                         label = "cal_data";
109                         reg = <0x7c0000 0x020000>;
110                         read-only;
111                 };
112
113                 nvram@7d0000 {
114                         label = "nvram";
115                         reg = <0x7e0000 0x020000>;
116                 };
117         };
118 };
119
120 &pinctrl {
121         pinctrl-names = "default";
122         pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
123                      &pinctrl_ephy2_led &pinctrl_ephy3_led>;
124 };
125
126 &uart0 {
127         status = "okay";
128 };