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 */
30 compatible = "gpio-keys";
35 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
41 compatible = "ti,omap-twl4030";
45 ti,codec = <&twl_audio>;
49 compatible = "spi-gpio";
50 #address-cells = <0x1>;
52 pinctrl-names = "default";
53 pinctrl-0 = <&spi_gpio_pins>;
55 gpio-sck = <&gpio1 12 0>;
56 gpio-miso = <&gpio1 18 0>;
57 gpio-mosi = <&gpio1 20 0>;
58 cs-gpios = <&gpio1 19 0>;
59 num-chipselects = <1>;
63 compatible = "toppoly,td028ttec1";
65 spi-max-frequency = <100000>;
72 remote-endpoint = <&dpi_out>;
80 uart1_pins: pinmux_uart1_pins {
81 pinctrl-single,pins = <
82 0x152 (PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
83 0x14c (PIN_OUTPUT |MUX_MODE0) /* uart1_tx.uart1_tx */
87 uart2_pins: pinmux_uart2_pins {
88 pinctrl-single,pins = <
89 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
90 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
94 uart3_pins: pinmux_uart3_pins {
95 pinctrl-single,pins = <
96 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
97 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
101 mmc1_pins: pinmux_mmc1_pins {
102 pinctrl-single,pins = <
103 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
104 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
105 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
106 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
107 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
108 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
112 dss_dpi_pins: pinmux_dss_dpi_pins {
113 pinctrl-single,pins = <
114 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
115 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
116 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
117 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
118 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
119 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
120 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
121 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
122 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
123 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
124 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
125 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
126 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
127 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
128 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
129 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
130 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
131 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
132 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
133 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
134 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
135 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
136 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
137 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
138 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
139 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
140 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
141 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
147 spi_gpio_pins: spi_gpio_pinmux {
148 pinctrl-single,pins = <
149 OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
150 OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
151 OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
152 OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
158 clock-frequency = <2600000>;
162 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
163 interrupt-parent = <&intc>;
167 compatible = "ti,twl4030-audio";
173 #include "twl4030.dtsi"
174 #include "twl4030_omap3.dtsi"
177 clock-frequency = <400000>;
179 /* pressure sensor */
181 compatible = "bosch,bmp085";
183 interrupt-parent = <&gpio4>;
184 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
189 compatible = "bosch,bma180";
191 interrupt-parent = <&gpio3>;
192 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
197 compatible = "ti,tca6507";
198 #address-cells = <1>;
205 gta04_led0: red_aux@0 {
206 label = "gta04:red:aux";
210 gta04_led1: green_aux@1 {
211 label = "gta04:green:aux";
215 gta04_led3: red_power@3 {
216 label = "gta04:red:power";
218 linux,default-trigger = "default-on";
221 gta04_led4: green_power@4 {
222 label = "gta04:green:power";
226 wifi_reset: wifi_reset@6 {
232 /* compass aka magnetometer */
234 compatible = "honeywell,hmc5883l";
240 compatible = "ti,tsc2007";
242 interrupt-parent = <&gpio6>;
243 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
244 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
245 ti,x-plate-ohms = <600>;
250 clock-frequency = <100000>;
254 interface-type = <0>;
255 usb-phy = <&usb2_phy>;
257 phy-names = "usb2-phy";
263 pinctrl-names = "default";
264 pinctrl-0 = <&mmc1_pins>;
265 vmmc-supply = <&vmmc1>;
271 vmmc-supply = <&vaux4>;
281 pinctrl-names = "default";
282 pinctrl-0 = <&uart1_pins>;
286 pinctrl-names = "default";
287 pinctrl-0 = <&uart2_pins>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&uart3_pins>;
296 bb_uvolt = <3200000>;
301 regulator-min-microvolt = <2800000>;
302 regulator-max-microvolt = <3150000>;
305 /* Needed to power the DPI pins */
311 pinctrl-names = "default";
312 pinctrl-0 = < &dss_dpi_pins >;
318 remote-endpoint = <&lcd_in>;
325 ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */
328 reg = <0 0 0>; /* CS0, offset 0 */
329 nand-bus-width = <16>;
330 ti,nand-ecc-opt = "bch8";
332 gpmc,sync-clk-ps = <0>;
334 gpmc,cs-rd-off-ns = <44>;
335 gpmc,cs-wr-off-ns = <44>;
336 gpmc,adv-on-ns = <6>;
337 gpmc,adv-rd-off-ns = <34>;
338 gpmc,adv-wr-off-ns = <44>;
339 gpmc,we-off-ns = <40>;
340 gpmc,oe-off-ns = <54>;
341 gpmc,access-ns = <64>;
342 gpmc,rd-cycle-ns = <82>;
343 gpmc,wr-cycle-ns = <82>;
344 gpmc,wr-access-ns = <40>;
345 gpmc,wr-data-mux-bus-ns = <0>;
346 gpmc,device-width = <2>;
348 #address-cells = <1>;
358 reg = <0x80000 0x1e0000>;
361 bootloaders_env@260000 {
362 label = "U-Boot Env";
363 reg = <0x260000 0x20000>;
368 reg = <0x280000 0x400000>;
372 label = "File System";
373 reg = <0x680000 0xf980000>;