imx6: update Ventana dts
[openwrt/svn-archive/archive.git] / target / linux / imx6 / files-3.10 / arch / arm / boot / dts / imx6qdl-gw54xx.dtsi
1 /*
2 * Copyright 2013 Gateworks Corporation
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12 / {
13 /* these are used by bootloader for disabling nodes */
14 aliases {
15 can0 = &can1;
16 ethernet0 = &fec;
17 ethernet1 = &eth1;
18 i2c0 = &i2c1;
19 i2c1 = &i2c2;
20 i2c2 = &i2c3;
21 led0 = &led0;
22 led1 = &led1;
23 led2 = &led2;
24 nand = &gpmi;
25 sky2 = &eth1;
26 ssi0 = &ssi1;
27 usb0 = &usbh1;
28 usb1 = &usbotg;
29 usdhc2 = &usdhc3;
30 };
31
32 chosen {
33 bootargs = "console=ttymxc1,115200";
34 };
35
36 leds {
37 compatible = "gpio-leds";
38
39 led0: user1 {
40 label = "user1";
41 gpios = <&gpio4 6 0>; /* 102 -> MX6_PANLEDG */
42 default-state = "on";
43 linux,default-trigger = "heartbeat";
44 };
45
46 led1: user2 {
47 label = "user2";
48 gpios = <&gpio4 7 0>; /* 103 -> MX6_PANLEDR */
49 default-state = "off";
50 };
51
52 led2: user3 {
53 label = "user3";
54 gpios = <&gpio4 15 1>; /* 111 -> MX6_LOCLED# */
55 default-state = "off";
56 };
57 };
58
59 memory {
60 reg = <0x10000000 0x40000000>;
61 };
62
63 regulators {
64 compatible = "simple-bus";
65
66 reg_1p0v: 1p0v {
67 compatible = "regulator-fixed";
68 regulator-name = "1P0V";
69 regulator-min-microvolt = <1000000>;
70 regulator-max-microvolt = <1000000>;
71 regulator-always-on;
72 };
73
74 reg_3p3v: 3p3v {
75 compatible = "regulator-fixed";
76 regulator-name = "3P3V";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
79 regulator-always-on;
80 };
81
82 reg_usb_h1_vbus: usb_h1_vbus {
83 compatible = "regulator-fixed";
84 regulator-name = "usb_h1_vbus";
85 regulator-min-microvolt = <5000000>;
86 regulator-max-microvolt = <5000000>;
87 regulator-always-on;
88 };
89
90 reg_usb_otg_vbus: usb_otg_vbus {
91 compatible = "regulator-fixed";
92 regulator-name = "usb_otg_vbus";
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
95 gpio = <&gpio3 22 0>;
96 enable-active-high;
97 };
98 };
99
100 sound {
101 compatible = "fsl,imx6q-sabrelite-sgtl5000",
102 "fsl,imx-audio-sgtl5000";
103 model = "imx6q-sabrelite-sgtl5000";
104 ssi-controller = <&ssi1>;
105 audio-codec = <&codec>;
106 audio-routing =
107 "MIC_IN", "Mic Jack",
108 "Mic Jack", "Mic Bias",
109 "Headphone Jack", "HP_OUT";
110 mux-int-port = <1>;
111 mux-ext-port = <4>;
112 };
113 };
114
115 &audmux {
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_audmux_1>;
118 status = "okay";
119 };
120
121 &can1 {
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_flexcan1_1>;
124 status = "okay";
125 };
126
127 &fec {
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_enet_1>;
130 phy-mode = "rgmii";
131 phy-reset-gpios = <&gpio1 30 0>;
132 status = "okay";
133 };
134
135 &gpmi {
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_gpmi_nand_2>;
138 status = "okay";
139 };
140
141 &i2c1 {
142 clock-frequency = <100000>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&pinctrl_i2c1_1>;
145 status = "okay";
146
147 eeprom1: eeprom@50 {
148 compatible = "atmel,24c02";
149 reg = <0x50>;
150 pagesize = <16>;
151 };
152
153 eeprom2: eeprom@51 {
154 compatible = "atmel,24c02";
155 reg = <0x51>;
156 pagesize = <16>;
157 };
158
159 eeprom3: eeprom@52 {
160 compatible = "atmel,24c02";
161 reg = <0x52>;
162 pagesize = <16>;
163 };
164
165 eeprom4: eeprom@53 {
166 compatible = "atmel,24c02";
167 reg = <0x53>;
168 pagesize = <16>;
169 };
170
171 gpio: pca9555@23 {
172 compatible = "nxp,pca9555";
173 reg = <0x23>;
174 gpio-controller;
175 #gpio-cells = <2>;
176 };
177
178 hwmon: gsc@29 {
179 compatible = "gw,gsp";
180 reg = <0x29>;
181 };
182
183 rtc: ds1672@68 {
184 compatible = "dallas,ds1672";
185 reg = <0x68>;
186 };
187 };
188
189 &i2c2 {
190 clock-frequency = <100000>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&pinctrl_i2c2_2>;
193 status = "okay";
194
195 pmic: pfuze100@08 {
196 compatible = "fsl,pfuze100";
197 reg = <0x08>;
198
199 regulators {
200 sw1a_reg: sw1ab {
201 regulator-min-microvolt = <300000>;
202 regulator-max-microvolt = <1875000>;
203 regulator-boot-on;
204 regulator-always-on;
205 regulator-ramp-delay = <6250>;
206 };
207
208 sw1c_reg: sw1c {
209 regulator-min-microvolt = <300000>;
210 regulator-max-microvolt = <1875000>;
211 regulator-boot-on;
212 regulator-always-on;
213 regulator-ramp-delay = <6250>;
214 };
215
216 sw2_reg: sw2 {
217 regulator-min-microvolt = <800000>;
218 regulator-max-microvolt = <3950000>;
219 regulator-boot-on;
220 regulator-always-on;
221 };
222
223 sw3a_reg: sw3a {
224 regulator-min-microvolt = <400000>;
225 regulator-max-microvolt = <1975000>;
226 regulator-boot-on;
227 regulator-always-on;
228 };
229
230 sw3b_reg: sw3b {
231 regulator-min-microvolt = <400000>;
232 regulator-max-microvolt = <1975000>;
233 regulator-boot-on;
234 regulator-always-on;
235 };
236
237 sw4_reg: sw4 {
238 regulator-min-microvolt = <800000>;
239 regulator-max-microvolt = <3300000>;
240 };
241
242 swbst_reg: swbst {
243 regulator-min-microvolt = <5000000>;
244 regulator-max-microvolt = <5150000>;
245 };
246
247 snvs_reg: vsnvs {
248 regulator-min-microvolt = <1000000>;
249 regulator-max-microvolt = <3000000>;
250 regulator-boot-on;
251 regulator-always-on;
252 };
253
254 vref_reg: vrefddr {
255 regulator-boot-on;
256 regulator-always-on;
257 };
258
259 vgen1_reg: vgen1 {
260 regulator-min-microvolt = <800000>;
261 regulator-max-microvolt = <1550000>;
262 };
263
264 vgen2_reg: vgen2 {
265 regulator-min-microvolt = <800000>;
266 regulator-max-microvolt = <1550000>;
267 };
268
269 vgen3_reg: vgen3 {
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <3300000>;
272 };
273
274 vgen4_reg: vgen4 {
275 regulator-min-microvolt = <1800000>;
276 regulator-max-microvolt = <3300000>;
277 regulator-always-on;
278 };
279
280 vgen5_reg: vgen5 {
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <3300000>;
283 regulator-always-on;
284 };
285
286 vgen6_reg: vgen6 {
287 regulator-min-microvolt = <1800000>;
288 regulator-max-microvolt = <3300000>;
289 regulator-always-on;
290 };
291 };
292 };
293
294 pciswitch: pex8609@3f {
295 compatible = "plx,pex8609";
296 reg = <0x3f>;
297 };
298
299 pciclkgen: si52147@6b {
300 compatible = "sil,si52147";
301 reg = <0x6b>;
302 };
303 };
304
305 &i2c3 {
306 clock-frequency = <100000>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&pinctrl_i2c3_2>;
309 status = "okay";
310
311 accelerometer: fxos8700@1e {
312 compatible = "fsl,fxos8700";
313 reg = <0x1e>;
314 };
315
316 codec: sgtl5000@0a {
317 compatible = "fsl,sgtl5000";
318 reg = <0x0a>;
319 clocks = <&clks 169>;
320 VDDA-supply = <&sw4_reg>;
321 VDDIO-supply = <&reg_3p3v>;
322 };
323
324 hdmiin: adv7611@4c {
325 compatible = "adi,adv7611";
326 reg = <0x4c>;
327 };
328
329 touchscreen: egalax_ts@04 {
330 compatible = "eeti,egalax_ts";
331 reg = <0x04>;
332 interrupt-parent = <&gpio7>;
333 interrupts = <12 2>; /* gpio7_12 active low */
334 wakeup-gpios = <&gpio7 12 0>;
335 };
336
337 videoout: adv7393@2a {
338 compatible = "adi,adv7393";
339 reg = <0x2a>;
340 };
341
342 videoin: adv7180@20 {
343 compatible = "adi,adv7180";
344 reg = <0x20>;
345 };
346 };
347
348 &ldb {
349 status = "okay";
350 lvds-channel@0 {
351 crtcs = <&ipu1 0>, <&ipu1 1>;
352 };
353 };
354
355 &pcie {
356 reset-gpio = <&gpio1 29 0>;
357 status = "okay";
358
359 eth1: sky2@8 { /* MAC/PHY on bus 8 */
360 compatible = "marvell,sky2";
361 /* Filled in by U-Boot */
362 mac-address = [ 00 00 00 00 00 00 ];
363 };
364 };
365
366 &ssi1 {
367 fsl,mode = "i2s-slave";
368 status = "okay";
369 };
370
371 &uart1 {
372 pinctrl-names = "default";
373 pinctrl-0 = <&pinctrl_uart1_2>;
374 status = "okay";
375 };
376
377 &uart2 {
378 pinctrl-names = "default";
379 pinctrl-0 = <&pinctrl_uart2_3>;
380 status = "okay";
381 };
382
383 &uart5 {
384 pinctrl-names = "default";
385 pinctrl-0 = <&pinctrl_uart5_1>;
386 status = "okay";
387 };
388
389 &usbotg {
390 vbus-supply = <&reg_usb_otg_vbus>;
391 pinctrl-names = "default";
392 pinctrl-0 = <&pinctrl_usbotg_1>;
393 disable-over-current;
394 status = "okay";
395 };
396
397 &usbh1 {
398 vbus-supply = <&reg_usb_h1_vbus>;
399 status = "okay";
400 };
401
402 &usdhc3 {
403 pinctrl-names = "default";
404 pinctrl-0 = <&pinctrl_usdhc3_2>;
405 cd-gpios = <&gpio7 0 0>;
406 vmmc-supply = <&reg_3p3v>;
407 status = "okay";
408 };