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 cpus {
18 cpu@0 {
19 cpu0-supply = <&smps123_reg>;
20 };
21 };
23 memory {
24 device_type = "memory";
25 reg = <0x80000000 0x7F000000>; /* 2032 MB */
26 };
28 vmmcsd_fixed: fixedregulator-mmcsd {
29 compatible = "regulator-fixed";
30 regulator-name = "vmmcsd_fixed";
31 regulator-min-microvolt = <3000000>;
32 regulator-max-microvolt = <3000000>;
33 };
35 /* HS USB Port 2 RESET */
36 hsusb2_reset: hsusb2_reset_reg {
37 compatible = "regulator-fixed";
38 regulator-name = "hsusb2_reset";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
41 gpio = <&gpio3 16 0>; /* gpio3_80 HUB_NRESET */
42 startup-delay-us = <70000>;
43 enable-active-high;
44 };
46 /* HS USB Host PHY on PORT 2 */
47 hsusb2_phy: hsusb2_phy {
48 compatible = "usb-nop-xceiv";
49 reset-supply = <&hsusb2_reset>;
50 };
52 /* HS USB Port 3 RESET */
53 hsusb3_reset: hsusb3_reset_reg {
54 compatible = "regulator-fixed";
55 regulator-name = "hsusb3_reset";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
58 gpio = <&gpio3 15 0>; /* gpio3_79 ETH_NRESET */
59 startup-delay-us = <70000>;
60 enable-active-high;
61 };
63 /* HS USB Host PHY on PORT 3 */
64 hsusb3_phy: hsusb3_phy {
65 compatible = "usb-nop-xceiv";
66 reset-supply = <&hsusb3_reset>;
67 };
69 /* hsusb2_phy is clocked by FREF_CLK1 i.e. auxclk1 */
70 clock_alias {
71 clock-name = "auxclk1_ck";
72 clock-alias = "main_clk";
73 device = <&hsusb2_phy>;
74 clock-frequency = <19200000>; /* 19.2 MHz */
75 };
77 sound {
78 compatible = "ti,abe-twl6040";
79 ti,model = "PandaBoard5";
81 ti,jack-detection = <1>;
82 ti,mclk-freq = <19200000>;
84 ti,mcpdm = <&mcpdm>;
85 ti,mcbsp1 = <&mcbsp1>;
86 ti,mcbsp2 = <&mcbsp2>;
87 ti,aess = <&aess>;
89 ti,twl6040 = <&twl6040>;
91 /* Audio routing */
92 ti,audio-routing =
93 "Headset Stereophone", "HSOL",
94 "Headset Stereophone", "HSOR",
95 "Line Out", "AUXL",
96 "Line Out", "AUXR",
97 "HSMIC", "Headset Mic",
98 "Headset Mic", "Headset Mic Bias",
99 "AFML", "Line In",
100 "AFMR", "Line In",
101 "Headset Playback", "PDM_DL1",
102 "PDM_UL1", "Capture",
103 "40122000.mcbsp Playback", "BT_VX_DL",
104 "BT_VX_UL", "40122000.mcbsp Capture",
105 "40124000.mcbsp Playback", "MM_EXT_DL",
106 "MM_EXT_UL", "40124000.mcbsp Capture";
107 };
109 sound_hdmi {
110 compatible = "ti,omap-hdmi-tpd12s015-audio";
111 ti,model = "OMAP5HDMI";
113 ti,hdmi_audio = <&hdmi>;
114 ti,level_shifter = <&tpd12s015>;
115 };
116 };
118 &omap5_pmx_core {
119 pinctrl-names = "default";
120 pinctrl-0 = <
121 &twl6040_pins
122 &mcpdm_pins
123 &dmic_pins
124 &mcbsp1_pins
125 &mcbsp2_pins
126 &usbhost_pins
127 &dss_hdmi_pins
128 &tpd12s015_pins
129 &tca6424a_pins
130 &palmas_pins
131 >;
133 twl6040_pins: pinmux_twl6040_pins {
134 pinctrl-single,pins = <
135 0x17e 0x6 /* mcspi1_somi.gpio5_141 OUTPUT | MODE6 */
136 0x18a 0x6 /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
137 >;
138 };
140 mcpdm_pins: pinmux_mcpdm_pins {
141 pinctrl-single,pins = <
142 0x142 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */
143 0x15c 0x108 /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */
144 0x15e 0x108 /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */
145 0x160 0x118 /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */
146 0x162 0x108 /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */
147 >;
148 };
150 dmic_pins: pinmux_dmic_pins {
151 pinctrl-single,pins = <
152 0x144 0x100 /* abedmic_din1.abedmic_din1 INPUT | MODE0 */
153 0x146 0x100 /* abedmic_din2.abedmic_din2 INPUT | MODE0 */
154 0x148 0x100 /* abedmic_din3.abedmic_din3 INPUT | MODE0 */
155 0x14a 0 /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */
156 >;
157 };
159 mcbsp1_pins: pinmux_mcbsp1_pins {
160 pinctrl-single,pins = <
161 0x14c 0x101 /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */
162 0x14e 0x9 /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */
163 0x150 0x101 /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */
164 0x152 0x109 /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */
165 >;
166 };
168 mcbsp2_pins: pinmux_mcbsp2_pins {
169 pinctrl-single,pins = <
170 0x154 0x108 /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */
171 0x156 0x8 /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */
172 0x158 0x100 /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */
173 0x15a 0x100 /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */
174 >;
175 };
177 usbhost_pins: pinmux_usbhost_pins {
178 pinctrl-single,pins = <
179 0x84 0x100 /* usbb2_hsic_strobe INPUT | MODE 0 */
180 0x86 0x100 /* usbb2_hsic_data INPUT | MODE 0 */
182 0x19e 0x100 /* usbb3_hsic_strobe INPUT | MODE 0 */
183 0x1a0 0x100 /* usbb3_hsic_data INPUT | MODE 0 */
185 0x70 0x6 /* gpio3_80 OUTPUT | MODE 6 HUB_NRESET */
186 0x6e 0x6 /* gpio3_79 OUTPUT | MODE 6 ETH_NRESET */
187 >;
188 };
190 dss_hdmi_pins: pinmux_dss_hdmi_pins {
191 pinctrl-single,pins = <
192 0x0fc 0x118 /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
193 0x100 0x100 /* hdmi_scl.hdmi_scl INPUT | MODE 0 */
194 0x102 0x100 /* hdmi_sda.hdmi_sda INPUT | MODE 0 */
195 >;
196 };
198 tpd12s015_pins: pinmux_tpd12s015_pins {
199 pinctrl-single,pins = <
200 0x0fe 0x116 /* hdmi_hpd.gpio7_193 INPUT PULLDOWN | MODE6 */
201 >;
202 };
204 tca6424a_pins: pinmux_tca6424a_pins {
205 pinctrl-single,pins = <
206 0x186 0x100 /* i2c5_scl.i2c5_scl INPUT | MODE0 */
207 0x188 0x100 /* i2c5_sda.i2c5_sda INPUT | MODE0 */
208 >;
209 };
211 uart1_pins: pinmux_uart1_pins {
212 pinctrl-single,pins = <
213 0x60 0x0 /* uart1_tx.uart1_cts MODE0 */
214 0x62 0x118 /* uart1_tx.uart1_cts INPUT | PULLUP | MODE0 */
215 0x64 0x118 /* uart1_rx.uart1_rts INPUT | PULLUP | MODE0 */
216 0x66 0 /* uart1_rx.uart1_rts MODE0 */
217 >;
218 };
220 uart3_pins: pinmux_uart3_pins {
221 pinctrl-single,pins = <
222 0x19a 0x0 /* uart3_rts_irsd.uart3_tx_irtx MODE0 */
223 0x19c 0x118 /* uart3_rx_irrx.uart3_usbb3_hsic INPUT | PULLUP | MODE0 */
224 >;
225 };
227 uart5_pins: pinmux_uart5_pins {
228 pinctrl-single,pins = <
229 0x170 0x118 /* uart5_rx.uart5_rx INPUT | PULLUP | MODE0 */
230 0x172 0x0 /* uart5_tx.uart5_tx MODE0 */
231 0x174 0x118 /* uart5_cts.uart5_rts INPUT | PULLUP | MODE0 */
232 0x176 0x0 /* uart5_cts.uart5_rts MODE0 */
233 >;
234 };
236 mcspi2_pins: pinmux_mcspi2_pins {
237 pinctrl-single,pins = <
238 0xbc 0x100 /* MCSPI2_CLK INPUTENABLE | MODE0 */
239 0xbe 0x100 /* MCSPI2_SIMO INPUTENABLE | MODE0 */
240 0xc0 0x118 /* MCSPI2_SOMI PULLUP | INPUTENABLE | MODE0*/
241 0xc2 0x0 /* MCSPI2_CS MODE0*/
242 >;
243 };
245 mcspi3_pins: pinmux_mcspi3_pins {
246 pinctrl-single,pins = <
247 0x78 0x101 /* MCSPI2_SOMI INPUTENABLE | MODE1 */
248 0x7a 0x101 /* MCSPI2_CS INPUTENABLE | MODE1 */
249 0x7c 0x101 /* MCSPI2_SIMO INPUTENABLE | MODE1 */
250 0x7e 0x101 /* MCSPI2_CLK INPUTENABLE | MODE1 */
251 >;
252 };
254 mcspi4_pins: pinmux_mcspi4_pins {
255 pinctrl-single,pins = <
256 0x164 0x101 /* MCSPI2_CLK INPUTENABLE | MODE1 */
257 0x168 0x101 /* MCSPI2_SIMO INPUTENABLE | MODE1 */
258 0x16a 0x101 /* MCSPI2_SOMI INPUTENABLE | MODE1 */
259 0x16c 0x101 /* MCSPI2_CS INPUTENABLE | MODE1 */
260 >;
261 };
263 palmas_pins: pinmux_palmas_pins {
264 pinctrl-single,pins = <
265 0x140 0x11f /* MSLEEP INPUT | PULLUP | MODE7 */
266 >;
267 };
268 };
270 &omap5_pmx_wkup {
271 pinctrl-names = "default";
272 pinctrl-0 = <
273 &usbhost_wkup_pins
274 >;
276 usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
277 pinctrl-single,pins = <
278 0x1A 0x0 /* fref_clk1_out OUTPUT | MODE 7 for USB hub clk */
279 >;
280 };
281 };
283 &mmc1 {
284 vmmc-supply = <&vmmcsd_fixed>;
285 bus-width = <4>;
286 };
288 &mmc2 {
289 vmmc-supply = <&vmmcsd_fixed>;
290 bus-width = <8>;
291 ti,non-removable;
292 };
294 &mmc3 {
295 bus-width = <4>;
296 ti,non-removable;
297 status = "disabled";
298 };
300 &mmc4 {
301 status = "disabled";
302 };
304 &mmc5 {
305 status = "disabled";
306 };
308 &i2c5 {
309 tca6424a: tca6424a@22 {
310 compatible = "ti,tca6424a";
311 reg = <0x22>;
312 gpio-controller;
313 #gpio-cells = <2>;
314 };
315 };
317 &mcbsp3 {
318 status = "disabled";
319 };
321 &emif1 {
322 cs1-used;
323 device-handle = <&samsung_K3PE0E000B>;
324 };
326 &emif2 {
327 cs1-used;
328 device-handle = <&samsung_K3PE0E000B>;
329 };
331 &i2c1 {
332 clock-frequency = <400000>;
334 palmas: palmas@48 {
335 reg = <0x48>;
336 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
337 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
338 interrupt-parent = <&gic>;
339 };
341 twl6040: twl@4b {
342 compatible = "ti,twl6040";
344 interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
345 interrupt-parent = <&gic>;
346 ti,audpwron-gpio = <&gpio5 13 0>; /* gpio line 141 */
348 vio-supply = <&smps7_reg>;
349 v2v1-supply = <&smps9_reg>;
350 enable-active-high;
351 };
352 };
354 &usbhshost {
355 port2-mode = "ehci-hsic";
356 port3-mode = "ehci-hsic";
357 };
359 &usbhsehci {
360 phys = <0 &hsusb2_phy &hsusb3_phy>;
361 };
363 /include/ "palmas.dtsi"
364 /include/ "twl6040.dtsi"
366 &hdmi {
367 tpd12s015: tpd12s015 {
368 compatible = "ti,tpd12s015";
370 gpios = <&tca6424a 0 0>, /* TCA6424A P01, CT_CP_HDP */
371 <&tca6424a 1 0>, /* TCA6424A P00, LS_OE*/
372 <&gpio7 1 0>; /* 193, HPD */
374 hdmi-monitor {
375 compatible = "ti,hdmi_panel";
376 };
378 };
379 };
381 &uart1 {
382 pinctrl-names = "default";
383 pinctrl-0 = <&uart1_pins>;
384 };
386 &uart3 {
387 pinctrl-names = "default";
388 pinctrl-0 = <&uart3_pins>;
389 };
391 &uart5 {
392 pinctrl-names = "default";
393 pinctrl-0 = <&uart5_pins>;
394 };
396 &mcspi2 {
397 pinctrl-names = "default";
398 pinctrl-0 = <&mcspi2_pins>;
399 };
401 &mcspi3 {
402 pinctrl-names = "default";
403 pinctrl-0 = <&mcspi3_pins>;
404 };
406 &mcspi4 {
407 pinctrl-names = "default";
408 pinctrl-0 = <&mcspi4_pins>;
409 };