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,omap36xx", "ti,omap3";
23 device_type = "memory";
24 reg = <0x80000000 0x20000000>; /* 512 MB */
32 ldo_3v3: fixedregulator {
33 compatible = "regulator-fixed";
34 regulator-name = "ldo_3v3";
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
40 /* fixed 26MHz oscillator */
41 hfclk_26m: oscillator {
43 compatible = "fixed-clock";
44 clock-frequency = <26000000>;
48 compatible = "gpio-keys";
52 linux,code = <KEY_PHONE>;
53 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
59 compatible = "gpio-keys";
61 gps_antenna_button: gps-antenna-button {
62 label = "GPS_EXT_ANT";
63 linux,input-type = <EV_SW>;
64 linux,code = <SW_LINEIN_INSERT>;
65 gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* GPIO144 */
66 interrupt-parent = <&gpio5>;
67 interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
68 debounce-interval = <10>;
74 compatible = "ti,omap-twl4030";
82 compatible = "simple-audio-card";
83 simple-audio-card,name = "GTA04 voice";
84 simple-audio-card,bitclock-master = <&telephony_link_master>;
85 simple-audio-card,frame-master = <&telephony_link_master>;
86 simple-audio-card,format = "i2s";
87 simple-audio-card,bitclock-inversion;
88 simple-audio-card,frame-inversion;
89 simple-audio-card,cpu {
90 sound-dai = <&mcbsp4>;
93 telephony_link_master: simple-audio-card,codec {
94 sound-dai = <>m601_codec>;
98 gtm601_codec: gsm_codec {
99 compatible = "option,gtm601";
100 #sound-dai-cells = <0>;
104 compatible = "spi-gpio";
105 #address-cells = <0x1>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&spi_gpio_pins>;
110 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
111 gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
112 gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
113 cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
114 num-chipselects = <1>;
118 compatible = "tpo,td028ttec1";
120 spi-max-frequency = <100000>;
124 backlight= <&backlight>;
128 remote-endpoint = <&dpi_out>;
134 backlight: backlight {
135 compatible = "pwm-backlight";
136 pwms = <&pwm11 0 12000000 0>;
137 pwm-names = "backlight";
138 brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
139 default-brightness-level = <9>; /* => 90 */
140 pinctrl-names = "default";
141 pinctrl-0 = <&backlight_pins>;
145 compatible = "ti,omap-dmtimer-pwm";
146 ti,timers = <&timer11>;
150 hsusb2_phy: hsusb2_phy {
151 compatible = "usb-nop-xceiv";
152 reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
157 compatible = "composite-video-connector";
161 tv_connector_in: endpoint {
162 remote-endpoint = <&opa_out>;
168 compatible = "ti,opa362";
169 enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; /* GPIO_23 to enable video out amplifier */
172 #address-cells = <1>;
178 remote-endpoint = <&venc_out>;
185 remote-endpoint = <&tv_connector_in>;
191 wifi_pwrseq: wifi_pwrseq {
192 compatible = "mmc-pwrseq-simple";
193 reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
196 /* devconf0 setup for mcbsp1 clock pins */
197 pinmux_mcbsp1@48002274 {
198 compatible = "pinctrl-single";
199 reg = <0x48002274 4>; /* CONTROL_DEVCONF0 */
200 #address-cells = <1>;
202 pinctrl-single,bit-per-mux;
203 pinctrl-single,register-width = <32>;
204 pinctrl-single,function-mask = <0x7>; /* MCBSP1 CLK pinmux */
205 #pinctrl-cells = <2>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&mcbsp1_devconf0_pins>;
208 mcbsp1_devconf0_pins: pinmux_mcbsp1_devconf0_pins {
209 /* offset bits mask */
210 pinctrl-single,bits = <0x00 0x08 0x1c>; /* set MCBSP1_CLKR */
214 /* devconf1 setup for tvout pins */
215 pinmux_tv_out@480022d8 {
216 compatible = "pinctrl-single";
217 reg = <0x480022d8 4>; /* CONTROL_DEVCONF1 */
218 #address-cells = <1>;
220 pinctrl-single,bit-per-mux;
221 pinctrl-single,register-width = <32>;
222 pinctrl-single,function-mask = <0x81>; /* TV out pin control */
223 #pinctrl-cells = <2>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&tv_acbias_devconf1_pins>;
226 tv_acbias_devconf1_pins: pinmux_tv_acbias_devconf1_pins {
227 /* offset bits mask */
228 pinctrl-single,bits = <0x00 0x40800 0x40800>; /* set TVOUTBYPASS and TVOUTACEN */
234 gpio1_pins: pinmux_gpio1_pins {
235 pinctrl-single,pins = <
236 OMAP3_WKUP_IOPAD(0x2a14, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
237 OMAP3_WKUP_IOPAD(0x2a1a, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_clkout.gpio_10 */
243 pinctrl-names = "default";
248 hsusb2_pins: pinmux_hsusb2_pins {
249 pinctrl-single,pins = <
250 OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
251 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
252 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
253 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
254 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
255 OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
259 uart1_pins: pinmux_uart1_pins {
260 pinctrl-single,pins = <
261 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
262 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
266 uart2_pins: pinmux_uart2_pins {
267 pinctrl-single,pins = <
268 OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
269 OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
273 uart3_pins: pinmux_uart3_pins {
274 pinctrl-single,pins = <
275 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
276 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
280 mmc1_pins: pinmux_mmc1_pins {
281 pinctrl-single,pins = <
282 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
283 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
284 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
285 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
286 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
287 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
291 backlight_pins: backlight_pins_pinmux {
292 pinctrl-single,pins = <
293 OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
297 dss_dpi_pins: pinmux_dss_dpi_pins {
298 pinctrl-single,pins = <
299 OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
300 OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
301 OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
302 OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
303 OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
304 OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
305 OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
306 OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
307 OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
308 OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
309 OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
310 OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
311 OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
312 OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
313 OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
314 OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
315 OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
316 OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
317 OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
318 OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
319 OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
320 OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
321 OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
322 OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
323 OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
324 OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
325 OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
326 OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
330 gps_pins: pinmux_gps_pins {
331 pinctrl-single,pins = <
332 OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* gpio145 */
337 pinctrl-single,pins = <
338 OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
342 bmp085_pins: pinmux_bmp085_pins {
343 pinctrl-single,pins = <
344 OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio113 */
348 bma180_pins: pinmux_bma180_pins {
349 pinctrl-single,pins = <
350 OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
354 itg3200_pins: pinmux_itg3200_pins {
355 pinctrl-single,pins = <
356 OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
360 hmc5843_pins: pinmux_hmc5843_pins {
361 pinctrl-single,pins = <
362 OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
366 penirq_pins: pinmux_penirq_pins {
367 pinctrl-single,pins = <
368 /* here we could enable to wakeup the cpu from suspend by a pen touch */
369 OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio160 */
373 camera_pins: pinmux_camera_pins {
374 pinctrl-single,pins = <
375 /* set up parallel camera interface */
376 OMAP3_CORE1_IOPAD(0x210c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_hs */
377 OMAP3_CORE1_IOPAD(0x210e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_vs */
378 OMAP3_CORE1_IOPAD(0x2110, PIN_OUTPUT | MUX_MODE0) /* cam_xclka */
379 OMAP3_CORE1_IOPAD(0x2112, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_pclk */
380 OMAP3_CORE1_IOPAD(0x2114, PIN_OUTPUT | MUX_MODE4) /* cam_fld = gpio_98 */
381 OMAP3_CORE1_IOPAD(0x2116, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d0 */
382 OMAP3_CORE1_IOPAD(0x2118, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d1 */
383 OMAP3_CORE1_IOPAD(0x211a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d2 */
384 OMAP3_CORE1_IOPAD(0x211c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d3 */
385 OMAP3_CORE1_IOPAD(0x211e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d4 */
386 OMAP3_CORE1_IOPAD(0x2120, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d5 */
387 OMAP3_CORE1_IOPAD(0x2122, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d6 */
388 OMAP3_CORE1_IOPAD(0x2124, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d7 */
389 OMAP3_CORE1_IOPAD(0x2126, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d8 */
390 OMAP3_CORE1_IOPAD(0x2128, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d9 */
391 OMAP3_CORE1_IOPAD(0x212a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d10 */
392 OMAP3_CORE1_IOPAD(0x212c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* cam_d10 */
393 OMAP3_CORE1_IOPAD(0x212e, PIN_OUTPUT | MUX_MODE0) /* cam_xclkb */
394 OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* cam_wen = gpio_167 */
395 OMAP3_CORE1_IOPAD(0x2132, PIN_INPUT_PULLDOWN | MUX_MODE4) /* cam_strobe */
399 mcbsp1_pins: pinmux_mcbsp1_pins {
400 pinctrl-single,pins = <
401 OMAP3_CORE1_IOPAD(0x218c, PIN_INPUT | MUX_MODE4) /* mcbsp1_clkr.mcbsp1_clkr - gpio_156 FM interrupt */
402 OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE0) /* mcbsp1_clkr.mcbsp1_fsr */
403 OMAP3_CORE1_IOPAD(0x2190, PIN_OUTPUT | MUX_MODE0) /* mcbsp1_dx.mcbsp1_dx */
404 OMAP3_CORE1_IOPAD(0x2192, PIN_INPUT | MUX_MODE0) /* mcbsp1_dx.mcbsp1_dr */
405 /* mcbsp_clks is used as PENIRQ */
406 /* OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT | MUX_MODE0) mcbsp_clks.mcbsp_clks */
407 OMAP3_CORE1_IOPAD(0x2196, PIN_INPUT | MUX_MODE0) /* mcbsp_clks.mcbsp1_fsx */
408 OMAP3_CORE1_IOPAD(0x2198, PIN_INPUT | MUX_MODE0) /* mcbsp1_clkx.mcbsp1_clkx */
412 mcbsp2_pins: pinmux_mcbsp2_pins {
413 pinctrl-single,pins = <
414 OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */
415 OMAP3_CORE1_IOPAD(0x213e, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_clkx */
416 OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2_dr */
417 OMAP3_CORE1_IOPAD(0x2142, PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2_dx */
421 mcbsp3_pins: pinmux_mcbsp3_pins {
422 pinctrl-single,pins = <
423 OMAP3_CORE1_IOPAD(0x216c, PIN_OUTPUT | MUX_MODE0) /* mcbsp3_dx.mcbsp3_dx */
424 OMAP3_CORE1_IOPAD(0x216e, PIN_INPUT | MUX_MODE0) /* mcbsp3_dx.mcbsp3_dr */
425 OMAP3_CORE1_IOPAD(0x2170, PIN_INPUT | MUX_MODE0) /* mcbsp3_clkx.mcbsp3_clkx */
426 OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE0) /* mcbsp3_clkx.mcbsp3_fsx */
430 mcbsp4_pins: pinmux_mcbsp4_pins {
431 pinctrl-single,pins = <
432 OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcbsp4_clkx.mcbsp4_clkx */
433 OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcbsp4_clkx.mcbsp4_dr */
434 OMAP3_CORE1_IOPAD(0x218a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcbsp4_dx.mcbsp4_fsx */
440 pinctrl-names = "default";
445 hsusb2_2_pins: pinmux_hsusb2_2_pins {
446 pinctrl-single,pins = <
447 OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
448 OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
449 OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
450 OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
451 OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
452 OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
456 spi_gpio_pins: spi_gpio_pinmux {
457 pinctrl-single,pins = <
458 OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
459 OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
460 OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
461 OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
467 clock-frequency = <2600000>;
471 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
472 interrupt-parent = <&intc>;
474 clocks = <&hfclk_26m>;
478 compatible = "ti,twl4030-audio";
479 ti,enable-vibra = <1>;
481 ti,ramp_delay_value = <3>;
486 compatible = "ti,twl4030-power";
492 #include "twl4030.dtsi"
493 #include "twl4030_omap3.dtsi"
496 clock-frequency = <400000>;
498 /* pressure sensor */
500 compatible = "bosch,bmp085";
502 pinctrl-names = "default";
503 pinctrl-0 = <&bmp085_pins>;
504 interrupt-parent = <&gpio4>;
505 interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
510 compatible = "bosch,bma180";
512 pinctrl-names = "default";
513 pintcrl-0 = <&bma180_pins>;
514 interrupt-parent = <&gpio4>;
515 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
520 compatible = "invensense,itg3200";
522 pinctrl-names = "default";
523 pinctrl-0 = <&itg3200_pins>;
524 interrupt-parent = <&gpio2>;
525 interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
529 tca6507: tca6507@45 {
530 compatible = "ti,tca6507";
531 #address-cells = <1>;
538 gta04_led0: red_aux@0 {
539 label = "gta04:red:aux";
543 gta04_led1: green_aux@1 {
544 label = "gta04:green:aux";
548 gta04_led3: red_power@3 {
549 label = "gta04:red:power";
551 linux,default-trigger = "default-on";
554 gta04_led4: green_power@4 {
555 label = "gta04:green:power";
559 wifi_reset: wifi_reset@6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */
565 /* compass aka magnetometer */
567 compatible = "honeywell,hmc5883l";
569 pinctrl-names = "default";
570 pinctrl-0 = <&hmc5843_pins>;
571 interrupt-parent = <&gpio4>;
572 interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
577 compatible = "ti,tsc2007";
579 pinctrl-names = "default";
580 pinctrl-0 = <&penirq_pins>;
581 interrupt-parent = <&gpio6>;
582 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
583 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* GPIO_160 */
584 ti,x-plate-ohms = <600>;
585 touchscreen-size-x = <480>;
586 touchscreen-size-y = <640>;
587 touchscreen-max-pressure = <1000>;
588 touchscreen-fuzz-x = <3>;
589 touchscreen-fuzz-y = <8>;
590 touchscreen-fuzz-pressure = <10>;
591 touchscreen-inverted-y;
596 compatible = "atmel,24c64";
602 clock-frequency = <100000>;
606 interface-type = <0>;
607 usb-phy = <&usb2_phy>;
609 phy-names = "usb2-phy";
615 port2-mode = "ehci-phy";
619 phys = <0 &hsusb2_phy>;
623 pinctrl-names = "default";
624 pinctrl-0 = <&mmc1_pins>;
625 vmmc-supply = <&vmmc1>;
628 broken-cd; /* hardware has no CD */
632 vmmc-supply = <&vaux4>;
636 mmc-pwrseq = <&wifi_pwrseq>;
643 #define BIT(x) (1 << (x))
645 /* pullups: BIT(2) */
646 ti,pullups = <BIT(2)>;
649 * BIT(0), BIT(1), BIT(6), BIT(7), BIT(8), BIT(13)
650 * BIT(15), BIT(16), BIT(17)
652 ti,pulldowns = <(BIT(0) | BIT(1) | BIT(6) | BIT(7) | BIT(8) |
653 BIT(13) | BIT(15) | BIT(16) | BIT(17))>;
661 pinctrl-names = "default";
662 pinctrl-0 = <&gpio1_pins>;
666 pinctrl-names = "default";
667 pinctrl-0 = <&uart1_pins>;
671 pinctrl-names = "default";
672 pinctrl-0 = <&uart2_pins>;
674 compatible = "wi2wi,w2sg0004";
675 pinctrl-names = "default";
676 pinctrl-0 = <&gps_pins>;
677 sirf,onoff-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
678 lna-supply = <&vsim>;
679 vcc-supply = <&ldo_3v3>;
684 pinctrl-names = "default";
685 pinctrl-0 = <&uart3_pins>;
686 interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
690 ti,bb-uvolt = <3200000>;
696 regulator-min-microvolt = <2500000>;
697 regulator-max-microvolt = <3000000>;
702 regulator-min-microvolt = <2800000>;
703 regulator-max-microvolt = <2800000>;
704 regulator-always-on; /* we should never switch off while vio is on! */
709 regulator-min-microvolt = <2500000>;
710 regulator-max-microvolt = <2500000>;
715 regulator-min-microvolt = <2800000>;
716 regulator-max-microvolt = <3150000>;
721 regulator-min-microvolt = <2800000>;
722 regulator-max-microvolt = <3150000>;
725 /* Needed to power the DPI pins */
732 pinctrl-names = "default";
733 pinctrl-0 = < &dss_dpi_pins >;
736 vdds_dsi-supply = <&vpll2>;
740 remote-endpoint = <&lcd_in>;
749 vdda-supply = <&vdac>;
753 remote-endpoint = <&opa_in>;
761 ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
764 compatible = "ti,omap2-nand";
765 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
766 interrupt-parent = <&gpmc>;
767 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
768 <1 IRQ_TYPE_NONE>; /* termcount */
769 ti,nand-ecc-opt = "ham1";
770 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
771 nand-bus-width = <16>;
772 #address-cells = <1>;
775 gpmc,device-width = <2>;
777 gpmc,cs-rd-off-ns = <44>;
778 gpmc,cs-wr-off-ns = <44>;
779 gpmc,adv-on-ns = <6>;
780 gpmc,adv-rd-off-ns = <34>;
781 gpmc,adv-wr-off-ns = <44>;
782 gpmc,oe-off-ns = <54>;
783 gpmc,we-off-ns = <40>;
784 gpmc,access-ns = <64>;
785 gpmc,rd-cycle-ns = <82>;
786 gpmc,wr-cycle-ns = <82>;
787 gpmc,wr-access-ns = <40>;
788 gpmc,wr-data-mux-bus-ns = <0>;
789 gpmc,sync-clk-ps = <0>;
798 reg = <0x80000 0x1c0000>;
801 bootloaders_env@240000 {
802 label = "U-Boot Env";
803 reg = <0x240000 0x40000>;
808 reg = <0x280000 0x600000>;
812 label = "File System";
813 reg = <0x880000 0>; /* 0 = MTDPART_SIZ_FULL */
818 &mcbsp1 { /* FM Transceiver PCM */
820 #sound-dai-cells = <0>;
821 pinctrl-names = "default";
822 pinctrl-0 = <&mcbsp1_pins>;
825 &mcbsp2 { /* TPS65950 I2S */
827 pinctrl-names = "default";
828 pinctrl-0 = <&mcbsp2_pins>;
831 &mcbsp3 { /* Bluetooth PCM */
833 #sound-dai-cells = <0>;
834 pinctrl-names = "default";
835 pinctrl-0 = <&mcbsp3_pins>;
838 &mcbsp4 { /* GSM voice PCM */
840 #sound-dai-cells = <0>;
841 pinctrl-names = "default";
842 pinctrl-0 = <&mcbsp4_pins>;
846 pinctrl-names = "default";
847 pinctrl-0 = <&hdq_pins>;
850 /* image signal processor within OMAP3 SoC */
855 parallel_ep: endpoint {
856 ti,isp-clock-divisor = <1>;
858 bus-width = <8>;/* Used data lines */
859 data-shift = <2>; /* Lines 9:2 are used */
860 hsync-active = <0>; /* Active low */
861 vsync-active = <1>; /* Active high */
862 data-active = <1>;/* Active high */
863 pclk-sample = <1>;/* Falling */
866 /* port@1 and port@2 are not used by GTA04 */