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