5fe2faade8fafe76abfa5ad1b28f4aa9af1892f8
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / AWM002.dtsi
1 /dts-v1/;
2
3 /include/ "rt5350.dtsi"
4
5 / {
6 compatible = "AWM002", "ralink,rt5350-soc";
7 model = "AsiaRF AWM002";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12 ralink,gpiomux = "i2c";
13 ralink,uartmux = "gpio";
14 ralink,wdtmux = <1>;
15 };
16
17 gpio0: gpio@600 {
18 status = "okay";
19 };
20
21 spi@b00 {
22 status = "okay";
23 m25p80@0 {
24 #address-cells = <1>;
25 #size-cells = <1>;
26 reg = <0 0>;
27 spi-max-frequency = <10000000>;
28
29 partition@0 {
30 label = "u-boot";
31 reg = <0x0 0x30000>;
32 read-only;
33 };
34
35 partition@30000 {
36 label = "u-boot-env";
37 reg = <0x30000 0x10000>;
38 read-only;
39 };
40
41 factory: partition@40000 {
42 label = "factory";
43 reg = <0x40000 0x10000>;
44 read-only;
45 };
46
47 partition@50000 {
48 label = "firmware";
49 reg = <0x50000 0x1fb0000>;
50 };
51 };
52 };
53 };
54
55 ethernet@10100000 {
56 status = "okay";
57 };
58
59 esw@10110000 {
60 status = "okay";
61 ralink,portmap = <0x3f>;
62 };
63
64 wmac@10180000 {
65 status = "okay";
66 };
67
68 ehci@101c0000 {
69 status = "okay";
70 };
71
72 ohci@101c1000 {
73 status = "okay";
74 };
75
76 gpio-leds {
77 compatible = "gpio-leds";
78 ld1 {
79 label = "asiarf:green:ld1";
80 gpios = <&gpio0 0 1>;
81 };
82 ld2 {
83 label = "asiarf:green:ld2";
84 gpios = <&gpio0 1 1>;
85 };
86 };
87 };