2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
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.
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 model = "TI OMAP5 uEVM board";
16 compatible = "ti,omap5-uevm", "ti,omap5";
19 device_type = "memory";
20 reg = <0x80000000 0x7F000000>; /* 2032 MB */
27 vmmcsd_fixed: fixedregulator-mmcsd {
28 compatible = "regulator-fixed";
29 regulator-name = "vmmcsd_fixed";
30 regulator-min-microvolt = <3000000>;
31 regulator-max-microvolt = <3000000>;
34 /* HS USB Host PHY on PORT 2 */
35 hsusb2_phy: hsusb2_phy {
36 compatible = "usb-nop-xceiv";
37 reset-gpios = <&gpio3 16 GPIO_ACTIVE_LOW>; /* gpio3_80 HUB_NRESET */
38 clocks = <&auxclk1_ck>;
39 clock-names = "main_clk";
40 clock-frequency = <19200000>;
43 /* HS USB Host PHY on PORT 3 */
44 hsusb3_phy: hsusb3_phy {
45 compatible = "usb-nop-xceiv";
46 reset-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; /* gpio3_79 ETH_NRESET */
50 compatible = "gpio-leds";
52 label = "omap5:blue:usr1";
53 gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
54 linux,default-trigger = "heartbeat";
55 default-state = "off";
59 tpd12s015: encoder@0 {
60 compatible = "ti,tpd12s015";
62 pinctrl-names = "default";
63 pinctrl-0 = <&tpd12s015_pins>;
65 gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */
66 <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */
67 <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
76 tpd12s015_in: endpoint@0 {
77 remote-endpoint = <&hdmi_out>;
84 tpd12s015_out: endpoint@0 {
85 remote-endpoint = <&hdmi_connector_in>;
92 compatible = "hdmi-connector";
98 hdmi_connector_in: endpoint {
99 remote-endpoint = <&tpd12s015_out>;
105 compatible = "ti,abe-twl6040";
106 ti,model = "omap5-uevm";
108 ti,mclk-freq = <19200000>;
112 ti,twl6040 = <&twl6040>;
116 "Headset Stereophone", "HSOL",
117 "Headset Stereophone", "HSOR",
120 "HSMIC", "Headset Mic",
121 "Headset Mic", "Headset Mic Bias",
128 pinctrl-names = "default";
134 twl6040_pins: pinmux_twl6040_pins {
135 pinctrl-single,pins = <
136 0x17e (PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
140 mcpdm_pins: pinmux_mcpdm_pins {
141 pinctrl-single,pins = <
142 0x142 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */
143 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_ul_data.abemcpdm_ul_data */
144 0x15e (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_dl_data.abemcpdm_dl_data */
145 0x160 (PIN_INPUT_PULLUP | MUX_MODE0) /* abemcpdm_frame.abemcpdm_frame */
146 0x162 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_lb_clk.abemcpdm_lb_clk */
150 mcbsp1_pins: pinmux_mcbsp1_pins {
151 pinctrl-single,pins = <
152 0x14c (PIN_INPUT | MUX_MODE1) /* abedmic_clk2.abemcbsp1_fsx */
153 0x14e (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* abedmic_clk3.abemcbsp1_dx */
154 0x150 (PIN_INPUT | MUX_MODE1) /* abeslimbus1_clock.abemcbsp1_clkx */
155 0x152 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* abeslimbus1_data.abemcbsp1_dr */
159 mcbsp2_pins: pinmux_mcbsp2_pins {
160 pinctrl-single,pins = <
161 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dr.abemcbsp2_dr */
162 0x156 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dx.abemcbsp2_dx */
163 0x158 (PIN_INPUT | MUX_MODE0) /* abemcbsp2_fsx.abemcbsp2_fsx */
164 0x15a (PIN_INPUT | MUX_MODE0) /* abemcbsp2_clkx.abemcbsp2_clkx */
168 i2c1_pins: pinmux_i2c1_pins {
169 pinctrl-single,pins = <
170 0x1b2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
171 0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
175 i2c5_pins: pinmux_i2c5_pins {
176 pinctrl-single,pins = <
177 0x184 (PIN_INPUT | MUX_MODE0) /* i2c5_scl */
178 0x186 (PIN_INPUT | MUX_MODE0) /* i2c5_sda */
182 mcspi2_pins: pinmux_mcspi2_pins {
183 pinctrl-single,pins = <
184 0xbc (PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
185 0xbe (PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
186 0xc0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mcspi2_somi */
187 0xc2 (PIN_OUTPUT | MUX_MODE0) /* mcspi2_cs0 */
191 mcspi3_pins: pinmux_mcspi3_pins {
192 pinctrl-single,pins = <
193 0x78 (PIN_INPUT | MUX_MODE1) /* mcspi3_somi */
194 0x7a (PIN_INPUT | MUX_MODE1) /* mcspi3_cs0 */
195 0x7c (PIN_INPUT | MUX_MODE1) /* mcspi3_simo */
196 0x7e (PIN_INPUT | MUX_MODE1) /* mcspi3_clk */
200 mcspi4_pins: pinmux_mcspi4_pins {
201 pinctrl-single,pins = <
202 0x164 (PIN_INPUT | MUX_MODE1) /* mcspi4_clk */
203 0x168 (PIN_INPUT | MUX_MODE1) /* mcspi4_simo */
204 0x16a (PIN_INPUT | MUX_MODE1) /* mcspi4_somi */
205 0x16c (PIN_INPUT | MUX_MODE1) /* mcspi4_cs0 */
209 usbhost_pins: pinmux_usbhost_pins {
210 pinctrl-single,pins = <
211 0x84 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
212 0x86 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
214 0x19e (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
215 0x1a0 (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
217 0x70 (PIN_OUTPUT | MUX_MODE6) /* gpio3_80 HUB_NRESET */
218 0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */
222 led_gpio_pins: pinmux_led_gpio_pins {
223 pinctrl-single,pins = <
224 0x196 (PIN_OUTPUT | MUX_MODE6) /* uart3_cts_rctx.gpio5_153 */
228 uart1_pins: pinmux_uart1_pins {
229 pinctrl-single,pins = <
230 0x60 (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_cts */
231 0x62 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_tx.uart1_cts */
232 0x64 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rx.uart1_rts */
233 0x66 (PIN_OUTPUT | MUX_MODE0) /* uart1_rx.uart1_rts */
237 uart3_pins: pinmux_uart3_pins {
238 pinctrl-single,pins = <
239 0x19a (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_irsd.uart3_tx_irtx */
240 0x19c (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_rx_irrx.uart3_usbb3_hsic */
244 uart5_pins: pinmux_uart5_pins {
245 pinctrl-single,pins = <
246 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_rx.uart5_rx */
247 0x172 (PIN_OUTPUT | MUX_MODE0) /* uart5_tx.uart5_tx */
248 0x174 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_cts.uart5_rts */
249 0x176 (PIN_OUTPUT | MUX_MODE0) /* uart5_cts.uart5_rts */
253 dss_hdmi_pins: pinmux_dss_hdmi_pins {
254 pinctrl-single,pins = <
255 0x0fc (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */
256 0x100 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */
257 0x102 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */
261 tpd12s015_pins: pinmux_tpd12s015_pins {
262 pinctrl-single,pins = <
263 0x0fe (PIN_INPUT_PULLDOWN | MUX_MODE6) /* hdmi_hpd.gpio7_193 */
269 pinctrl-names = "default";
274 usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
275 pinctrl-single,pins = <
276 0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */
282 vmmc-supply = <&ldo9_reg>;
287 vmmc-supply = <&vmmcsd_fixed>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&i2c1_pins>;
309 clock-frequency = <400000>;
312 compatible = "ti,palmas";
313 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
315 interrupt-controller;
316 #interrupt-cells = <2>;
317 ti,system-power-controller;
319 extcon_usb3: palmas_usb {
320 compatible = "ti,palmas-usb-vid";
321 ti,enable-vbus-detection;
322 ti,enable-id-detection;
326 clk32kgaudio: palmas_clk32k@1 {
327 compatible = "ti,palmas-clk32kgaudio";
332 compatible = "ti,palmas-pmic";
333 interrupt-parent = <&palmas>;
334 interrupts = <14 IRQ_TYPE_NONE>;
335 interrupt-name = "short-irq";
340 smps123_reg: smps123 {
342 regulator-name = "smps123";
343 regulator-min-microvolt = < 600000>;
344 regulator-max-microvolt = <1500000>;
351 regulator-name = "smps45";
352 regulator-min-microvolt = < 600000>;
353 regulator-max-microvolt = <1310000>;
359 /* VDD_DDR3 - over VDD_SMPS6 */
360 regulator-name = "smps6";
361 regulator-min-microvolt = <1200000>;
362 regulator-max-microvolt = <1200000>;
368 /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
369 regulator-name = "smps7";
370 regulator-min-microvolt = <1800000>;
371 regulator-max-microvolt = <1800000>;
378 regulator-name = "smps8";
379 regulator-min-microvolt = < 600000>;
380 regulator-max-microvolt = <1310000>;
386 /* VDDA_2v1_AUD over VDD_2v1 */
387 regulator-name = "smps9";
388 regulator-min-microvolt = <2100000>;
389 regulator-max-microvolt = <2100000>;
390 ti,smps-range = <0x80>;
393 smps10_out2_reg: smps10_out2 {
395 regulator-name = "smps10_out2";
396 regulator-min-microvolt = <5000000>;
397 regulator-max-microvolt = <5000000>;
402 smps10_out1_reg: smps10_out1 {
404 regulator-name = "smps10_out1";
405 regulator-min-microvolt = <5000000>;
406 regulator-max-microvolt = <5000000>;
410 /* VDDAPHY_CAM: vdda_csiport */
411 regulator-name = "ldo1";
412 regulator-min-microvolt = <1500000>;
413 regulator-max-microvolt = <1800000>;
417 /* VCC_2V8_DISP: Does not go anywhere */
418 regulator-name = "ldo2";
419 regulator-min-microvolt = <2800000>;
420 regulator-max-microvolt = <2800000>;
426 /* VDDAPHY_MDM: vdda_lli */
427 regulator-name = "ldo3";
428 regulator-min-microvolt = <1500000>;
429 regulator-max-microvolt = <1500000>;
431 /* Only if Modem is used */
436 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
437 regulator-name = "ldo4";
438 regulator-min-microvolt = <1500000>;
439 regulator-max-microvolt = <1800000>;
443 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
444 regulator-name = "ldo5";
445 regulator-min-microvolt = <1800000>;
446 regulator-max-microvolt = <1800000>;
452 /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
453 regulator-name = "ldo6";
454 regulator-min-microvolt = <1200000>;
455 regulator-max-microvolt = <1200000>;
462 regulator-name = "ldo7";
463 regulator-min-microvolt = <2000000>;
464 regulator-max-microvolt = <2000000>;
465 /* Only for efuse reprograming! */
470 /* VDD_3v0: Does not go anywhere */
471 regulator-name = "ldo8";
472 regulator-min-microvolt = <3000000>;
473 regulator-max-microvolt = <3000000>;
480 /* VCC_DV_SDIO: vdds_sdcard */
481 regulator-name = "ldo9";
482 regulator-min-microvolt = <1800000>;
483 regulator-max-microvolt = <3000000>;
488 /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
489 regulator-name = "ldoln";
490 regulator-min-microvolt = <1800000>;
491 regulator-max-microvolt = <1800000>;
497 /* VDDA_3V_USB: VDDA_USBHS33 */
498 regulator-name = "ldousb";
499 regulator-min-microvolt = <3250000>;
500 regulator-max-microvolt = <3250000>;
506 /* REGEN3 controls LDO9 supply to card */
507 regulator-name = "regen3";
516 compatible = "ti,twl6040";
519 pinctrl-names = "default";
520 pinctrl-0 = <&twl6040_pins>;
522 interrupts = <GIC_SPI 119 IRQ_TYPE_NONE>; /* IRQ_SYS_2N cascaded to gic */
523 ti,audpwron-gpio = <&gpio5 13 0>; /* gpio line 141 */
525 vio-supply = <&smps7_reg>;
526 v2v1-supply = <&smps9_reg>;
529 clocks = <&clk32kgaudio>;
530 clock-names = "clk32k";
535 pinctrl-names = "default";
536 pinctrl-0 = <&i2c5_pins>;
538 clock-frequency = <400000>;
541 compatible = "ti,tca6424";
549 pinctrl-names = "default";
550 pinctrl-0 = <&mcpdm_pins>;
555 pinctrl-names = "default";
556 pinctrl-0 = <&mcbsp1_pins>;
561 pinctrl-names = "default";
562 pinctrl-0 = <&mcbsp2_pins>;
567 port2-mode = "ehci-hsic";
568 port3-mode = "ehci-hsic";
572 phys = <0 &hsusb2_phy &hsusb3_phy>;
576 extcon = <&extcon_usb3>;
577 vbus-supply = <&smps10_out1_reg>;
585 pinctrl-names = "default";
586 pinctrl-0 = <&mcspi2_pins>;
590 pinctrl-names = "default";
591 pinctrl-0 = <&mcspi3_pins>;
595 pinctrl-names = "default";
596 pinctrl-0 = <&mcspi4_pins>;
600 pinctrl-names = "default";
601 pinctrl-0 = <&uart1_pins>;
605 pinctrl-names = "default";
606 pinctrl-0 = <&uart3_pins>;
607 interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
608 <&omap5_pmx_core 0x19c>;
612 pinctrl-names = "default";
613 pinctrl-0 = <&uart5_pins>;
617 cpu0-supply = <&smps123_reg>;
626 vdda-supply = <&ldo4_reg>;
628 pinctrl-names = "default";
629 pinctrl-0 = <&dss_hdmi_pins>;
633 remote-endpoint = <&tpd12s015_in>;