1 /*
2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8 /dts-v1/;
10 /include/ "omap5.dtsi"
11 /include/ "samsung_k3pe0e000b.dtsi"
13 / {
14 model = "TI OMAP5 uEVM board";
15 compatible = "ti,omap5-uevm", "ti,omap5";
17 memory {
18 device_type = "memory";
19 reg = <0x80000000 0x7F000000>; /* 2032 MB */
20 };
22 vmmcsd_fixed: fixedregulator-mmcsd {
23 compatible = "regulator-fixed";
24 regulator-name = "vmmcsd_fixed";
25 regulator-min-microvolt = <3000000>;
26 regulator-max-microvolt = <3000000>;
27 };
29 /* HS USB Port 2 RESET */
30 hsusb2_reset: hsusb2_reset_reg {
31 compatible = "regulator-fixed";
32 regulator-name = "hsusb2_reset";
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
35 gpio = <&gpio3 16 0>; /* gpio3_80 HUB_NRESET */
36 startup-delay-us = <70000>;
37 enable-active-high;
38 };
40 /* HS USB Host PHY on PORT 2 */
41 hsusb2_phy: hsusb2_phy {
42 compatible = "usb-nop-xceiv";
43 reset-supply = <&hsusb2_reset>;
44 };
46 /* HS USB Port 3 RESET */
47 hsusb3_reset: hsusb3_reset_reg {
48 compatible = "regulator-fixed";
49 regulator-name = "hsusb3_reset";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
52 gpio = <&gpio3 15 0>; /* gpio3_79 ETH_NRESET */
53 startup-delay-us = <70000>;
54 enable-active-high;
55 };
57 /* HS USB Host PHY on PORT 3 */
58 hsusb3_phy: hsusb3_phy {
59 compatible = "usb-nop-xceiv";
60 reset-supply = <&hsusb3_reset>;
61 };
63 /* hsusb2_phy is clocked by FREF_CLK1 i.e. auxclk1 */
64 clock_alias {
65 clock-name = "auxclk1_ck";
66 clock-alias = "main_clk";
67 device = <&hsusb2_phy>;
68 clock-frequency = <19200000>; /* 19.2 MHz */
69 };
71 sound {
72 compatible = "ti,abe-twl6040";
73 ti,model = "PandaBoard5";
75 ti,jack-detection = <1>;
76 ti,mclk-freq = <19200000>;
78 ti,mcpdm = <&mcpdm>;
79 ti,mcbsp1 = <&mcbsp1>;
80 ti,mcbsp2 = <&mcbsp2>;
81 ti,aess = <&aess>;
83 ti,twl6040 = <&twl6040>;
85 /* Audio routing */
86 ti,audio-routing =
87 "Headset Stereophone", "HSOL",
88 "Headset Stereophone", "HSOR",
89 "Line Out", "AUXL",
90 "Line Out", "AUXR",
91 "HSMIC", "Headset Mic",
92 "Headset Mic", "Headset Mic Bias",
93 "AFML", "Line In",
94 "AFMR", "Line In",
95 "Headset Playback", "PDM_DL1",
96 "PDM_UL1", "Capture",
97 "40122000.mcbsp Playback", "BT_VX_DL",
98 "BT_VX_UL", "40122000.mcbsp Capture",
99 "40124000.mcbsp Playback", "MM_EXT_DL",
100 "MM_EXT_UL", "40124000.mcbsp Capture";
101 };
103 sound_hdmi {
104 compatible = "ti,omap-hdmi-tpd12s015-audio";
105 ti,model = "OMAP5HDMI";
107 ti,hdmi_audio = <&hdmi>;
108 ti,level_shifter = <&tpd12s015>;
109 };
110 };
112 &omap5_pmx_core {
113 pinctrl-names = "default";
114 pinctrl-0 = <
115 &twl6040_pins
116 &mcpdm_pins
117 &dmic_pins
118 &mcbsp1_pins
119 &mcbsp2_pins
120 &usbhost_pins
121 &dss_hdmi_pins
122 &tpd12s015_pins
123 &tca6424a_pins
124 >;
126 twl6040_pins: pinmux_twl6040_pins {
127 pinctrl-single,pins = <
128 0x17e 0x6 /* mcspi1_somi.gpio5_141 OUTPUT | MODE6 */
129 0x18a 0x6 /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
130 >;
131 };
133 mcpdm_pins: pinmux_mcpdm_pins {
134 pinctrl-single,pins = <
135 0x142 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */
136 0x15c 0x108 /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */
137 0x15e 0x108 /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */
138 0x160 0x118 /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */
139 0x162 0x108 /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */
140 >;
141 };
143 dmic_pins: pinmux_dmic_pins {
144 pinctrl-single,pins = <
145 0x144 0x100 /* abedmic_din1.abedmic_din1 INPUT | MODE0 */
146 0x146 0x100 /* abedmic_din2.abedmic_din2 INPUT | MODE0 */
147 0x148 0x100 /* abedmic_din3.abedmic_din3 INPUT | MODE0 */
148 0x14a 0 /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */
149 >;
150 };
152 mcbsp1_pins: pinmux_mcbsp1_pins {
153 pinctrl-single,pins = <
154 0x14c 0x101 /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */
155 0x14e 0x9 /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */
156 0x150 0x101 /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */
157 0x152 0x109 /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */
158 >;
159 };
161 mcbsp2_pins: pinmux_mcbsp2_pins {
162 pinctrl-single,pins = <
163 0x154 0x108 /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */
164 0x156 0x8 /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */
165 0x158 0x100 /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */
166 0x15a 0x100 /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */
167 >;
168 };
170 usbhost_pins: pinmux_usbhost_pins {
171 pinctrl-single,pins = <
172 0x84 0x100 /* usbb2_hsic_strobe INPUT | MODE 0 */
173 0x86 0x100 /* usbb2_hsic_data INPUT | MODE 0 */
175 0x19e 0x100 /* usbb3_hsic_strobe INPUT | MODE 0 */
176 0x1a0 0x100 /* usbb3_hsic_data INPUT | MODE 0 */
178 0x70 0x6 /* gpio3_80 OUTPUT | MODE 6 HUB_NRESET */
179 0x6e 0x6 /* gpio3_79 OUTPUT | MODE 6 ETH_NRESET */
180 >;
181 };
183 dss_hdmi_pins: pinmux_dss_hdmi_pins {
184 pinctrl-single,pins = <
185 0x0fc 0x118 /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
186 0x100 0x100 /* hdmi_scl.hdmi_scl INPUT | MODE 0 */
187 0x102 0x100 /* hdmi_sda.hdmi_sda INPUT | MODE 0 */
188 >;
189 };
191 tpd12s015_pins: pinmux_tpd12s015_pins {
192 pinctrl-single,pins = <
193 0x0fe 0x116 /* hdmi_hpd.gpio7_193 INPUT PULLDOWN | MODE6 */
194 >;
195 };
197 tca6424a_pins: pinmux_tca6424a_pins {
198 pinctrl-single,pins = <
199 0x186 0x100 /* i2c5_scl.i2c5_scl INPUT | MODE0 */
200 0x188 0x100 /* i2c5_sda.i2c5_sda INPUT | MODE0 */
201 >;
202 };
203 };
205 &omap5_pmx_wkup {
206 pinctrl-names = "default";
207 pinctrl-0 = <
208 &usbhost_wkup_pins
209 >;
211 usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
212 pinctrl-single,pins = <
213 0x1A 0x0 /* fref_clk1_out OUTPUT | MODE 7 for USB hub clk */
214 >;
215 };
217 };
219 &mmc1 {
220 vmmc-supply = <&vmmcsd_fixed>;
221 bus-width = <4>;
222 };
224 &mmc2 {
225 vmmc-supply = <&vmmcsd_fixed>;
226 bus-width = <8>;
227 ti,non-removable;
228 };
230 &mmc3 {
231 bus-width = <4>;
232 ti,non-removable;
233 };
235 &mmc4 {
236 status = "disabled";
237 };
239 &mmc5 {
240 status = "disabled";
241 };
243 &i2c2 {
244 clock-frequency = <400000>;
246 /* Pressure Sensor */
247 bmp085@77 {
248 compatible = "bosch,bmp085";
249 reg = <0x77>;
250 };
251 };
253 &i2c4 {
254 clock-frequency = <400000>;
256 /* Temperature Sensor */
257 tmp102@48{
258 compatible = "ti,tmp102";
259 reg = <0x48>;
260 };
261 };
263 &i2c5 {
264 tca6424a: tca6424a@22 {
265 compatible = "ti,tca6424a";
266 reg = <0x22>;
267 gpio-controller;
268 #gpio-cells = <2>;
269 };
270 };
272 &mcbsp3 {
273 status = "disabled";
274 };
276 &emif1 {
277 cs1-used;
278 device-handle = <&samsung_K3PE0E000B>;
279 };
281 &emif2 {
282 cs1-used;
283 device-handle = <&samsung_K3PE0E000B>;
284 };
286 &i2c1 {
287 clock-frequency = <400000>;
289 palmas: palmas@48 {
290 reg = <0x48>;
291 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
292 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
293 interrupt-parent = <&gic>;
294 };
296 twl6040: twl@4b {
297 compatible = "ti,twl6040";
299 interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
300 interrupt-parent = <&gic>;
301 ti,audpwron-gpio = <&gpio5 13 0>; /* gpio line 141 */
303 vio-supply = <&smps7_reg>;
304 v2v1-supply = <&smps9_reg>;
305 enable-active-high;
306 };
307 };
309 &usbhshost {
310 port2-mode = "ehci-hsic";
311 port3-mode = "ehci-hsic";
312 };
314 &usbhsehci {
315 phys = <0 &hsusb2_phy &hsusb3_phy>;
316 };
318 /include/ "palmas.dtsi"
319 /include/ "twl6040.dtsi"
321 &hdmi {
322 tpd12s015: tpd12s015 {
323 compatible = "ti,tpd12s015";
325 gpios = <&tca6424a 0 0>, /* TCA6424A P01, CT_CP_HDP */
326 <&tca6424a 1 0>, /* TCA6424A P00, LS_OE*/
327 <&gpio7 1 0>; /* 193, HPD */
329 hdmi-monitor {
330 compatible = "ti,hdmi_panel";
331 };
333 };
334 };