ramips: Change all '/include/' clauses to '#include' so preprocessing can be done...
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / MINIEMBPLUG.dts
1 /dts-v1/;
2
3 #include "rt5350.dtsi"
4
5 / {
6 compatible = "MINIEMBPLUG", "ralink,rt5350-soc";
7 model = "Omnima MiniEMBPlug";
8
9 pinctrl {
10 state_default: pinctrl0 {
11 gpio {
12 ralink,group = "i2c", "jtag", "uartf";
13 ralink,function = "gpio";
14 };
15 };
16 };
17
18 gpio-leds {
19 compatible = "gpio-leds";
20
21 wlan {
22 label = "miniembplug:red:wlan";
23 gpios = <&gpio0 9 0>;
24 };
25
26 mobile {
27 label = "miniembplug:green:mobile";
28 gpios = <&gpio0 13 1>;
29 };
30 };
31
32 gpio-keys-polled {
33 compatible = "gpio-keys-polled";
34 #address-cells = <1>;
35 #size-cells = <0>;
36 poll-interval = <20>;
37
38 wps {
39 label = "wps";
40 gpios = <&gpio0 0 1>;
41 linux,code = <0x211>;
42 };
43
44 reset {
45 label = "reset";
46 gpios = <&gpio0 10 1>;
47 linux,code = <0x211>;
48 };
49
50 mode-one {
51 label = "mode1";
52 gpios = <&gpio0 11 1>;
53 linux,code = <0x211>;
54 };
55
56 mode-two {
57 label = "mode2";
58 gpios = <&gpio0 12 1>;
59 linux,code = <0x211>;
60 };
61 };
62
63 palmbus@10000000 {
64 gpio0: gpio@600 {
65 status = "okay";
66 };
67
68 spi@b00 {
69 status = "okay";
70
71 m25p80@0 {
72 #address-cells = <1>;
73 #size-cells = <1>;
74 compatible = "jedec,spi-nor";
75 reg = <0 0>;
76 linux,modalias = "m25p80", "mx25l6405d";
77 spi-max-frequency = <10000000>;
78
79 partition@0 {
80 label = "u-boot";
81 reg = <0x0 0x30000>;
82 read-only;
83 };
84
85 partition@30000 {
86 label = "u-boot-env";
87 reg = <0x30000 0x10000>;
88 read-only;
89 };
90
91 factory: partition@40000 {
92 label = "factory";
93 reg = <0x40000 0x10000>;
94 read-only;
95 };
96
97 partition@50000 {
98 label = "firmware";
99 reg = <0x50000 0x7b0000>;
100 };
101 };
102 };
103 };
104
105 ethernet@10100000 {
106 mtd-mac-address = <&factory 0x4>;
107 };
108
109 esw@10110000 {
110 mediatek,portmap = <0x2f>;
111 };
112
113 wmac@10180000 {
114 ralink,mtd-eeprom = <&factory 0>;
115 };
116
117 otg@101c0000 {
118 status = "okay";
119 };
120 };