ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
[oweals/openwrt.git] / target / linux / ramips / dts / AWM003-EVB.dts
1 /dts-v1/;
2
3 /include/ "AWM002-8M.dtsi"
4
5 / {
6         compatible = "AWM003", "ralink,rt5350-soc";
7         model = "AsiaRF AWM003 EVB";
8
9         memory@0 {
10                 device_type = "memory";
11                 reg = <0x0 0x4000000>;
12         };
13
14         palmbus@10000000 {
15                 spi@b00 {
16                         m25p80@0 {
17                                 compatible = "jedec,spi-nor";
18                                 linux,modalias = "m25p80", "mx25l6405d";
19                         };
20                 };
21         };
22
23         ethernet@10100000 {
24                 mtd-mac-address = <&factory 0x28>;
25         };
26
27         wmac@10180000 {
28                 ralink,mtd-eeprom = <&factory 0>;
29         };
30
31         gpio-leds {
32                 compatible = "gpio-leds";
33
34                 tx {
35                         label = "awm003-evb:green:tx";
36                         gpios = <&gpio0 15 1>;
37                 };
38
39                 rx {
40                         label = "awm003-evb:green:rx";
41                         gpios = <&gpio0 16 1>;
42                 };
43
44                 wps {
45                         label = "awm003-evb:green:wps";
46                         gpios = <&gpio0 21 1>;
47                 };
48         };
49
50         gpio-keys-polled {
51                 compatible = "gpio-keys-polled";
52                 #address-cells = <1>;
53                 #size-cells = <0>;
54                 poll-interval = <20>;
55
56                 reset_wps {
57                         label = "reset_wps";
58                         gpios = <&gpio0 0 1>;
59                         linux,code = <0x198>;
60                 };
61
62                 mode {
63                         label = "mode";
64                         gpios = <&gpio0 20 1>;
65                         linux,code = <0x32>;
66                 };
67         };
68 };