fe2ff1aa00e20a6d90ce8925793f27882e22c752
[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 ethernet@10100000 {
9 mtd-mac-address = <&factory 0x28>;
10 };
11
12 wmac@10180000 {
13 ralink,mtd-eeprom = <&factory 0>;
14 };
15
16 gpio-leds {
17 compatible = "gpio-leds";
18
19 tx {
20 label = "awm002-evb:green:tx";
21 gpios = <&gpio0 15 1>;
22 };
23
24 rx {
25 label = "awm002-evb:green:rx";
26 gpios = <&gpio0 16 1>;
27 };
28
29 wps {
30 label = "awm002-evb:green:wps";
31 gpios = <&gpio0 21 1>;
32 };
33 };
34
35 gpio-keys-polled {
36 compatible = "gpio-keys-polled";
37 #address-cells = <1>;
38 #size-cells = <0>;
39 poll-interval = <20>;
40
41 reset_wps {
42 label = "reset_wps";
43 gpios = <&gpio0 0 1>;
44 linux,code = <0x198>;
45 };
46
47 mode {
48 label = "mode";
49 gpios = <&gpio0 20 1>;
50 linux,code = <0x32>;
51 };
52 };
53 };