113e67119639cb937caeade21ed1c99387db23b7
[openwrt/staging/wigyori.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 chosen {
14 bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,7872k@0x50000(firmware)";
15 };
16
17 palmbus@10000000 {
18 sysc@0 {
19 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
20 ralink,uartmux = "gpio";
21 ralink,wdtmux = <1>;
22 };
23
24 gpio0: gpio@600 {
25 status = "okay";
26 };
27 };
28
29 gpio-leds {
30 compatible = "gpio-leds";
31 status {
32 label = "emb:green:status";
33 gpios = <&gpio0 9 1>;
34 };
35 wlan {
36 label = "emb:green:wlan";
37 gpios = <&gpio0 14 1>;
38 };
39 };
40
41 gpio-keys-polled {
42 compatible = "gpio-keys-polled";
43 #address-cells = <1>;
44 #size-cells = <0>;
45 poll-interval = <20>;
46 reset {
47 label = "reset";
48 gpios = <&gpio0 12 1>;
49 linux,code = <0x198>;
50 };
51 };
52
53 cfi@1f000000 {
54 compatible = "cfi-flash";
55 reg = <0x1f000000 0x800000>;
56
57 bank-width = <2>;
58 device-width = <2>;
59 #address-cells = <1>;
60 #size-cells = <1>;
61 };
62
63 ethernet@10100000 {
64 status = "okay";
65 };
66
67 esw@10110000 {
68 status = "okay";
69 ralink,portmap = <0x2f>;
70 };
71
72 wmac@10180000 {
73 status = "okay";
74 };
75
76 otg@101c0000 {
77 status = "okay";
78 };
79 };