bcm63xx: replace "ok" with "okay" for status in DTS files
[oweals/openwrt.git] / target / linux / bcm63xx / dts / bcm6368-adb-av4202n.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         model = "ADB P.DG AV4202N";
10         compatible = "adb,av4202n", "brcm,bcm6368";
11
12         aliases {
13                 led-boot = &led_power_white;
14                 led-failsafe = &led_power_white;
15                 led-running = &led_power_white;
16                 led-upgrade = &led_power_white;
17         };
18
19         chosen {
20                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
21                 stdout-path = "serial0:115200n8";
22         };
23
24         keys {
25                 compatible = "gpio-keys-polled";
26                 #address-cells = <1>;
27                 #size-cells = <0>;
28                 poll-interval = <20>;
29
30                 reset {
31                         label = "reset";
32                         gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>;
33                         linux,code = <KEY_RESTART>;
34                         debounce-interval = <60>;
35                 };
36
37                 wlan {
38                         label = "wlan";
39                         gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>;
40                         linux,code = <KEY_WLAN>;
41                         debounce-interval = <60>;
42                 };
43         };
44
45         leds {
46                 compatible = "gpio-leds";
47
48                 led_power_white: power_white {
49                         label = "AV4202N:white:power";
50                         gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>;
51                         default-state = "on";
52                 };
53                 power_red {
54                         label = "AV4202N:red:power";
55                         gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
56                 };
57                 wan_white {
58                         label = "AV4202N:white:wan";
59                         gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
60                 };
61                 wan_red {
62                         label = "AV4202N:red:wan";
63                         gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>;
64                 };
65                 phone_white {
66                         label = "AV4202N:white:phone";
67                         gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>;
68                 };
69                 phone_red {
70                         label = "AV4202N:red:phone";
71                         gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
72                 };
73                 wifi {
74                         label = "AV4202N:blue:wifi";
75                         gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>;
76                 };
77         };
78 };
79
80 &pflash {
81         status = "okay";
82
83         partitions {
84                 compatible = "fixed-partitions";
85                 #address-cells = <1>;
86                 #size-cells = <1>;
87
88                 cfe@0 {
89                         label = "CFE";
90                         reg = <0x000000 0x020000>;
91                         read-only;
92                 };
93
94                 linux@20000 {
95                         label = "linux";
96                         reg = <0x020000 0xfc0000>;
97                         compatible = "brcm,bcm963xx-imagetag";
98                 };
99
100                 nvram@fe0000 {
101                         label = "nvram";
102                         reg = <0xfe0000 0x020000>;
103                 };
104         };
105 };
106
107 &uart0 {
108         status = "okay";
109 };