Merge pull request #580 from wigyori/cc-libpcap
[15.05/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         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                 tx {
19                         label = "awm002-evb:green:tx";
20                         gpios = <&gpio0 15 1>;
21                 };
22                 rx {
23                         label = "awm002-evb:green:rx";
24                         gpios = <&gpio0 16 1>;
25                 };
26                 wps {
27                         label = "awm002-evb:green:wps";
28                         gpios = <&gpio0 21 1>;
29                 };
30         };
31
32         gpio-keys-polled {
33                 compatible = "gpio-keys-polled";
34                 #address-cells = <1>;
35                 #size-cells = <0>;
36                 poll-interval = <20>;
37                 reset_wps {
38                         label = "reset_wps";
39                         gpios = <&gpio0 0 1>;
40                         linux,code = <0x198>;
41                 };
42                 mode {
43                         label = "mode";
44                         gpios = <&gpio0 20 1>;
45                         linux,code = <0x32>;
46                 };
47         };
48 };