ralink: add support for the mt7530 eval board
[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 pinctrl {
10 state_default: pinctrl0 {
11 gpio {
12 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
13 ralink,function = "gpio";
14 };
15 };
16 };
17
18 gpio-leds {
19 compatible = "gpio-leds";
20 status {
21 label = "emb:green:status";
22 gpios = <&gpio0 9 1>;
23 };
24 wlan {
25 label = "emb:green:wlan";
26 gpios = <&gpio0 14 1>;
27 };
28 };
29
30 gpio-keys-polled {
31 compatible = "gpio-keys-polled";
32 #address-cells = <1>;
33 #size-cells = <0>;
34 poll-interval = <20>;
35 reset {
36 label = "reset";
37 gpios = <&gpio0 12 1>;
38 linux,code = <0x198>;
39 };
40 };
41
42 cfi@1f000000 {
43 compatible = "cfi-flash";
44 reg = <0x1f000000 0x800000>;
45
46 bank-width = <2>;
47 device-width = <2>;
48 #address-cells = <1>;
49 #size-cells = <1>;
50
51 partition@0 {
52 label = "u-boot";
53 reg = <0x0 0x30000>;
54 read-only;
55 };
56
57 partition@30000 {
58 label = "u-boot-env";
59 reg = <0x30000 0x10000>;
60 read-only;
61 };
62
63 factory: partition@40000 {
64 label = "factory";
65 reg = <0x40000 0x10000>;
66 read-only;
67 };
68
69 partition@50000 {
70 label = "firmware";
71 reg = <0x50000 0x7b0000>;
72 };
73 };
74
75 esw@10110000 {
76 ralink,portmap = <0x2f>;
77 };
78
79 otg@101c0000 {
80 status = "okay";
81 };
82 };