00a4ddbcf11291ab783216c874c1a443eb68621e
[openwrt/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
8 &spi0 {
9 status = "okay";
10
11 m25p80: m25p80@0 {
12 #address-cells = <1>;
13 #size-cells = <1>;
14 reg = <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 &pinctrl {
44 state_default: pinctrl0 {
45 gpio {
46 ralink,group = "i2c", "jtag";
47 ralink,function = "gpio";
48 };
49 };
50 };
51
52 &esw {
53 mediatek,portmap = <0x3f>;
54 };
55
56 &ehci {
57 status = "okay";
58 };
59
60 &ohci {
61 status = "okay";
62 };