ARM: dts: omap5-uevm: update optional/unused regulator configurations
[deliverable/linux.git] / arch / arm / boot / dts / omap5-uevm.dts
CommitLineData
6b5de091 1/*
fa63d037 2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
6b5de091
S
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/;
9
98ef7957 10#include "omap5.dtsi"
e00c27ef
K
11#include <dt-bindings/interrupt-controller/irq.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
6b5de091
S
13
14/ {
fa63d037
S
15 model = "TI OMAP5 uEVM board";
16 compatible = "ti,omap5-uevm", "ti,omap5";
6b5de091
S
17
18 memory {
19 device_type = "memory";
03178c66 20 reg = <0x80000000 0x7F000000>; /* 2032 MB */
6b5de091 21 };
5dd18b01
B
22
23 vmmcsd_fixed: fixedregulator-mmcsd {
24 compatible = "regulator-fixed";
25 regulator-name = "vmmcsd_fixed";
26 regulator-min-microvolt = <3000000>;
27 regulator-max-microvolt = <3000000>;
28 };
5449fbc2 29
ed7f8e8a
RQ
30 /* HS USB Port 2 RESET */
31 hsusb2_reset: hsusb2_reset_reg {
32 compatible = "regulator-fixed";
33 regulator-name = "hsusb2_reset";
34 regulator-min-microvolt = <3300000>;
35 regulator-max-microvolt = <3300000>;
36 gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 HUB_NRESET */
37 startup-delay-us = <70000>;
38 enable-active-high;
39 };
40
41 /* HS USB Host PHY on PORT 2 */
42 hsusb2_phy: hsusb2_phy {
43 compatible = "usb-nop-xceiv";
44 reset-supply = <&hsusb2_reset>;
153030c2
RQ
45 /**
46 * FIXME
47 * Put the right clock phandle here when available
48 * clocks = <&auxclk1>;
49 * clock-names = "main_clk";
50 */
51 clock-frequency = <19200000>;
ed7f8e8a
RQ
52 };
53
54 /* HS USB Port 3 RESET */
55 hsusb3_reset: hsusb3_reset_reg {
56 compatible = "regulator-fixed";
57 regulator-name = "hsusb3_reset";
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
60 gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>; /* gpio3_79 ETH_NRESET */
61 startup-delay-us = <70000>;
62 enable-active-high;
63 };
64
65 /* HS USB Host PHY on PORT 3 */
66 hsusb3_phy: hsusb3_phy {
67 compatible = "usb-nop-xceiv";
68 reset-supply = <&hsusb3_reset>;
69 };
70
66155302
DM
71 leds {
72 compatible = "gpio-leds";
73 led@1 {
74 label = "omap5:blue:usr1";
75 gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
76 linux,default-trigger = "heartbeat";
77 default-state = "off";
78 };
79 };
5dd18b01
B
80};
81
8bbacc55
PU
82&omap5_pmx_core {
83 pinctrl-names = "default";
84 pinctrl-0 = <
85 &twl6040_pins
86 &mcpdm_pins
87 &dmic_pins
88 &mcbsp1_pins
89 &mcbsp2_pins
ed7f8e8a 90 &usbhost_pins
66155302 91 &led_gpio_pins
8bbacc55
PU
92 >;
93
94 twl6040_pins: pinmux_twl6040_pins {
95 pinctrl-single,pins = <
bcd3cca7 96 0x18a (PIN_OUTPUT | MUX_MODE6) /* perslimbus2_clock.gpio5_145 */
8bbacc55
PU
97 >;
98 };
99
100 mcpdm_pins: pinmux_mcpdm_pins {
101 pinctrl-single,pins = <
bcd3cca7
FV
102 0x142 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */
103 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_ul_data.abemcpdm_ul_data */
104 0x15e (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_dl_data.abemcpdm_dl_data */
105 0x160 (PIN_INPUT_PULLUP | MUX_MODE0) /* abemcpdm_frame.abemcpdm_frame */
106 0x162 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_lb_clk.abemcpdm_lb_clk */
8bbacc55
PU
107 >;
108 };
109
110 dmic_pins: pinmux_dmic_pins {
111 pinctrl-single,pins = <
bcd3cca7
FV
112 0x144 (PIN_INPUT | MUX_MODE0) /* abedmic_din1.abedmic_din1 */
113 0x146 (PIN_INPUT | MUX_MODE0) /* abedmic_din2.abedmic_din2 */
114 0x148 (PIN_INPUT | MUX_MODE0) /* abedmic_din3.abedmic_din3 */
115 0x14a (PIN_OUTPUT | MUX_MODE0) /* abedmic_clk1.abedmic_clk1 */
8bbacc55
PU
116 >;
117 };
118
119 mcbsp1_pins: pinmux_mcbsp1_pins {
120 pinctrl-single,pins = <
bcd3cca7
FV
121 0x14c (PIN_INPUT | MUX_MODE1) /* abedmic_clk2.abemcbsp1_fsx */
122 0x14e (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* abedmic_clk3.abemcbsp1_dx */
123 0x150 (PIN_INPUT | MUX_MODE1) /* abeslimbus1_clock.abemcbsp1_clkx */
124 0x152 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* abeslimbus1_data.abemcbsp1_dr */
8bbacc55
PU
125 >;
126 };
127
128 mcbsp2_pins: pinmux_mcbsp2_pins {
129 pinctrl-single,pins = <
bcd3cca7
FV
130 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dr.abemcbsp2_dr */
131 0x156 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dx.abemcbsp2_dx */
132 0x158 (PIN_INPUT | MUX_MODE0) /* abemcbsp2_fsx.abemcbsp2_fsx */
133 0x15a (PIN_INPUT | MUX_MODE0) /* abemcbsp2_clkx.abemcbsp2_clkx */
8bbacc55
PU
134 >;
135 };
9be495c4 136
bcd3cca7
FV
137 i2c1_pins: pinmux_i2c1_pins {
138 pinctrl-single,pins = <
139 0x1b2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
140 0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
141 >;
142 };
9be495c4 143
9be495c4
SP
144 i2c5_pins: pinmux_i2c5_pins {
145 pinctrl-single,pins = <
bcd3cca7
FV
146 0x184 (PIN_INPUT | MUX_MODE0) /* i2c5_scl */
147 0x186 (PIN_INPUT | MUX_MODE0) /* i2c5_sda */
9be495c4
SP
148 >;
149 };
392adaf7
SP
150
151 mcspi2_pins: pinmux_mcspi2_pins {
152 pinctrl-single,pins = <
bcd3cca7
FV
153 0xbc (PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
154 0xbe (PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
155 0xc0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mcspi2_somi */
156 0xc2 (PIN_OUTPUT | MUX_MODE0) /* mcspi2_cs */
392adaf7
SP
157 >;
158 };
159
160 mcspi3_pins: pinmux_mcspi3_pins {
161 pinctrl-single,pins = <
bcd3cca7
FV
162 0x78 (PIN_INPUT | MUX_MODE1) /* mcspi2_somi */
163 0x7a (PIN_INPUT | MUX_MODE1) /* mcspi2_cs */
164 0x7c (PIN_INPUT | MUX_MODE1) /* mcspi2_simo */
165 0x7e (PIN_INPUT | MUX_MODE1) /* mcspi2_clk */
392adaf7
SP
166 >;
167 };
168
169 mcspi4_pins: pinmux_mcspi4_pins {
170 pinctrl-single,pins = <
bcd3cca7
FV
171 0x164 (PIN_INPUT | MUX_MODE1) /* mcspi2_clk */
172 0x168 (PIN_INPUT | MUX_MODE1) /* mcspi2_simo */
173 0x16a (PIN_INPUT | MUX_MODE1) /* mcspi2_somi */
174 0x16c (PIN_INPUT | MUX_MODE1) /* mcspi2_cs */
392adaf7
SP
175 >;
176 };
ed7f8e8a
RQ
177
178 usbhost_pins: pinmux_usbhost_pins {
179 pinctrl-single,pins = <
180 0x84 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
181 0x86 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
182
183 0x19e (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
184 0x1a0 (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
185
186 0x70 (PIN_OUTPUT | MUX_MODE6) /* gpio3_80 HUB_NRESET */
187 0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */
188 >;
189 };
66155302
DM
190
191 led_gpio_pins: pinmux_led_gpio_pins {
192 pinctrl-single,pins = <
193 0x196 (PIN_OUTPUT | MUX_MODE6) /* uart3_cts_rctx.gpio5_153 */
194 >;
195 };
ed22fee3
SP
196
197 uart1_pins: pinmux_uart1_pins {
198 pinctrl-single,pins = <
199 0x60 (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_cts */
200 0x62 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_tx.uart1_cts */
201 0x64 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rx.uart1_rts */
202 0x66 (PIN_OUTPUT | MUX_MODE0) /* uart1_rx.uart1_rts */
203 >;
204 };
205
206 uart3_pins: pinmux_uart3_pins {
207 pinctrl-single,pins = <
208 0x19a (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_irsd.uart3_tx_irtx */
209 0x19c (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_rx_irrx.uart3_usbb3_hsic */
210 >;
211 };
212
213 uart5_pins: pinmux_uart5_pins {
214 pinctrl-single,pins = <
215 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_rx.uart5_rx */
216 0x172 (PIN_OUTPUT | MUX_MODE0) /* uart5_tx.uart5_tx */
217 0x174 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_cts.uart5_rts */
218 0x176 (PIN_OUTPUT | MUX_MODE0) /* uart5_cts.uart5_rts */
219 >;
220 };
221
ed7f8e8a
RQ
222};
223
224&omap5_pmx_wkup {
225 pinctrl-names = "default";
226 pinctrl-0 = <
227 &usbhost_wkup_pins
228 >;
229
230 usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
231 pinctrl-single,pins = <
232 0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */
233 >;
234 };
8bbacc55
PU
235};
236
5dd18b01 237&mmc1 {
e18235a6 238 vmmc-supply = <&ldo9_reg>;
5dd18b01
B
239 bus-width = <4>;
240};
241
242&mmc2 {
243 vmmc-supply = <&vmmcsd_fixed>;
244 bus-width = <8>;
245 ti,non-removable;
246};
247
248&mmc3 {
249 bus-width = <4>;
250 ti,non-removable;
251};
252
253&mmc4 {
254 status = "disabled";
255};
256
257&mmc5 {
258 status = "disabled";
6b5de091 259};
08f3e21b 260
9be495c4
SP
261&i2c1 {
262 pinctrl-names = "default";
263 pinctrl-0 = <&i2c1_pins>;
264
265 clock-frequency = <400000>;
e00c27ef
K
266
267 palmas: palmas@48 {
268 compatible = "ti,palmas";
269 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
270 interrupt-parent = <&gic>;
271 reg = <0x48>;
272 interrupt-controller;
273 #interrupt-cells = <2>;
274
275 palmas_pmic {
276 compatible = "ti,palmas-pmic";
277 interrupt-parent = <&palmas>;
278 interrupts = <14 IRQ_TYPE_NONE>;
279 interrupt-name = "short-irq";
280
281 ti,ldo6-vibrator;
282
283 regulators {
284 smps123_reg: smps123 {
3709d323 285 /* VDD_OPP_MPU */
e00c27ef
K
286 regulator-name = "smps123";
287 regulator-min-microvolt = < 600000>;
288 regulator-max-microvolt = <1500000>;
289 regulator-always-on;
290 regulator-boot-on;
291 };
292
293 smps45_reg: smps45 {
3709d323 294 /* VDD_OPP_MM */
e00c27ef
K
295 regulator-name = "smps45";
296 regulator-min-microvolt = < 600000>;
297 regulator-max-microvolt = <1310000>;
298 regulator-always-on;
299 regulator-boot-on;
300 };
301
302 smps6_reg: smps6 {
3709d323 303 /* VDD_DDR3 - over VDD_SMPS6 */
e00c27ef
K
304 regulator-name = "smps6";
305 regulator-min-microvolt = <1200000>;
306 regulator-max-microvolt = <1200000>;
307 regulator-always-on;
308 regulator-boot-on;
309 };
310
311 smps7_reg: smps7 {
3709d323 312 /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
e00c27ef
K
313 regulator-name = "smps7";
314 regulator-min-microvolt = <1800000>;
315 regulator-max-microvolt = <1800000>;
316 regulator-always-on;
317 regulator-boot-on;
318 };
319
320 smps8_reg: smps8 {
3709d323 321 /* VDD_OPP_CORE */
e00c27ef
K
322 regulator-name = "smps8";
323 regulator-min-microvolt = < 600000>;
324 regulator-max-microvolt = <1310000>;
325 regulator-always-on;
326 regulator-boot-on;
327 };
328
329 smps9_reg: smps9 {
3709d323 330 /* VDDA_2v1_AUD over VDD_2v1 */
e00c27ef
K
331 regulator-name = "smps9";
332 regulator-min-microvolt = <2100000>;
333 regulator-max-microvolt = <2100000>;
e00c27ef
K
334 ti,smps-range = <0x80>;
335 };
336
337 smps10_reg: smps10 {
3709d323 338 /* VBUS_5V_OTG */
e00c27ef
K
339 regulator-name = "smps10";
340 regulator-min-microvolt = <5000000>;
341 regulator-max-microvolt = <5000000>;
342 regulator-always-on;
343 regulator-boot-on;
344 };
345
346 ldo1_reg: ldo1 {
3709d323 347 /* VDDAPHY_CAM: vdda_csiport */
e00c27ef 348 regulator-name = "ldo1";
e18235a6
NM
349 regulator-min-microvolt = <1500000>;
350 regulator-max-microvolt = <1800000>;
e00c27ef
K
351 };
352
353 ldo2_reg: ldo2 {
3709d323 354 /* VCC_2V8_DISP: Does not go anywhere */
e00c27ef 355 regulator-name = "ldo2";
bd3c5544
NM
356 regulator-min-microvolt = <2800000>;
357 regulator-max-microvolt = <2800000>;
358 /* Unused */
359 status = "disabled";
e00c27ef
K
360 };
361
362 ldo3_reg: ldo3 {
3709d323 363 /* VDDAPHY_MDM: vdda_lli */
e00c27ef 364 regulator-name = "ldo3";
e18235a6
NM
365 regulator-min-microvolt = <1500000>;
366 regulator-max-microvolt = <1500000>;
e00c27ef 367 regulator-boot-on;
e18235a6
NM
368 /* Only if Modem is used */
369 status = "disabled";
e00c27ef
K
370 };
371
372 ldo4_reg: ldo4 {
3709d323 373 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
e00c27ef 374 regulator-name = "ldo4";
e18235a6
NM
375 regulator-min-microvolt = <1500000>;
376 regulator-max-microvolt = <1800000>;
e00c27ef
K
377 };
378
379 ldo5_reg: ldo5 {
3709d323 380 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
e00c27ef
K
381 regulator-name = "ldo5";
382 regulator-min-microvolt = <1800000>;
383 regulator-max-microvolt = <1800000>;
384 regulator-always-on;
385 regulator-boot-on;
386 };
387
388 ldo6_reg: ldo6 {
3709d323 389 /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
e00c27ef 390 regulator-name = "ldo6";
e18235a6
NM
391 regulator-min-microvolt = <1200000>;
392 regulator-max-microvolt = <1200000>;
e00c27ef
K
393 regulator-always-on;
394 regulator-boot-on;
395 };
396
397 ldo7_reg: ldo7 {
3709d323 398 /* VDD_VPP: vpp1 */
e00c27ef 399 regulator-name = "ldo7";
e18235a6
NM
400 regulator-min-microvolt = <2000000>;
401 regulator-max-microvolt = <2000000>;
402 /* Only for efuse reprograming! */
403 status = "disabled";
e00c27ef
K
404 };
405
406 ldo8_reg: ldo8 {
3709d323 407 /* VDD_3v0: Does not go anywhere */
e00c27ef 408 regulator-name = "ldo8";
bd3c5544
NM
409 regulator-min-microvolt = <3000000>;
410 regulator-max-microvolt = <3000000>;
e00c27ef 411 regulator-boot-on;
bd3c5544
NM
412 /* Unused */
413 status = "disabled";
e00c27ef
K
414 };
415
416 ldo9_reg: ldo9 {
3709d323 417 /* VCC_DV_SDIO: vdds_sdcard */
e00c27ef
K
418 regulator-name = "ldo9";
419 regulator-min-microvolt = <1800000>;
e18235a6 420 regulator-max-microvolt = <3000000>;
e00c27ef
K
421 regulator-boot-on;
422 };
423
424 ldoln_reg: ldoln {
3709d323 425 /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
e00c27ef
K
426 regulator-name = "ldoln";
427 regulator-min-microvolt = <1800000>;
428 regulator-max-microvolt = <1800000>;
429 regulator-always-on;
430 regulator-boot-on;
431 };
432
433 ldousb_reg: ldousb {
3709d323 434 /* VDDA_3V_USB: VDDA_USBHS33 */
e00c27ef
K
435 regulator-name = "ldousb";
436 regulator-min-microvolt = <3250000>;
437 regulator-max-microvolt = <3250000>;
438 regulator-always-on;
439 regulator-boot-on;
440 };
e18235a6
NM
441
442 regen3_reg: regen3 {
443 /* REGEN3 controls LDO9 supply to card */
444 regulator-name = "regen3";
445 regulator-always-on;
446 regulator-boot-on;
447 };
e00c27ef
K
448 };
449 };
450 };
9be495c4
SP
451};
452
9be495c4
SP
453&i2c5 {
454 pinctrl-names = "default";
455 pinctrl-0 = <&i2c5_pins>;
456
457 clock-frequency = <400000>;
458};
459
42601d58
PU
460&mcbsp3 {
461 status = "disabled";
462};
4d2750f3 463
ed7f8e8a
RQ
464&usbhshost {
465 port2-mode = "ehci-hsic";
466 port3-mode = "ehci-hsic";
467};
468
469&usbhsehci {
470 phys = <0 &hsusb2_phy &hsusb3_phy>;
471};
472
392adaf7
SP
473&mcspi1 {
474
475};
476
477&mcspi2 {
478 pinctrl-names = "default";
479 pinctrl-0 = <&mcspi2_pins>;
480};
481
482&mcspi3 {
483 pinctrl-names = "default";
484 pinctrl-0 = <&mcspi3_pins>;
485};
486
487&mcspi4 {
488 pinctrl-names = "default";
489 pinctrl-0 = <&mcspi4_pins>;
490};
ed22fee3
SP
491
492&uart1 {
493 pinctrl-names = "default";
494 pinctrl-0 = <&uart1_pins>;
495};
496
497&uart3 {
498 pinctrl-names = "default";
499 pinctrl-0 = <&uart3_pins>;
500};
501
502&uart5 {
503 pinctrl-names = "default";
504 pinctrl-0 = <&uart5_pins>;
505};
This page took 0.159762 seconds and 5 git commands to generate.