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";
49 ti,codec = <&twl_audio>;
53 compatible = "spi-gpio";
54 #address-cells = <0x1>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&spi_gpio_pins>;
59 gpio-sck = <&gpio1 12 0>;
60 gpio-miso = <&gpio1 18 0>;
61 gpio-mosi = <&gpio1 20 0>;
62 cs-gpios = <&gpio1 19 0>;
63 num-chipselects = <1>;
67 compatible = "toppoly,td028ttec1";
69 spi-max-frequency = <100000>;
76 remote-endpoint = <&dpi_out>;
82 hsusb2_phy: hsusb2_phy {
83 compatible = "usb-nop-xceiv";
84 reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
88 compatible = "svideo-connector";
92 tv_connector_in: endpoint {
93 remote-endpoint = <&opa_out>;
99 compatible = "ti,opa362";
100 enable-gpios = <&gpio1 23 0>;
103 #address-cells = <1>;
109 remote-endpoint = <&venc_out>;
115 opa_out: endpoint@0 {
116 remote-endpoint = <&tv_connector_in>;
124 pinctrl-names = "default";
129 hsusb2_pins: pinmux_hsusb2_pins {
130 pinctrl-single,pins = <
131 OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
132 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
133 OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
134 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
135 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
136 OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
140 uart1_pins: pinmux_uart1_pins {
141 pinctrl-single,pins = <
142 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
143 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
147 uart2_pins: pinmux_uart2_pins {
148 pinctrl-single,pins = <
149 OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
150 OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
154 uart3_pins: pinmux_uart3_pins {
155 pinctrl-single,pins = <
156 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
157 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
161 mmc1_pins: pinmux_mmc1_pins {
162 pinctrl-single,pins = <
163 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
164 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
165 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
166 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
167 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
168 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
172 dss_dpi_pins: pinmux_dss_dpi_pins {
173 pinctrl-single,pins = <
174 OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
175 OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
176 OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
177 OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
178 OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
179 OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
180 OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
181 OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
182 OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
183 OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
184 OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
185 OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
186 OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
187 OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
188 OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
189 OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
190 OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
191 OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
192 OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
193 OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
194 OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
195 OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
196 OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
197 OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
198 OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
199 OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
200 OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
201 OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
207 pinctrl-names = "default";
212 hsusb2_2_pins: pinmux_hsusb2_2_pins {
213 pinctrl-single,pins = <
214 OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
215 OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
216 OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
217 OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
218 OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
219 OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
223 spi_gpio_pins: spi_gpio_pinmux {
224 pinctrl-single,pins = <
225 OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
226 OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
227 OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
228 OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
234 clock-frequency = <2600000>;
238 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
239 interrupt-parent = <&intc>;
242 compatible = "ti,twl4030-audio";
243 ti,enable-vibra = <1>;
250 #include "twl4030.dtsi"
251 #include "twl4030_omap3.dtsi"
254 clock-frequency = <400000>;
256 /* pressure sensor */
258 compatible = "bosch,bmp085";
260 interrupt-parent = <&gpio4>;
261 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
266 compatible = "bosch,bma180";
268 interrupt-parent = <&gpio3>;
269 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
274 compatible = "ti,tca6507";
275 #address-cells = <1>;
282 gta04_led0: red_aux@0 {
283 label = "gta04:red:aux";
287 gta04_led1: green_aux@1 {
288 label = "gta04:green:aux";
292 gta04_led3: red_power@3 {
293 label = "gta04:red:power";
295 linux,default-trigger = "default-on";
298 gta04_led4: green_power@4 {
299 label = "gta04:green:power";
303 wifi_reset: wifi_reset@6 {
309 /* compass aka magnetometer */
311 compatible = "honeywell,hmc5883l";
317 compatible = "ti,tsc2007";
319 interrupt-parent = <&gpio6>;
320 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
321 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
322 ti,x-plate-ohms = <600>;
327 clock-frequency = <100000>;
331 interface-type = <0>;
332 usb-phy = <&usb2_phy>;
334 phy-names = "usb2-phy";
340 port2-mode = "ehci-phy";
344 phys = <0 &hsusb2_phy>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&mmc1_pins>;
350 vmmc-supply = <&vmmc1>;
356 vmmc-supply = <&vaux4>;
366 pinctrl-names = "default";
367 pinctrl-0 = <&uart1_pins>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&uart2_pins>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&uart3_pins>;
381 ti,bb-uvolt = <3200000>;
387 regulator-min-microvolt = <2500000>;
388 regulator-max-microvolt = <3000000>;
393 regulator-min-microvolt = <2800000>;
394 regulator-max-microvolt = <2800000>;
400 regulator-min-microvolt = <2500000>;
401 regulator-max-microvolt = <2500000>;
406 regulator-min-microvolt = <2800000>;
407 regulator-max-microvolt = <3150000>;
412 regulator-min-microvolt = <2800000>;
413 regulator-max-microvolt = <3150000>;
416 /* Needed to power the DPI pins */
422 pinctrl-names = "default";
423 pinctrl-0 = < &dss_dpi_pins >;
429 remote-endpoint = <&lcd_in>;
438 vdda-supply = <&vdac>;
442 remote-endpoint = <&opa_in>;
450 ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
453 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
454 nand-bus-width = <16>;
455 ti,nand-ecc-opt = "bch8";
457 gpmc,sync-clk-ps = <0>;
459 gpmc,cs-rd-off-ns = <44>;
460 gpmc,cs-wr-off-ns = <44>;
461 gpmc,adv-on-ns = <6>;
462 gpmc,adv-rd-off-ns = <34>;
463 gpmc,adv-wr-off-ns = <44>;
464 gpmc,we-off-ns = <40>;
465 gpmc,oe-off-ns = <54>;
466 gpmc,access-ns = <64>;
467 gpmc,rd-cycle-ns = <82>;
468 gpmc,wr-cycle-ns = <82>;
469 gpmc,wr-access-ns = <40>;
470 gpmc,wr-data-mux-bus-ns = <0>;
471 gpmc,device-width = <2>;
473 #address-cells = <1>;
483 reg = <0x80000 0x1e0000>;
486 bootloaders_env@260000 {
487 label = "U-Boot Env";
488 reg = <0x260000 0x20000>;
493 reg = <0x280000 0x400000>;
497 label = "File System";
498 reg = <0x680000 0xf980000>;