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