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>;
50 uart1_pins: pinmux_uart1_pins {
51 pinctrl-single,pins = <
52 0x152 (PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
53 0x14c (PIN_OUTPUT |MUX_MODE0) /* uart1_tx.uart1_tx */
57 uart2_pins: pinmux_uart2_pins {
58 pinctrl-single,pins = <
59 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
60 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
64 uart3_pins: pinmux_uart3_pins {
65 pinctrl-single,pins = <
66 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
67 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
71 mmc1_pins: pinmux_mmc1_pins {
72 pinctrl-single,pins = <
73 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
74 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
75 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
76 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
77 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
78 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
84 clock-frequency = <2600000>;
88 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
89 interrupt-parent = <&intc>;
93 compatible = "ti,twl4030-audio";
99 #include "twl4030.dtsi"
100 #include "twl4030_omap3.dtsi"
103 clock-frequency = <400000>;
105 /* pressure sensor */
107 compatible = "bosch,bmp085";
109 interrupt-parent = <&gpio4>;
110 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
115 compatible = "bosch,bma180";
117 interrupt-parent = <&gpio3>;
118 interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
123 compatible = "ti,tca6507";
124 #address-cells = <1>;
128 gta04_led0: red_aux@0 {
129 label = "gta04:red:aux";
133 gta04_led1: green_aux@1 {
134 label = "gta04:green:aux";
138 gta04_led3: red_power@3 {
139 label = "gta04:red:power";
141 linux,default-trigger = "default-on";
144 gta04_led4: green_power@4 {
145 label = "gta04:green:power";
150 /* compass aka magnetometer */
152 compatible = "honeywell,hmc5843";
158 compatible = "ti,tsc2007";
160 interrupt-parent = <&gpio6>;
161 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
162 gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
163 ti,x-plate-ohms = <600>;
168 clock-frequency = <100000>;
172 interface-type = <0>;
173 usb-phy = <&usb2_phy>;
175 phy-names = "usb2-phy";
181 pinctrl-names = "default";
182 pinctrl-0 = <&mmc1_pins>;
183 vmmc-supply = <&vmmc1>;
189 vmmc-supply = <&vaux4>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&uart1_pins>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&uart2_pins>;
209 pinctrl-names = "default";
210 pinctrl-0 = <&uart3_pins>;
214 bb_uvolt = <3200000>;
219 regulator-min-microvolt = <2800000>;
220 regulator-max-microvolt = <3150000>;