rpcd: iwinfo plugin fixes
[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         gpio-keys-polled {
12                 compatible = "gpio-keys-polled";
13                 #address-cells = <1>;
14                 #size-cells = <0>;
15                 poll-interval = <20>;
16                 debounce-interval = <60>;
17
18                 wlan {
19                         label = "wlan";
20                         gpios = <&gpio1 0 1>;
21                         linux,code = <KEY_WLAN>;
22                 };
23                 reset {
24                         label = "reset";
25                         gpios = <&gpio1 2 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28                 wps {
29                         label = "wps";
30                         gpios = <&gpio1 3 1>;
31                         linux,code = <KEY_WPS_BUTTON>;
32                 };
33         };
34
35         gpio-leds {
36                 compatible = "gpio-leds";
37
38                 inet_green {
39                         label = "WAP-5813n:green:inet";
40                         gpios = <&gpio0 5 0>;
41                 };
42                 power_green {
43                         label = "WAP-5813n:green:power";
44                         gpios = <&gpio0 22 0>;
45                         default-state = "on";
46                 };
47                 wps_green {
48                         label = "WAP-5813n:green:wps";
49                         gpios = <&gpio0 23 1>;
50                 };
51                 power_red {
52                         label = "WAP-5813n:red:power";
53                         gpios = <&gpio0 24 0>;
54                 };
55                 inet_red {
56                         label = "WAP-5813n:red:inet";
57                         gpios = <&gpio0 31 0>;
58                 };
59         };
60 };
61
62 &pflash {
63         status = "ok";
64
65         linux,part-probe = "bcm63xxpart";
66
67         cfe@0 {
68                 label = "CFE";
69                 reg = <0x000000 0x010000>;
70                 read-only;
71         };
72
73         linux@10000 {
74                 label = "linux";
75                 reg = <0x010000 0x7e0000>;
76         };
77
78         nvram@7f0000 {
79                 label = "nvram";
80                 reg = <0x7f0000 0x010000>;
81         };
82 };