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>;
106 pinctrl-names = "default";
116 twl6040_pins: pinmux_twl6040_pins {
117 pinctrl-single,pins = <
118 0x17e (PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
122 mcpdm_pins: pinmux_mcpdm_pins {
123 pinctrl-single,pins = <
124 0x142 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */
125 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_ul_data.abemcpdm_ul_data */
126 0x15e (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_dl_data.abemcpdm_dl_data */
127 0x160 (PIN_INPUT_PULLUP | MUX_MODE0) /* abemcpdm_frame.abemcpdm_frame */
128 0x162 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_lb_clk.abemcpdm_lb_clk */
132 mcbsp1_pins: pinmux_mcbsp1_pins {
133 pinctrl-single,pins = <
134 0x14c (PIN_INPUT | MUX_MODE1) /* abedmic_clk2.abemcbsp1_fsx */
135 0x14e (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* abedmic_clk3.abemcbsp1_dx */
136 0x150 (PIN_INPUT | MUX_MODE1) /* abeslimbus1_clock.abemcbsp1_clkx */
137 0x152 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* abeslimbus1_data.abemcbsp1_dr */
141 mcbsp2_pins: pinmux_mcbsp2_pins {
142 pinctrl-single,pins = <
143 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dr.abemcbsp2_dr */
144 0x156 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dx.abemcbsp2_dx */
145 0x158 (PIN_INPUT | MUX_MODE0) /* abemcbsp2_fsx.abemcbsp2_fsx */
146 0x15a (PIN_INPUT | MUX_MODE0) /* abemcbsp2_clkx.abemcbsp2_clkx */
150 i2c1_pins: pinmux_i2c1_pins {
151 pinctrl-single,pins = <
152 0x1b2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
153 0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
157 i2c5_pins: pinmux_i2c5_pins {
158 pinctrl-single,pins = <
159 0x184 (PIN_INPUT | MUX_MODE0) /* i2c5_scl */
160 0x186 (PIN_INPUT | MUX_MODE0) /* i2c5_sda */
164 mcspi2_pins: pinmux_mcspi2_pins {
165 pinctrl-single,pins = <
166 0xbc (PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
167 0xbe (PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
168 0xc0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mcspi2_somi */
169 0xc2 (PIN_OUTPUT | MUX_MODE0) /* mcspi2_cs0 */
173 mcspi3_pins: pinmux_mcspi3_pins {
174 pinctrl-single,pins = <
175 0x78 (PIN_INPUT | MUX_MODE1) /* mcspi3_somi */
176 0x7a (PIN_INPUT | MUX_MODE1) /* mcspi3_cs0 */
177 0x7c (PIN_INPUT | MUX_MODE1) /* mcspi3_simo */
178 0x7e (PIN_INPUT | MUX_MODE1) /* mcspi3_clk */
182 mcspi4_pins: pinmux_mcspi4_pins {
183 pinctrl-single,pins = <
184 0x164 (PIN_INPUT | MUX_MODE1) /* mcspi4_clk */
185 0x168 (PIN_INPUT | MUX_MODE1) /* mcspi4_simo */
186 0x16a (PIN_INPUT | MUX_MODE1) /* mcspi4_somi */
187 0x16c (PIN_INPUT | MUX_MODE1) /* mcspi4_cs0 */
191 usbhost_pins: pinmux_usbhost_pins {
192 pinctrl-single,pins = <
193 0x84 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
194 0x86 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
196 0x19e (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
197 0x1a0 (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
199 0x70 (PIN_OUTPUT | MUX_MODE6) /* gpio3_80 HUB_NRESET */
200 0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */
204 led_gpio_pins: pinmux_led_gpio_pins {
205 pinctrl-single,pins = <
206 0x196 (PIN_OUTPUT | MUX_MODE6) /* uart3_cts_rctx.gpio5_153 */
210 uart1_pins: pinmux_uart1_pins {
211 pinctrl-single,pins = <
212 0x60 (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_cts */
213 0x62 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_tx.uart1_cts */
214 0x64 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rx.uart1_rts */
215 0x66 (PIN_OUTPUT | MUX_MODE0) /* uart1_rx.uart1_rts */
219 uart3_pins: pinmux_uart3_pins {
220 pinctrl-single,pins = <
221 0x19a (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_irsd.uart3_tx_irtx */
222 0x19c (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_rx_irrx.uart3_usbb3_hsic */
226 uart5_pins: pinmux_uart5_pins {
227 pinctrl-single,pins = <
228 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_rx.uart5_rx */
229 0x172 (PIN_OUTPUT | MUX_MODE0) /* uart5_tx.uart5_tx */
230 0x174 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_cts.uart5_rts */
231 0x176 (PIN_OUTPUT | MUX_MODE0) /* uart5_cts.uart5_rts */
235 dss_hdmi_pins: pinmux_dss_hdmi_pins {
236 pinctrl-single,pins = <
237 0x0fc (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */
238 0x100 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */
239 0x102 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */
243 tpd12s015_pins: pinmux_tpd12s015_pins {
244 pinctrl-single,pins = <
245 0x0fe (PIN_INPUT_PULLDOWN | MUX_MODE6) /* hdmi_hpd.gpio7_193 */
251 pinctrl-names = "default";
256 usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
257 pinctrl-single,pins = <
258 0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */
264 vmmc-supply = <&ldo9_reg>;
269 vmmc-supply = <&vmmcsd_fixed>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&i2c1_pins>;
291 clock-frequency = <400000>;
294 compatible = "ti,palmas";
295 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
296 interrupt-parent = <&gic>;
298 interrupt-controller;
299 #interrupt-cells = <2>;
300 ti,system-power-controller;
302 extcon_usb3: palmas_usb {
303 compatible = "ti,palmas-usb-vid";
304 ti,enable-vbus-detection;
305 ti,enable-id-detection;
309 clk32kgaudio: palmas_clk32k@1 {
310 compatible = "ti,palmas-clk32kgaudio";
315 compatible = "ti,palmas-pmic";
316 interrupt-parent = <&palmas>;
317 interrupts = <14 IRQ_TYPE_NONE>;
318 interrupt-name = "short-irq";
323 smps123_reg: smps123 {
325 regulator-name = "smps123";
326 regulator-min-microvolt = < 600000>;
327 regulator-max-microvolt = <1500000>;
334 regulator-name = "smps45";
335 regulator-min-microvolt = < 600000>;
336 regulator-max-microvolt = <1310000>;
342 /* VDD_DDR3 - over VDD_SMPS6 */
343 regulator-name = "smps6";
344 regulator-min-microvolt = <1200000>;
345 regulator-max-microvolt = <1200000>;
351 /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
352 regulator-name = "smps7";
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
361 regulator-name = "smps8";
362 regulator-min-microvolt = < 600000>;
363 regulator-max-microvolt = <1310000>;
369 /* VDDA_2v1_AUD over VDD_2v1 */
370 regulator-name = "smps9";
371 regulator-min-microvolt = <2100000>;
372 regulator-max-microvolt = <2100000>;
373 ti,smps-range = <0x80>;
376 smps10_out2_reg: smps10_out2 {
378 regulator-name = "smps10_out2";
379 regulator-min-microvolt = <5000000>;
380 regulator-max-microvolt = <5000000>;
385 smps10_out1_reg: smps10_out1 {
387 regulator-name = "smps10_out1";
388 regulator-min-microvolt = <5000000>;
389 regulator-max-microvolt = <5000000>;
393 /* VDDAPHY_CAM: vdda_csiport */
394 regulator-name = "ldo1";
395 regulator-min-microvolt = <1500000>;
396 regulator-max-microvolt = <1800000>;
400 /* VCC_2V8_DISP: Does not go anywhere */
401 regulator-name = "ldo2";
402 regulator-min-microvolt = <2800000>;
403 regulator-max-microvolt = <2800000>;
409 /* VDDAPHY_MDM: vdda_lli */
410 regulator-name = "ldo3";
411 regulator-min-microvolt = <1500000>;
412 regulator-max-microvolt = <1500000>;
414 /* Only if Modem is used */
419 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
420 regulator-name = "ldo4";
421 regulator-min-microvolt = <1500000>;
422 regulator-max-microvolt = <1800000>;
426 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
427 regulator-name = "ldo5";
428 regulator-min-microvolt = <1800000>;
429 regulator-max-microvolt = <1800000>;
435 /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
436 regulator-name = "ldo6";
437 regulator-min-microvolt = <1200000>;
438 regulator-max-microvolt = <1200000>;
445 regulator-name = "ldo7";
446 regulator-min-microvolt = <2000000>;
447 regulator-max-microvolt = <2000000>;
448 /* Only for efuse reprograming! */
453 /* VDD_3v0: Does not go anywhere */
454 regulator-name = "ldo8";
455 regulator-min-microvolt = <3000000>;
456 regulator-max-microvolt = <3000000>;
463 /* VCC_DV_SDIO: vdds_sdcard */
464 regulator-name = "ldo9";
465 regulator-min-microvolt = <1800000>;
466 regulator-max-microvolt = <3000000>;
471 /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
472 regulator-name = "ldoln";
473 regulator-min-microvolt = <1800000>;
474 regulator-max-microvolt = <1800000>;
480 /* VDDA_3V_USB: VDDA_USBHS33 */
481 regulator-name = "ldousb";
482 regulator-min-microvolt = <3250000>;
483 regulator-max-microvolt = <3250000>;
489 /* REGEN3 controls LDO9 supply to card */
490 regulator-name = "regen3";
500 pinctrl-names = "default";
501 pinctrl-0 = <&i2c5_pins>;
503 clock-frequency = <400000>;
506 compatible = "ti,tca6424";
518 port2-mode = "ehci-hsic";
519 port3-mode = "ehci-hsic";
523 phys = <0 &hsusb2_phy &hsusb3_phy>;
527 extcon = <&extcon_usb3>;
528 vbus-supply = <&smps10_out1_reg>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&mcspi2_pins>;
541 pinctrl-names = "default";
542 pinctrl-0 = <&mcspi3_pins>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&mcspi4_pins>;
551 pinctrl-names = "default";
552 pinctrl-0 = <&uart1_pins>;
556 pinctrl-names = "default";
557 pinctrl-0 = <&uart3_pins>;
561 pinctrl-names = "default";
562 pinctrl-0 = <&uart5_pins>;
566 cpu0-supply = <&smps123_reg>;
575 vdda-supply = <&ldo4_reg>;
577 pinctrl-names = "default";
578 pinctrl-0 = <&dss_hdmi_pins>;
582 remote-endpoint = <&tpd12s015_in>;