a8afab80e46d7d4e95a6e138d8a334bd692e556f
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / AWM002-EVB-4M.dts
1 /dts-v1/;
2
3 #include "AWM002-4M.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "AsiaRF AWM002 EVB (4M)";
9
10 gpio-leds {
11 compatible = "gpio-leds";
12
13 tx {
14 label = "awm002-evb:green:tx";
15 gpios = <&gpio0 15 1>;
16 };
17
18 rx {
19 label = "awm002-evb:green:rx";
20 gpios = <&gpio0 16 1>;
21 };
22
23 wps {
24 label = "awm002-evb:green:wps";
25 gpios = <&gpio0 21 1>;
26 };
27 };
28
29 gpio-keys-polled {
30 compatible = "gpio-keys-polled";
31 #address-cells = <1>;
32 #size-cells = <0>;
33 poll-interval = <20>;
34
35 reset_wps {
36 label = "reset_wps";
37 gpios = <&gpio0 0 1>;
38 linux,code = <KEY_RESTART>;
39 };
40
41 mode {
42 label = "mode";
43 gpios = <&gpio0 20 1>;
44 linux,code = <BTN_0>;
45 };
46 };
47 };
48
49 &ethernet {
50 mtd-mac-address = <&factory 0x28>;
51 };
52
53 &wmac {
54 ralink,mtd-eeprom = <&factory 0>;
55 };