ramips: Change all '/include/' clauses to '#include' so preprocessing can be done...
[openwrt.git] / target / linux / ramips / dts / AWM002.dtsi
1 #include "rt5350.dtsi"
2
3 / {
4         compatible = "AWM002", "ralink,rt5350-soc";
5         model = "AsiaRF AWM002";
6
7         palmbus@10000000 {
8                 spi@b00 {
9                         status = "okay";
10
11                         m25p80@0 {
12                                 #address-cells = <1>;
13                                 #size-cells = <1>;
14                                 reg = <0 0>;
15                                 compatible = "jedec,spi-nor";
16                                 spi-max-frequency = <10000000>;
17
18                                 partition@0 {
19                                         label = "u-boot";
20                                         reg = <0x0 0x30000>;
21                                         read-only;
22                                 };
23
24                                 partition@30000 {
25                                         label = "u-boot-env";
26                                         reg = <0x30000 0x10000>;
27                                         read-only;
28                                 };
29
30                                 factory: partition@40000 {
31                                         label = "factory";
32                                         reg = <0x40000 0x10000>;
33                                         read-only;
34                                 };
35
36                                 partition@50000 {
37                                         label = "firmware";
38                                         reg = <0x50000 0x1fb0000>;
39                                 };
40                         };
41                 };
42         };
43
44         pinctrl {
45                 state_default: pinctrl0 {
46                         gpio {
47                                 ralink,group = "i2c", "jtag";
48                                 ralink,function = "gpio";
49                         };
50                 };
51         };
52
53         esw@10110000 {
54                 mediatek,portmap = <0x3f>;
55         };
56
57         ehci@101c0000 {
58                 status = "okay";
59         };
60
61         ohci@101c1000 {
62                 status = "okay";
63         };
64
65         gpio-leds {
66                 compatible = "gpio-leds";
67
68                 ld1 {
69                         label = "awm002:green:ld1";
70                         gpios = <&gpio0 0 1>;
71                 };
72
73                 ld2 {
74                         label = "awm002:green:ld2";
75                         gpios = <&gpio0 1 1>;
76                 };
77         };
78 };