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