ipq806x: refresh patches
[oweals/openwrt.git] / target / linux / brcm63xx / dts / wap-5813n.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Comtrend WAP-5813n";
9         compatible = "comtrend,wap-5813n", "brcm,bcm6368";
10
11         chosen {
12                 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13         };
14
15         gpio-keys-polled {
16                 compatible = "gpio-keys-polled";
17                 #address-cells = <1>;
18                 #size-cells = <0>;
19                 poll-interval = <20>;
20                 debounce-interval = <60>;
21
22                 wlan {
23                         label = "wlan";
24                         gpios = <&gpio1 0 1>;
25                         linux,code = <KEY_WLAN>;
26                 };
27                 reset {
28                         label = "reset";
29                         gpios = <&gpio1 2 1>;
30                         linux,code = <KEY_RESTART>;
31                 };
32                 wps {
33                         label = "wps";
34                         gpios = <&gpio1 3 1>;
35                         linux,code = <KEY_WPS_BUTTON>;
36                 };
37         };
38
39         gpio-leds {
40                 compatible = "gpio-leds";
41
42                 inet_green {
43                         label = "WAP-5813n:green:inet";
44                         gpios = <&gpio0 5 0>;
45                 };
46                 power_green {
47                         label = "WAP-5813n:green:power";
48                         gpios = <&gpio0 22 0>;
49                         default-state = "on";
50                 };
51                 wps_green {
52                         label = "WAP-5813n:green:wps";
53                         gpios = <&gpio0 23 1>;
54                 };
55                 power_red {
56                         label = "WAP-5813n:red:power";
57                         gpios = <&gpio0 24 0>;
58                 };
59                 inet_red {
60                         label = "WAP-5813n:red:inet";
61                         gpios = <&gpio0 31 0>;
62                 };
63         };
64 };
65
66 &pflash {
67         status = "ok";
68
69         linux,part-probe = "bcm63xxpart";
70
71         cfe@0 {
72                 label = "CFE";
73                 reg = <0x000000 0x010000>;
74                 read-only;
75         };
76
77         linux@10000 {
78                 label = "linux";
79                 reg = <0x010000 0x7e0000>;
80         };
81
82         nvram@7f0000 {
83                 label = "nvram";
84                 reg = <0x7f0000 0x010000>;
85         };
86 };