1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013 Marek Belisko <marek@goldelico.com>
5 * Based on omap3-beagle-xm.dts
9 #include "omap36xx.dtsi"
10 #include <dt-bindings/input/input.h>
13 model = "OMAP3 GTA04";
14 compatible = "ti,omap3-gta04", "ti,omap3630", "ti,omap36xx", "ti,omap3";
23 device_type = "memory";
24 reg = <0x80000000 0x20000000>; /* 512 MB */
36 ldo_3v3: fixedregulator {
37 compatible = "regulator-fixed";
38 regulator-name = "ldo_3v3";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
44 /* fixed 26MHz oscillator */
45 hfclk_26m: oscillator {
47 compatible = "fixed-clock";
48 clock-frequency = <26000000>;
52 compatible = "gpio-keys";
56 linux,code = <KEY_PHONE>;
57 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
63 compatible = "gpio-keys";
65 gps_antenna_button: gps-antenna-button {
66 label = "GPS_EXT_ANT";
67 linux,input-type = <EV_SW>;
68 linux,code = <SW_LINEIN_INSERT>;
69 gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* GPIO144 */
70 interrupt-parent = <&gpio5>;
71 interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
72 debounce-interval = <10>;
78 compatible = "ti,omap-twl4030";
86 compatible = "simple-audio-card";
87 simple-audio-card,name = "GTA04 voice";
88 simple-audio-card,bitclock-master = <&telephony_link_master>;
89 simple-audio-card,frame-master = <&telephony_link_master>;
90 simple-audio-card,format = "i2s";
91 simple-audio-card,bitclock-inversion;
92 simple-audio-card,frame-inversion;
93 simple-audio-card,cpu {
94 sound-dai = <&mcbsp4>;
97 telephony_link_master: simple-audio-card,codec {
98 sound-dai = <>m601_codec>;
102 gtm601_codec: gsm_codec {
103 compatible = "option,gtm601";
104 #sound-dai-cells = <0>;
108 compatible = "spi-gpio";
109 #address-cells = <0x1>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&spi_gpio_pins>;
114 sck-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
115 miso-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
116 mosi-gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
117 cs-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
118 num-chipselects = <1>;
122 compatible = "tpo,td028ttec1";
124 spi-max-frequency = <100000>;
128 backlight= <&backlight>;
132 remote-endpoint = <&dpi_out>;
138 backlight: backlight {
139 compatible = "pwm-backlight";
140 pwms = <&pwm11 0 12000000 0>;
141 pwm-names = "backlight";
142 brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
143 default-brightness-level = <9>; /* => 90 */
144 pinctrl-names = "default";
145 pinctrl-0 = <&backlight_pins>;
149 compatible = "ti,omap-dmtimer-pwm";
150 ti,timers = <&timer11>;
152 ti,clock-source = <0x01>;
155 hsusb2_phy: hsusb2_phy {
156 compatible = "usb-nop-xceiv";
157 reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
162 compatible = "composite-video-connector";
166 tv_connector_in: endpoint {
167 remote-endpoint = <&opa_out>;
173 compatible = "ti,opa362";
174 enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; /* GPIO_23 to enable video out amplifier */
177 #address-cells = <1>;
183 remote-endpoint = <&venc_out>;
190 remote-endpoint = <&tv_connector_in>;
196 wifi_pwrseq: wifi_pwrseq {
197 compatible = "mmc-pwrseq-simple";
198 reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
201 /* devconf0 setup for mcbsp1 clock pins */
202 pinmux_mcbsp1@48002274 {
203 compatible = "pinctrl-single";
204 reg = <0x48002274 4>; /* CONTROL_DEVCONF0 */
205 #address-cells = <1>;
207 pinctrl-single,bit-per-mux;
208 pinctrl-single,register-width = <32>;
209 pinctrl-single,function-mask = <0x7>; /* MCBSP1 CLK pinmux */
210 #pinctrl-cells = <2>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&mcbsp1_devconf0_pins>;
213 mcbsp1_devconf0_pins: pinmux_mcbsp1_devconf0_pins {
214 /* offset bits mask */
215 pinctrl-single,bits = <0x00 0x08 0x1c>; /* set MCBSP1_CLKR */
219 /* devconf1 setup for tvout pins */
220 pinmux_tv_out@480022d8 {
221 compatible = "pinctrl-single";
222 reg = <0x480022d8 4>; /* CONTROL_DEVCONF1 */
223 #address-cells = <1>;
225 pinctrl-single,bit-per-mux;
226 pinctrl-single,register-width = <32>;
227 pinctrl-single,function-mask = <0x81>; /* TV out pin control */
228 #pinctrl-cells = <2>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&tv_acbias_devconf1_pins>;
231 tv_acbias_devconf1_pins: pinmux_tv_acbias_devconf1_pins {
232 /* offset bits mask */
233 pinctrl-single,bits = <0x00 0x40800 0x40800>; /* set TVOUTBYPASS and TVOUTACEN */
239 gpio1_pins: pinmux_gpio1_pins {
240 pinctrl-single,pins = <
241 OMAP3_WKUP_IOPAD(0x2a14, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
242 OMAP3_WKUP_IOPAD(0x2a1a, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_clkout.gpio_10 */
248 pinctrl-names = "default";
253 hsusb2_pins: pinmux_hsusb2_pins {
254 pinctrl-single,pins = <
255 OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
256 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
257 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
258 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
259 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
260 OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
264 uart1_pins: pinmux_uart1_pins {
265 pinctrl-single,pins = <
266 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
267 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
271 uart2_pins: pinmux_uart2_pins {
272 pinctrl-single,pins = <
273 OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
274 OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
278 uart3_pins: pinmux_uart3_pins {
279 pinctrl-single,pins = <
280 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
281 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
285 mmc1_pins: pinmux_mmc1_pins {
286 pinctrl-single,pins = <
287 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
288 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
289 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
290 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
291 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
292 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
296 backlight_pins: backlight_pins_pinmux {
297 pinctrl-single,pins = <
298 OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
302 dss_dpi_pins: pinmux_dss_dpi_pins {
303 pinctrl-single,pins = <
304 OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
305 OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
306 OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
307 OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
308 OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
309 OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
310 OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
311 OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
312 OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
313 OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
314 OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
315 OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
316 OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
317 OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
318 OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
319 OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
320 OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
321 OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
322 OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
323 OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
324 OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
325 OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
326 OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
327 OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
328 OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
329 OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
330 OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
331 OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
335 gps_pins: pinmux_gps_pins {
336 pinctrl-single,pins = <
337 OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* gpio145 */
342 pinctrl-single,pins = <
343 OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
347 bmp085_pins: pinmux_bmp085_pins {
348 pinctrl-single,pins = <
349 OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio113 */
353 bma180_pins: pinmux_bma180_pins {
354 pinctrl-single,pins = <
355 OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
359 itg3200_pins: pinmux_itg3200_pins {
360 pinctrl-single,pins = <
361 OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
365 hmc5843_pins: pinmux_hmc5843_pins {
366 pinctrl-single,pins = <
367 OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
371 penirq_pins: pinmux_penirq_pins {
372 pinctrl-single,pins = <
373 /* here we could enable to wakeup the cpu from suspend by a pen touch */
374 OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio160 */
378 camera_pins: pinmux_camera_pins {
379 pinctrl-single,pins = <
380 /* set up parallel camera interface */
381 OMAP3_CORE1_IOPAD(0x210c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_hs */
382 OMAP3_CORE1_IOPAD(0x210e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_vs */
383 OMAP3_CORE1_IOPAD(0x2110, PIN_OUTPUT | MUX_MODE0) /* cam_xclka */
384 OMAP3_CORE1_IOPAD(0x2112, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_pclk */
385 OMAP3_CORE1_IOPAD(0x2114, PIN_OUTPUT | MUX_MODE4) /* cam_fld = gpio_98 */
386 OMAP3_CORE1_IOPAD(0x2116, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d0 */
387 OMAP3_CORE1_IOPAD(0x2118, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d1 */
388 OMAP3_CORE1_IOPAD(0x211a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d2 */
389 OMAP3_CORE1_IOPAD(0x211c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d3 */
390 OMAP3_CORE1_IOPAD(0x211e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d4 */
391 OMAP3_CORE1_IOPAD(0x2120, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d5 */
392 OMAP3_CORE1_IOPAD(0x2122, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d6 */
393 OMAP3_CORE1_IOPAD(0x2124, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d7 */
394 OMAP3_CORE1_IOPAD(0x2126, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d8 */
395 OMAP3_CORE1_IOPAD(0x2128, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d9 */
396 OMAP3_CORE1_IOPAD(0x212a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d10 */
397 OMAP3_CORE1_IOPAD(0x212c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d10 */
398 OMAP3_CORE1_IOPAD(0x212e, PIN_OUTPUT | MUX_MODE0) /* cam_xclkb */
399 OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* cam_wen = gpio_167 */
400 OMAP3_CORE1_IOPAD(0x2132, PIN_INPUT_PULLDOWN | MUX_MODE4) /* cam_strobe */
404 mcbsp1_pins: pinmux_mcbsp1_pins {
405 pinctrl-single,pins = <
406 OMAP3_CORE1_IOPAD(0x218c, PIN_INPUT | MUX_MODE4) /* mcbsp1_clkr.mcbsp1_clkr - gpio_156 FM interrupt */
407 OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE0) /* mcbsp1_clkr.mcbsp1_fsr */
408 OMAP3_CORE1_IOPAD(0x2190, PIN_OUTPUT | MUX_MODE0) /* mcbsp1_dx.mcbsp1_dx */
409 OMAP3_CORE1_IOPAD(0x2192, PIN_INPUT | MUX_MODE0) /* mcbsp1_dx.mcbsp1_dr */
410 /* mcbsp_clks is used as PENIRQ */
411 /* OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT | MUX_MODE0) mcbsp_clks.mcbsp_clks */
412 OMAP3_CORE1_IOPAD(0x2196, PIN_INPUT | MUX_MODE0) /* mcbsp_clks.mcbsp1_fsx */
413 OMAP3_CORE1_IOPAD(0x2198, PIN_INPUT | MUX_MODE0) /* mcbsp1_clkx.mcbsp1_clkx */
417 mcbsp2_pins: pinmux_mcbsp2_pins {
418 pinctrl-single,pins = <
419 OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */
420 OMAP3_CORE1_IOPAD(0x213e, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_clkx */
421 OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2_dr */
422 OMAP3_CORE1_IOPAD(0x2142, PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2_dx */
426 mcbsp3_pins: pinmux_mcbsp3_pins {
427 pinctrl-single,pins = <
428 OMAP3_CORE1_IOPAD(0x216c, PIN_OUTPUT | MUX_MODE0) /* mcbsp3_dx.mcbsp3_dx */
429 OMAP3_CORE1_IOPAD(0x216e, PIN_INPUT | MUX_MODE0) /* mcbsp3_dx.mcbsp3_dr */
430 OMAP3_CORE1_IOPAD(0x2170, PIN_INPUT | MUX_MODE0) /* mcbsp3_clkx.mcbsp3_clkx */
431 OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE0) /* mcbsp3_clkx.mcbsp3_fsx */
435 mcbsp4_pins: pinmux_mcbsp4_pins {
436 pinctrl-single,pins = <
437 OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcbsp4_clkx.mcbsp4_clkx */
438 OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcbsp4_clkx.mcbsp4_dr */
439 OMAP3_CORE1_IOPAD(0x218a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcbsp4_dx.mcbsp4_fsx */
445 pinctrl-names = "default";
450 hsusb2_2_pins: pinmux_hsusb2_2_pins {
451 pinctrl-single,pins = <
452 OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
453 OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
454 OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
455 OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
456 OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
457 OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
461 spi_gpio_pins: spi_gpio_pinmux {
462 pinctrl-single,pins = <
463 OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
464 OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
465 OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
466 OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
472 clock-frequency = <2600000>;
476 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
477 interrupt-parent = <&intc>;
479 clocks = <&hfclk_26m>;
483 compatible = "ti,twl4030-audio";
484 ti,enable-vibra = <1>;
486 ti,ramp_delay_value = <3>;
491 compatible = "ti,twl4030-power-idle";
492 ti,system-power-controller;
497 #include "twl4030.dtsi"
498 #include "twl4030_omap3.dtsi"
501 clock-frequency = <400000>;
503 /* pressure sensor */
505 compatible = "bosch,bmp085";
507 pinctrl-names = "default";
508 pinctrl-0 = <&bmp085_pins>;
509 interrupt-parent = <&gpio4>;
510 interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
511 vdda-supply = <&vio>;
512 vddd-supply = <&vio>;
517 compatible = "bosch,bma180";
519 pinctrl-names = "default";
520 pinctrl-0 = <&bma180_pins>;
521 interrupt-parent = <&gpio4>;
522 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
527 compatible = "invensense,itg3200";
529 pinctrl-names = "default";
530 pinctrl-0 = <&itg3200_pins>;
531 interrupt-parent = <&gpio2>;
532 interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
536 tca6507: tca6507@45 {
537 compatible = "ti,tca6507";
538 #address-cells = <1>;
546 label = "gta04:red:aux";
551 label = "gta04:green:aux";
556 label = "gta04:red:power";
558 linux,default-trigger = "default-on";
562 label = "gta04:green:power";
567 /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */
573 /* compass aka magnetometer */
575 compatible = "honeywell,hmc5883l";
577 pinctrl-names = "default";
578 pinctrl-0 = <&hmc5843_pins>;
579 interrupt-parent = <&gpio4>;
580 interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
585 compatible = "ti,tsc2007";
587 pinctrl-names = "default";
588 pinctrl-0 = <&penirq_pins>;
589 interrupt-parent = <&gpio6>;
590 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
591 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* GPIO_160 */
592 ti,x-plate-ohms = <600>;
593 touchscreen-size-x = <480>;
594 touchscreen-size-y = <640>;
595 touchscreen-max-pressure = <1000>;
596 touchscreen-fuzz-x = <3>;
597 touchscreen-fuzz-y = <8>;
598 touchscreen-fuzz-pressure = <10>;
599 touchscreen-inverted-y;
604 compatible = "atmel,24c64";
610 clock-frequency = <100000>;
614 interface-type = <0>;
615 usb-phy = <&usb2_phy>;
617 phy-names = "usb2-phy";
623 port2-mode = "ehci-phy";
627 phys = <0 &hsusb2_phy>;
631 pinctrl-names = "default";
632 pinctrl-0 = <&mmc1_pins>;
633 vmmc-supply = <&vmmc1>;
636 broken-cd; /* hardware has no CD */
640 vmmc-supply = <&vaux4>;
644 mmc-pwrseq = <&wifi_pwrseq>;
651 #define BIT(x) (1 << (x))
653 /* pullups: BIT(2) */
654 ti,pullups = <BIT(2)>;
657 * BIT(0), BIT(1), BIT(6), BIT(7), BIT(8), BIT(13)
658 * BIT(15), BIT(16), BIT(17)
660 ti,pulldowns = <(BIT(0) | BIT(1) | BIT(6) | BIT(7) | BIT(8) |
661 BIT(13) | BIT(15) | BIT(16) | BIT(17))>;
669 pinctrl-names = "default";
670 pinctrl-0 = <&gpio1_pins>;
674 pinctrl-names = "default";
675 pinctrl-0 = <&uart1_pins>;
679 pinctrl-names = "default";
680 pinctrl-0 = <&uart2_pins>;
682 compatible = "wi2wi,w2sg0004";
683 pinctrl-names = "default";
684 pinctrl-0 = <&gps_pins>;
685 sirf,onoff-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
686 lna-supply = <&vsim>;
687 vcc-supply = <&ldo_3v3>;
692 pinctrl-names = "default";
693 pinctrl-0 = <&uart3_pins>;
694 interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
698 ti,bb-uvolt = <3200000>;
704 regulator-min-microvolt = <2500000>;
705 regulator-max-microvolt = <3000000>;
710 regulator-min-microvolt = <2800000>;
711 regulator-max-microvolt = <2800000>;
712 regulator-always-on; /* we should never switch off while vio is on! */
717 regulator-min-microvolt = <2500000>;
718 regulator-max-microvolt = <2500000>;
723 regulator-min-microvolt = <2800000>;
724 regulator-max-microvolt = <3150000>;
729 regulator-min-microvolt = <2800000>;
730 regulator-max-microvolt = <3150000>;
733 /* Needed to power the DPI pins */
740 pinctrl-names = "default";
741 pinctrl-0 = < &dss_dpi_pins >;
744 vdds_dsi-supply = <&vpll2>;
748 remote-endpoint = <&lcd_in>;
757 vdda-supply = <&vdac>;
761 remote-endpoint = <&opa_in>;
769 ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
772 compatible = "ti,omap2-nand";
773 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
774 interrupt-parent = <&gpmc>;
775 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
776 <1 IRQ_TYPE_NONE>; /* termcount */
777 ti,nand-ecc-opt = "ham1";
778 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
779 nand-bus-width = <16>;
780 #address-cells = <1>;
783 gpmc,device-width = <2>;
785 gpmc,cs-rd-off-ns = <44>;
786 gpmc,cs-wr-off-ns = <44>;
787 gpmc,adv-on-ns = <6>;
788 gpmc,adv-rd-off-ns = <34>;
789 gpmc,adv-wr-off-ns = <44>;
790 gpmc,oe-off-ns = <54>;
791 gpmc,we-off-ns = <40>;
792 gpmc,access-ns = <64>;
793 gpmc,rd-cycle-ns = <82>;
794 gpmc,wr-cycle-ns = <82>;
795 gpmc,wr-access-ns = <40>;
796 gpmc,wr-data-mux-bus-ns = <0>;
797 gpmc,sync-clk-ps = <0>;
806 reg = <0x80000 0x1c0000>;
809 bootloaders_env@240000 {
810 label = "U-Boot Env";
811 reg = <0x240000 0x40000>;
816 reg = <0x280000 0x600000>;
820 label = "File System";
821 reg = <0x880000 0>; /* 0 = MTDPART_SIZ_FULL */
826 &mcbsp1 { /* FM Transceiver PCM */
828 #sound-dai-cells = <0>;
829 pinctrl-names = "default";
830 pinctrl-0 = <&mcbsp1_pins>;
833 &mcbsp2 { /* TPS65950 I2S */
835 pinctrl-names = "default";
836 pinctrl-0 = <&mcbsp2_pins>;
839 &mcbsp3 { /* Bluetooth PCM */
841 #sound-dai-cells = <0>;
842 pinctrl-names = "default";
843 pinctrl-0 = <&mcbsp3_pins>;
846 &mcbsp4 { /* GSM voice PCM */
848 #sound-dai-cells = <0>;
849 pinctrl-names = "default";
850 pinctrl-0 = <&mcbsp4_pins>;
854 pinctrl-names = "default";
855 pinctrl-0 = <&hdq_pins>;
858 /* image signal processor within OMAP3 SoC */
863 parallel_ep: endpoint {
864 ti,isp-clock-divisor = <1>;
866 bus-width = <8>;/* Used data lines */
867 data-shift = <2>; /* Lines 9:2 are used */
868 hsync-active = <0>; /* Active low */
869 vsync-active = <1>; /* Active high */
870 data-active = <1>;/* Active high */
871 pclk-sample = <1>;/* Falling */
874 /* port@1 and port@2 are not used by GTA04 */