2 * Copyright (C) 2013 Marek Belisko <marek@goldelico.com>
4 * Based on omap3-beagle-xm.dts
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.
12 #include "omap36xx.dtsi"
15 model = "OMAP3 GTA04";
16 compatible = "ti,omap3-gta04", "ti,omap36xx", "ti,omap3";
25 device_type = "memory";
26 reg = <0x80000000 0x20000000>; /* 512 MB */
34 compatible = "gpio-keys";
39 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
45 compatible = "ti,omap-twl4030";
53 compatible = "simple-audio-card";
54 simple-audio-card,name = "GTA04 voice";
55 simple-audio-card,bitclock-master = <&telephony_link_master>;
56 simple-audio-card,frame-master = <&telephony_link_master>;
57 simple-audio-card,format = "i2s";
59 simple-audio-card,cpu {
60 sound-dai = <&mcbsp4>;
63 telephony_link_master: simple-audio-card,codec {
64 sound-dai = <>m601_codec>;
68 gtm601_codec: gsm_codec {
69 compatible = "option,gtm601";
70 #sound-dai-cells = <0>;
74 compatible = "spi-gpio";
75 #address-cells = <0x1>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&spi_gpio_pins>;
80 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
81 gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
82 gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
83 cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
84 num-chipselects = <1>;
88 compatible = "toppoly,td028ttec1";
90 spi-max-frequency = <100000>;
97 remote-endpoint = <&dpi_out>;
104 compatible = "pwm-backlight";
105 pwms = <&pwm11 0 12000000 0>;
106 pwm-names = "backlight";
107 brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
108 default-brightness-level = <9>; /* => 90 */
109 pinctrl-names = "default";
110 pinctrl-0 = <&backlight_pins>;
114 compatible = "ti,omap-dmtimer-pwm";
115 ti,timers = <&timer11>;
119 hsusb2_phy: hsusb2_phy {
120 compatible = "usb-nop-xceiv";
121 reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
125 compatible = "svideo-connector";
129 tv_connector_in: endpoint {
130 remote-endpoint = <&opa_out>;
136 compatible = "ti,opa362";
137 enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
140 #address-cells = <1>;
146 remote-endpoint = <&venc_out>;
153 remote-endpoint = <&tv_connector_in>;
159 wifi_pwrseq: wifi_pwrseq {
160 compatible = "mmc-pwrseq-simple";
161 reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
166 pinctrl-names = "default";
171 hsusb2_pins: pinmux_hsusb2_pins {
172 pinctrl-single,pins = <
173 OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
174 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
175 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
176 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
177 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
178 OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
182 uart1_pins: pinmux_uart1_pins {
183 pinctrl-single,pins = <
184 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
185 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
189 uart2_pins: pinmux_uart2_pins {
190 pinctrl-single,pins = <
191 OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
192 OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
196 uart3_pins: pinmux_uart3_pins {
197 pinctrl-single,pins = <
198 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
199 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
203 mmc1_pins: pinmux_mmc1_pins {
204 pinctrl-single,pins = <
205 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
206 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
207 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
208 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
209 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
210 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
214 backlight_pins: backlight_pins_pimnux {
215 pinctrl-single,pins = <
216 OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
220 dss_dpi_pins: pinmux_dss_dpi_pins {
221 pinctrl-single,pins = <
222 OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
223 OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
224 OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
225 OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
226 OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
227 OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
228 OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
229 OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
230 OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
231 OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
232 OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
233 OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
234 OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
235 OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
236 OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
237 OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
238 OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
239 OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
240 OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
241 OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
242 OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
243 OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
244 OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
245 OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
246 OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
247 OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
248 OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
249 OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
254 pinctrl-single,pins = <
255 OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
259 bma180_pins: pinmux_bma180_pins {
260 pinctrl-single,pins = <
261 OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
265 itg3200_pins: pinmux_itg3200_pins {
266 pinctrl-single,pins = <
267 OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
271 hmc5843_pins: pinmux_hmc5843_pins {
272 pinctrl-single,pins = <
273 OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
279 pinctrl-names = "default";
284 hsusb2_2_pins: pinmux_hsusb2_2_pins {
285 pinctrl-single,pins = <
286 OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
287 OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
288 OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
289 OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
290 OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
291 OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
295 spi_gpio_pins: spi_gpio_pinmux {
296 pinctrl-single,pins = <
297 OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
298 OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
299 OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
300 OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
306 clock-frequency = <2600000>;
310 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
311 interrupt-parent = <&intc>;
314 compatible = "ti,twl4030-audio";
315 ti,enable-vibra = <1>;
317 ti,ramp_delay_value = <3>;
322 compatible = "ti,twl4030-power";
328 #include "twl4030.dtsi"
329 #include "twl4030_omap3.dtsi"
332 clock-frequency = <400000>;
334 /* pressure sensor */
336 compatible = "bosch,bmp085";
338 interrupt-parent = <&gpio4>;
339 interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
344 compatible = "bosch,bma180";
346 pinctrl-names = "default";
347 pintcrl-0 = <&bma180_pins>;
348 interrupt-parent = <&gpio4>;
349 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
354 compatible = "invensense,itg3200";
356 pinctrl-names = "default";
357 pinctrl-0 = <&itg3200_pins>;
358 interrupt-parent = <&gpio2>;
359 interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
363 tca6507: tca6507@45 {
364 compatible = "ti,tca6507";
365 #address-cells = <1>;
372 gta04_led0: red_aux@0 {
373 label = "gta04:red:aux";
377 gta04_led1: green_aux@1 {
378 label = "gta04:green:aux";
382 gta04_led3: red_power@3 {
383 label = "gta04:red:power";
385 linux,default-trigger = "default-on";
388 gta04_led4: green_power@4 {
389 label = "gta04:green:power";
393 wifi_reset: wifi_reset@6 {
399 /* compass aka magnetometer */
401 compatible = "honeywell,hmc5883l";
403 pinctrl-names = "default";
404 pinctrl-0 = <&hmc5843_pins>;
405 interrupt-parent = <&gpio4>;
406 interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
411 compatible = "ti,tsc2007";
413 interrupt-parent = <&gpio6>;
414 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
415 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
416 ti,x-plate-ohms = <600>;
421 compatible = "at,24c64";
427 clock-frequency = <100000>;
431 interface-type = <0>;
432 usb-phy = <&usb2_phy>;
434 phy-names = "usb2-phy";
440 port2-mode = "ehci-phy";
444 phys = <0 &hsusb2_phy>;
448 pinctrl-names = "default";
449 pinctrl-0 = <&mmc1_pins>;
450 vmmc-supply = <&vmmc1>;
456 vmmc-supply = <&vaux4>;
460 mmc-pwrseq = <&wifi_pwrseq>;
472 pinctrl-names = "default";
473 pinctrl-0 = <&uart1_pins>;
477 pinctrl-names = "default";
478 pinctrl-0 = <&uart2_pins>;
482 pinctrl-names = "default";
483 pinctrl-0 = <&uart3_pins>;
487 ti,bb-uvolt = <3200000>;
493 regulator-min-microvolt = <2500000>;
494 regulator-max-microvolt = <3000000>;
499 regulator-min-microvolt = <2800000>;
500 regulator-max-microvolt = <2800000>;
506 regulator-min-microvolt = <2500000>;
507 regulator-max-microvolt = <2500000>;
512 regulator-min-microvolt = <2800000>;
513 regulator-max-microvolt = <3150000>;
518 regulator-min-microvolt = <2800000>;
519 regulator-max-microvolt = <3150000>;
523 pinctrl-names = "default";
524 pinctrl-0 = < &dss_dpi_pins >;
527 vdds_dsi-supply = <&vpll2>;
531 remote-endpoint = <&lcd_in>;
540 vdda-supply = <&vdac>;
544 remote-endpoint = <&opa_in>;
552 ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
555 compatible = "ti,omap2-nand";
556 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
557 interrupt-parent = <&gpmc>;
558 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
559 <1 IRQ_TYPE_NONE>; /* termcount */
560 nand-bus-width = <16>;
561 ti,nand-ecc-opt = "bch8";
563 gpmc,sync-clk-ps = <0>;
565 gpmc,cs-rd-off-ns = <44>;
566 gpmc,cs-wr-off-ns = <44>;
567 gpmc,adv-on-ns = <6>;
568 gpmc,adv-rd-off-ns = <34>;
569 gpmc,adv-wr-off-ns = <44>;
570 gpmc,we-off-ns = <40>;
571 gpmc,oe-off-ns = <54>;
572 gpmc,access-ns = <64>;
573 gpmc,rd-cycle-ns = <82>;
574 gpmc,wr-cycle-ns = <82>;
575 gpmc,wr-access-ns = <40>;
576 gpmc,wr-data-mux-bus-ns = <0>;
577 gpmc,device-width = <2>;
579 #address-cells = <1>;
589 reg = <0x80000 0x1e0000>;
592 bootloaders_env@260000 {
593 label = "U-Boot Env";
594 reg = <0x260000 0x20000>;
599 reg = <0x280000 0x400000>;
603 label = "File System";
604 reg = <0x680000 0xf980000>;
614 pinctrl-names = "default";
615 pinctrl-0 = <&hdq_pins>;