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 */
145 spi_gpio_pins: spi_gpio_pinmux {
146 pinctrl-single,pins = <0x5a8 (PIN_OUTPUT | MUX_MODE4) /* clk */
147 0x5b6 (PIN_OUTPUT | MUX_MODE4) /* cs */
148 0x5b8 (PIN_OUTPUT | MUX_MODE4) /* tx */
149 0x5b4 (PIN_INPUT | MUX_MODE4) /* rx */
155 clock-frequency = <2600000>;
159 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
160 interrupt-parent = <&intc>;
164 compatible = "ti,twl4030-audio";
170 #include "twl4030.dtsi"
171 #include "twl4030_omap3.dtsi"
174 clock-frequency = <400000>;
176 /* pressure sensor */
178 compatible = "bosch,bmp085";
180 interrupt-parent = <&gpio4>;
181 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
186 compatible = "bosch,bma180";
188 interrupt-parent = <&gpio3>;
189 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
194 compatible = "ti,tca6507";
195 #address-cells = <1>;
199 gta04_led0: red_aux@0 {
200 label = "gta04:red:aux";
204 gta04_led1: green_aux@1 {
205 label = "gta04:green:aux";
209 gta04_led3: red_power@3 {
210 label = "gta04:red:power";
212 linux,default-trigger = "default-on";
215 gta04_led4: green_power@4 {
216 label = "gta04:green:power";
221 /* compass aka magnetometer */
223 compatible = "honeywell,hmc5843";
229 compatible = "ti,tsc2007";
231 interrupt-parent = <&gpio6>;
232 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
233 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
234 ti,x-plate-ohms = <600>;
239 clock-frequency = <100000>;
243 interface-type = <0>;
244 usb-phy = <&usb2_phy>;
246 phy-names = "usb2-phy";
252 pinctrl-names = "default";
253 pinctrl-0 = <&mmc1_pins>;
254 vmmc-supply = <&vmmc1>;
260 vmmc-supply = <&vaux4>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&uart1_pins>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&uart2_pins>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&uart3_pins>;
285 bb_uvolt = <3200000>;
290 regulator-min-microvolt = <2800000>;
291 regulator-max-microvolt = <3150000>;
294 /* Needed to power the DPI pins */
300 pinctrl-names = "default";
301 pinctrl-0 = < &dss_dpi_pins >;
307 remote-endpoint = <&lcd_in>;