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