]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/arm/boot/dts/omap3-gta04.dtsi
ARM: dts: omap3-gta04: add warning comment to vaux2 regulator
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / omap3-gta04.dtsi
1 /*
2 * Copyright (C) 2013 Marek Belisko <marek@goldelico.com>
3 *
4 * Based on omap3-beagle-xm.dts
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 /dts-v1/;
11
12 #include "omap36xx.dtsi"
13
14 / {
15 model = "OMAP3 GTA04";
16 compatible = "ti,omap3-gta04", "ti,omap36xx", "ti,omap3";
17
18 cpus {
19 cpu@0 {
20 cpu0-supply = <&vcc>;
21 };
22 };
23
24 memory@80000000 {
25 device_type = "memory";
26 reg = <0x80000000 0x20000000>; /* 512 MB */
27 };
28
29 aliases {
30 display0 = &lcd;
31 display1 = &tv0;
32 };
33
34 /* fixed 26MHz oscillator */
35 hfclk_26m: oscillator {
36 #clock-cells = <0>;
37 compatible = "fixed-clock";
38 clock-frequency = <26000000>;
39 };
40
41 gpio-keys {
42 compatible = "gpio-keys";
43
44 aux-button {
45 label = "aux";
46 linux,code = <169>;
47 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
48 wakeup-source;
49 };
50 };
51
52 sound {
53 compatible = "ti,omap-twl4030";
54 ti,model = "gta04";
55
56 ti,mcbsp = <&mcbsp2>;
57 };
58
59 /* GSM audio */
60 sound_telephony {
61 compatible = "simple-audio-card";
62 simple-audio-card,name = "GTA04 voice";
63 simple-audio-card,bitclock-master = <&telephony_link_master>;
64 simple-audio-card,frame-master = <&telephony_link_master>;
65 simple-audio-card,format = "i2s";
66 simple-audio-card,bitclock-inversion;
67 simple-audio-card,frame-inversion;
68 simple-audio-card,cpu {
69 sound-dai = <&mcbsp4>;
70 };
71
72 telephony_link_master: simple-audio-card,codec {
73 sound-dai = <&gtm601_codec>;
74 };
75 };
76
77 gtm601_codec: gsm_codec {
78 compatible = "option,gtm601";
79 #sound-dai-cells = <0>;
80 };
81
82 spi_lcd: spi_lcd {
83 compatible = "spi-gpio";
84 #address-cells = <0x1>;
85 #size-cells = <0x0>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&spi_gpio_pins>;
88
89 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
90 gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
91 gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
92 cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
93 num-chipselects = <1>;
94
95 /* lcd panel */
96 lcd: td028ttec1@0 {
97 compatible = "tpo,td028ttec1";
98 reg = <0>;
99 spi-max-frequency = <100000>;
100 spi-cpol;
101 spi-cpha;
102
103 label = "lcd";
104 port {
105 lcd_in: endpoint {
106 remote-endpoint = <&dpi_out>;
107 };
108 };
109 };
110 };
111
112 backlight {
113 compatible = "pwm-backlight";
114 pwms = <&pwm11 0 12000000 0>;
115 pwm-names = "backlight";
116 brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
117 default-brightness-level = <9>; /* => 90 */
118 pinctrl-names = "default";
119 pinctrl-0 = <&backlight_pins>;
120 };
121
122 pwm11: dmtimer-pwm {
123 compatible = "ti,omap-dmtimer-pwm";
124 ti,timers = <&timer11>;
125 #pwm-cells = <3>;
126 };
127
128 hsusb2_phy: hsusb2_phy {
129 compatible = "usb-nop-xceiv";
130 reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
131 #phy-cells = <0>;
132 };
133
134 tv0: connector {
135 compatible = "composite-video-connector";
136 label = "tv";
137
138 port {
139 tv_connector_in: endpoint {
140 remote-endpoint = <&opa_out>;
141 };
142 };
143 };
144
145 tv_amp: opa362 {
146 compatible = "ti,opa362";
147 enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; /* GPIO_23 to enable video out amplifier */
148
149 ports {
150 #address-cells = <1>;
151 #size-cells = <0>;
152
153 port@0 {
154 reg = <0>;
155 opa_in: endpoint {
156 remote-endpoint = <&venc_out>;
157 };
158 };
159
160 port@1 {
161 reg = <1>;
162 opa_out: endpoint {
163 remote-endpoint = <&tv_connector_in>;
164 };
165 };
166 };
167 };
168
169 wifi_pwrseq: wifi_pwrseq {
170 compatible = "mmc-pwrseq-simple";
171 reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
172 };
173
174 /* devconf1 setup for tvout pins */
175 pinmux_tv_out@480022d8 {
176 compatible = "pinctrl-single";
177 reg = <0x480022d8 4>; /* CONTROL_DEVCONF1 */
178 #address-cells = <1>;
179 #size-cells = <0>;
180 pinctrl-single,bit-per-mux;
181 pinctrl-single,register-width = <32>;
182 pinctrl-single,function-mask = <0x81>; /* TV out pin control */
183 #pinctrl-cells = <2>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&tv_acbias_devconf1_pins>;
186 tv_acbias_devconf1_pins: pinmux_tv_acbias_devconf1_pins {
187 /* offset bits mask */
188 pinctrl-single,bits = <0x00 0x40800 0x40800>; /* set TVOUTBYPASS and TVOUTACEN */
189 };
190 };
191 };
192
193 &omap3_pmx_core {
194 pinctrl-names = "default";
195 pinctrl-0 = <
196 &hsusb2_pins
197 >;
198
199 hsusb2_pins: pinmux_hsusb2_pins {
200 pinctrl-single,pins = <
201 OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
202 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
203 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
204 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
205 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
206 OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
207 >;
208 };
209
210 uart1_pins: pinmux_uart1_pins {
211 pinctrl-single,pins = <
212 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
213 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
214 >;
215 };
216
217 uart2_pins: pinmux_uart2_pins {
218 pinctrl-single,pins = <
219 OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
220 OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
221 >;
222 };
223
224 uart3_pins: pinmux_uart3_pins {
225 pinctrl-single,pins = <
226 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
227 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
228 >;
229 };
230
231 mmc1_pins: pinmux_mmc1_pins {
232 pinctrl-single,pins = <
233 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
234 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
235 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
236 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
237 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
238 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
239 >;
240 };
241
242 backlight_pins: backlight_pins_pinmux {
243 pinctrl-single,pins = <
244 OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
245 >;
246 };
247
248 dss_dpi_pins: pinmux_dss_dpi_pins {
249 pinctrl-single,pins = <
250 OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
251 OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
252 OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
253 OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
254 OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
255 OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
256 OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
257 OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
258 OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
259 OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
260 OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
261 OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
262 OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
263 OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
264 OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
265 OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
266 OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
267 OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
268 OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
269 OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
270 OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
271 OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
272 OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
273 OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
274 OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
275 OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
276 OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
277 OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
278 >;
279 };
280
281 hdq_pins: hdq_pins {
282 pinctrl-single,pins = <
283 OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
284 >;
285 };
286
287 bmp085_pins: pinmux_bmp085_pins {
288 pinctrl-single,pins = <
289 OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio113 */
290 >;
291 };
292
293 bma180_pins: pinmux_bma180_pins {
294 pinctrl-single,pins = <
295 OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
296 >;
297 };
298
299 itg3200_pins: pinmux_itg3200_pins {
300 pinctrl-single,pins = <
301 OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
302 >;
303 };
304
305 hmc5843_pins: pinmux_hmc5843_pins {
306 pinctrl-single,pins = <
307 OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
308 >;
309 };
310
311 penirq_pins: pinmux_penirq_pins {
312 pinctrl-single,pins = <
313 /* here we could enable to wakeup the cpu from suspend by a pen touch */
314 OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio160 */
315 >;
316 };
317 };
318
319 &omap3_pmx_core2 {
320 pinctrl-names = "default";
321 pinctrl-0 = <
322 &hsusb2_2_pins
323 >;
324
325 hsusb2_2_pins: pinmux_hsusb2_2_pins {
326 pinctrl-single,pins = <
327 OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
328 OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
329 OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
330 OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
331 OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
332 OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
333 >;
334 };
335
336 spi_gpio_pins: spi_gpio_pinmux {
337 pinctrl-single,pins = <
338 OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
339 OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
340 OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
341 OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
342 >;
343 };
344 };
345
346 &i2c1 {
347 clock-frequency = <2600000>;
348
349 twl: twl@48 {
350 reg = <0x48>;
351 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
352 interrupt-parent = <&intc>;
353
354 clocks = <&hfclk_26m>;
355 clock-names = "fck";
356
357 twl_audio: audio {
358 compatible = "ti,twl4030-audio";
359 ti,enable-vibra = <1>;
360 codec {
361 ti,ramp_delay_value = <3>;
362 };
363 };
364
365 twl_power: power {
366 compatible = "ti,twl4030-power";
367 ti,use_poweroff;
368 };
369 };
370 };
371
372 #include "twl4030.dtsi"
373 #include "twl4030_omap3.dtsi"
374
375 &i2c2 {
376 clock-frequency = <400000>;
377
378 /* pressure sensor */
379 bmp085@77 {
380 compatible = "bosch,bmp085";
381 reg = <0x77>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&bmp085_pins>;
384 interrupt-parent = <&gpio4>;
385 interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
386 };
387
388 /* accelerometer */
389 bma180@41 {
390 compatible = "bosch,bma180";
391 reg = <0x41>;
392 pinctrl-names = "default";
393 pintcrl-0 = <&bma180_pins>;
394 interrupt-parent = <&gpio4>;
395 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
396 };
397
398 /* gyroscope */
399 itg3200@68 {
400 compatible = "invensense,itg3200";
401 reg = <0x68>;
402 pinctrl-names = "default";
403 pinctrl-0 = <&itg3200_pins>;
404 interrupt-parent = <&gpio2>;
405 interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
406 };
407
408 /* leds + gpios */
409 tca6507: tca6507@45 {
410 compatible = "ti,tca6507";
411 #address-cells = <1>;
412 #size-cells = <0>;
413 reg = <0x45>;
414
415 gpio-controller;
416 #gpio-cells = <2>;
417
418 gta04_led0: red_aux@0 {
419 label = "gta04:red:aux";
420 reg = <0x0>;
421 };
422
423 gta04_led1: green_aux@1 {
424 label = "gta04:green:aux";
425 reg = <0x1>;
426 };
427
428 gta04_led3: red_power@3 {
429 label = "gta04:red:power";
430 reg = <0x3>;
431 linux,default-trigger = "default-on";
432 };
433
434 gta04_led4: green_power@4 {
435 label = "gta04:green:power";
436 reg = <0x4>;
437 };
438
439 wifi_reset: wifi_reset@6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */
440 reg = <0x6>;
441 compatible = "gpio";
442 };
443 };
444
445 /* compass aka magnetometer */
446 hmc5843@1e {
447 compatible = "honeywell,hmc5883l";
448 reg = <0x1e>;
449 pinctrl-names = "default";
450 pinctrl-0 = <&hmc5843_pins>;
451 interrupt-parent = <&gpio4>;
452 interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
453 };
454
455 /* touchscreen */
456 tsc2007@48 {
457 compatible = "ti,tsc2007";
458 reg = <0x48>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&penirq_pins>;
461 interrupt-parent = <&gpio6>;
462 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
463 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* GPIO_160 */
464 ti,x-plate-ohms = <600>;
465 touchscreen-size-x = <480>;
466 touchscreen-size-y = <640>;
467 touchscreen-max-pressure = <1000>;
468 touchscreen-fuzz-x = <3>;
469 touchscreen-fuzz-y = <8>;
470 touchscreen-fuzz-pressure = <10>;
471 touchscreen-inverted-y;
472 };
473
474 /* RFID EEPROM */
475 m24lr64@50 {
476 compatible = "atmel,24c64";
477 reg = <0x50>;
478 };
479 };
480
481 &i2c3 {
482 clock-frequency = <100000>;
483 };
484
485 &usb_otg_hs {
486 interface-type = <0>;
487 usb-phy = <&usb2_phy>;
488 phys = <&usb2_phy>;
489 phy-names = "usb2-phy";
490 mode = <3>;
491 power = <50>;
492 };
493
494 &usbhshost {
495 port2-mode = "ehci-phy";
496 };
497
498 &usbhsehci {
499 phys = <0 &hsusb2_phy>;
500 };
501
502 &mmc1 {
503 pinctrl-names = "default";
504 pinctrl-0 = <&mmc1_pins>;
505 vmmc-supply = <&vmmc1>;
506 bus-width = <4>;
507 ti,non-removable;
508 };
509
510 &mmc2 {
511 vmmc-supply = <&vaux4>;
512 bus-width = <4>;
513 ti,non-removable;
514 cap-power-off-card;
515 mmc-pwrseq = <&wifi_pwrseq>;
516 };
517
518 &mmc3 {
519 status = "disabled";
520 };
521
522 &twl_keypad {
523 status = "disabled";
524 };
525
526 &uart1 {
527 pinctrl-names = "default";
528 pinctrl-0 = <&uart1_pins>;
529 };
530
531 &uart2 {
532 pinctrl-names = "default";
533 pinctrl-0 = <&uart2_pins>;
534 };
535
536 &uart3 {
537 pinctrl-names = "default";
538 pinctrl-0 = <&uart3_pins>;
539 };
540
541 &charger {
542 ti,bb-uvolt = <3200000>;
543 ti,bb-uamp = <150>;
544 };
545
546 /* spare */
547 &vaux1 {
548 regulator-min-microvolt = <2500000>;
549 regulator-max-microvolt = <3000000>;
550 };
551
552 /* sensors */
553 &vaux2 {
554 regulator-min-microvolt = <2800000>;
555 regulator-max-microvolt = <2800000>;
556 regulator-always-on; /* we should never switch off while vio is on! */
557 };
558
559 /* camera */
560 &vaux3 {
561 regulator-min-microvolt = <2500000>;
562 regulator-max-microvolt = <2500000>;
563 };
564
565 /* WLAN/BT */
566 &vaux4 {
567 regulator-min-microvolt = <2800000>;
568 regulator-max-microvolt = <3150000>;
569 };
570
571 /* GPS LNA */
572 &vsim {
573 regulator-min-microvolt = <2800000>;
574 regulator-max-microvolt = <3150000>;
575 };
576
577 /* Needed to power the DPI pins */
578
579 &vpll2 {
580 regulator-always-on;
581 };
582
583 &dss {
584 pinctrl-names = "default";
585 pinctrl-0 = < &dss_dpi_pins >;
586
587 status = "okay";
588 vdds_dsi-supply = <&vpll2>;
589
590 port {
591 dpi_out: endpoint {
592 remote-endpoint = <&lcd_in>;
593 data-lines = <24>;
594 };
595 };
596 };
597
598 &venc {
599 status = "okay";
600
601 vdda-supply = <&vdac>;
602
603 #address-cells = <1>;
604 #size-cells = <0>;
605
606 port {
607 reg = <0>;
608 venc_out: endpoint {
609 remote-endpoint = <&opa_in>;
610 ti,channels = <1>;
611 ti,invert-polarity;
612 };
613 };
614 };
615
616 &gpmc {
617 ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
618
619 nand@0,0 {
620 compatible = "ti,omap2-nand";
621 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
622 interrupt-parent = <&gpmc>;
623 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
624 <1 IRQ_TYPE_NONE>; /* termcount */
625 ti,nand-ecc-opt = "ham1";
626 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
627 nand-bus-width = <16>;
628 #address-cells = <1>;
629 #size-cells = <1>;
630
631 gpmc,device-width = <2>;
632 gpmc,cs-on-ns = <0>;
633 gpmc,cs-rd-off-ns = <44>;
634 gpmc,cs-wr-off-ns = <44>;
635 gpmc,adv-on-ns = <6>;
636 gpmc,adv-rd-off-ns = <34>;
637 gpmc,adv-wr-off-ns = <44>;
638 gpmc,oe-off-ns = <54>;
639 gpmc,we-off-ns = <40>;
640 gpmc,access-ns = <64>;
641 gpmc,rd-cycle-ns = <82>;
642 gpmc,wr-cycle-ns = <82>;
643 gpmc,wr-access-ns = <40>;
644 gpmc,wr-data-mux-bus-ns = <0>;
645 gpmc,sync-clk-ps = <0>;
646
647 x-loader@0 {
648 label = "X-Loader";
649 reg = <0 0x80000>;
650 };
651
652 bootloaders@80000 {
653 label = "U-Boot";
654 reg = <0x80000 0x1c0000>;
655 };
656
657 bootloaders_env@240000 {
658 label = "U-Boot Env";
659 reg = <0x240000 0x40000>;
660 };
661
662 kernel@280000 {
663 label = "Kernel";
664 reg = <0x280000 0x600000>;
665 };
666
667 filesystem@880000 {
668 label = "File System";
669 reg = <0x880000 0>; /* 0 = MTDPART_SIZ_FULL */
670 };
671 };
672 };
673
674 &mcbsp2 {
675 status = "okay";
676 };
677
678 &hdqw1w {
679 pinctrl-names = "default";
680 pinctrl-0 = <&hdq_pins>;
681 };
682
683 &mcbsp4 {
684 status = "okay";
685 };