9f8c2d266bb260a29c8ac410f7a12b95b7153016
[openwrt/openwrt.git] / target / linux / ramips / dts / AWM003-EVB.dts
1 /dts-v1/;
2
3 #include "AWM002-8M.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 compatible = "AWM003", "ralink,rt5350-soc";
9 model = "AsiaRF AWM003 EVB";
10
11 memory@0 {
12 device_type = "memory";
13 reg = <0x0 0x4000000>;
14 };
15
16 gpio-leds {
17 compatible = "gpio-leds";
18
19 tx {
20 label = "awm003-evb:green:tx";
21 gpios = <&gpio0 15 1>;
22 };
23
24 rx {
25 label = "awm003-evb:green:rx";
26 gpios = <&gpio0 16 1>;
27 };
28
29 wps {
30 label = "awm003-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 = <KEY_RESTART>;
45 };
46
47 mode {
48 label = "mode";
49 gpios = <&gpio0 20 1>;
50 linux,code = <ABS_MT_WIDTH_MAJOR>;
51 };
52 };
53 };
54
55 &m25p80 {
56 compatible = "jedec,spi-nor";
57 linux,modalias = "m25p80", "mx25l6405d";
58 };
59
60 &ethernet {
61 mtd-mac-address = <&factory 0x28>;
62 };
63
64 &wmac {
65 ralink,mtd-eeprom = <&factory 0>;
66 };