ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / AWM002-EVB-4M.dts
1 /dts-v1/;
2
3 /include/ "AWM002-4M.dtsi"
4
5 / {
6 model = "AsiaRF AWM002 EVB";
7
8 gpio-leds {
9 compatible = "gpio-leds";
10 tx {
11 label = "awm002-evb:green:tx";
12 gpios = <&gpio0 15 1>;
13 };
14 rx {
15 label = "awm002-evb:green:rx";
16 gpios = <&gpio0 16 1>;
17 };
18 wps {
19 label = "awm002-evb:green:wps";
20 gpios = <&gpio0 21 1>;
21 };
22 };
23
24 gpio-keys-polled {
25 compatible = "gpio-keys-polled";
26 #address-cells = <1>;
27 #size-cells = <0>;
28 poll-interval = <20>;
29 reset_wps {
30 label = "reset_wps";
31 gpios = <&gpio0 0 1>;
32 linux,code = <0x198>;
33 };
34 mode {
35 label = "mode";
36 gpios = <&gpio0 21 1>;
37 linux,code = <0x32>;
38 };
39 };
40 };