aa54ebe3e6ec3b8e5159727cec8231692763720c
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / OMNI-EMB.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "OMNI-EMB", "ralink,rt3052-soc";
7 model = "Omnima MiniEMBWiFi";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x4000000>;
11 };
12
13 palmbus@10000000 {
14 sysc@0 {
15 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
16 ralink,uartmux = "gpio";
17 ralink,wdtmux = <1>;
18 };
19
20 gpio0: gpio@600 {
21 status = "okay";
22 };
23 };
24
25 gpio-leds {
26 compatible = "gpio-leds";
27 status {
28 label = "emb:green:status";
29 gpios = <&gpio0 9 1>;
30 };
31 wlan {
32 label = "emb:green:wlan";
33 gpios = <&gpio0 14 1>;
34 };
35 };
36
37 gpio-keys-polled {
38 compatible = "gpio-keys-polled";
39 #address-cells = <1>;
40 #size-cells = <0>;
41 poll-interval = <20>;
42 reset {
43 label = "reset";
44 gpios = <&gpio0 12 1>;
45 linux,code = <0x198>;
46 };
47 };
48
49 cfi@1f000000 {
50 compatible = "cfi-flash";
51 reg = <0x1f000000 0x800000>;
52
53 bank-width = <2>;
54 device-width = <2>;
55 #address-cells = <1>;
56 #size-cells = <1>;
57
58 partition@0 {
59 label = "u-boot";
60 reg = <0x0 0x30000>;
61 read-only;
62 };
63
64 partition@30000 {
65 label = "u-boot-env";
66 reg = <0x30000 0x10000>;
67 read-only;
68 };
69
70 factory: partition@40000 {
71 label = "factory";
72 reg = <0x40000 0x10000>;
73 read-only;
74 };
75
76 partition@50000 {
77 label = "firmware";
78 reg = <0x50000 0x7b0000>;
79 };
80 };
81
82 ethernet@10100000 {
83 status = "okay";
84 };
85
86 esw@10110000 {
87 status = "okay";
88 ralink,portmap = <0x2f>;
89 };
90
91 wmac@10180000 {
92 status = "okay";
93 };
94
95 otg@101c0000 {
96 status = "okay";
97 };
98 };