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 */
23 vmmcsd_fixed: fixedregulator-mmcsd {
24 compatible = "regulator-fixed";
25 regulator-name = "vmmcsd_fixed";
26 regulator-min-microvolt = <3000000>;
27 regulator-max-microvolt = <3000000>;
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>;
41 /* HS USB Host PHY on PORT 2 */
42 hsusb2_phy: hsusb2_phy {
43 compatible = "usb-nop-xceiv";
44 reset-supply = <&hsusb2_reset>;
47 /* HS USB Port 3 RESET */
48 hsusb3_reset: hsusb3_reset_reg {
49 compatible = "regulator-fixed";
50 regulator-name = "hsusb3_reset";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53 gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>; /* gpio3_79 ETH_NRESET */
54 startup-delay-us = <70000>;
58 /* HS USB Host PHY on PORT 3 */
59 hsusb3_phy: hsusb3_phy {
60 compatible = "usb-nop-xceiv";
61 reset-supply = <&hsusb3_reset>;
65 compatible = "gpio-leds";
67 label = "omap5:blue:usr1";
68 gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
69 linux,default-trigger = "heartbeat";
70 default-state = "off";
76 pinctrl-names = "default";
87 twl6040_pins: pinmux_twl6040_pins {
88 pinctrl-single,pins = <
89 0x18a (PIN_OUTPUT | MUX_MODE6) /* perslimbus2_clock.gpio5_145 */
93 mcpdm_pins: pinmux_mcpdm_pins {
94 pinctrl-single,pins = <
95 0x142 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */
96 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_ul_data.abemcpdm_ul_data */
97 0x15e (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_dl_data.abemcpdm_dl_data */
98 0x160 (PIN_INPUT_PULLUP | MUX_MODE0) /* abemcpdm_frame.abemcpdm_frame */
99 0x162 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_lb_clk.abemcpdm_lb_clk */
103 dmic_pins: pinmux_dmic_pins {
104 pinctrl-single,pins = <
105 0x144 (PIN_INPUT | MUX_MODE0) /* abedmic_din1.abedmic_din1 */
106 0x146 (PIN_INPUT | MUX_MODE0) /* abedmic_din2.abedmic_din2 */
107 0x148 (PIN_INPUT | MUX_MODE0) /* abedmic_din3.abedmic_din3 */
108 0x14a (PIN_OUTPUT | MUX_MODE0) /* abedmic_clk1.abedmic_clk1 */
112 mcbsp1_pins: pinmux_mcbsp1_pins {
113 pinctrl-single,pins = <
114 0x14c (PIN_INPUT | MUX_MODE1) /* abedmic_clk2.abemcbsp1_fsx */
115 0x14e (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* abedmic_clk3.abemcbsp1_dx */
116 0x150 (PIN_INPUT | MUX_MODE1) /* abeslimbus1_clock.abemcbsp1_clkx */
117 0x152 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* abeslimbus1_data.abemcbsp1_dr */
121 mcbsp2_pins: pinmux_mcbsp2_pins {
122 pinctrl-single,pins = <
123 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dr.abemcbsp2_dr */
124 0x156 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dx.abemcbsp2_dx */
125 0x158 (PIN_INPUT | MUX_MODE0) /* abemcbsp2_fsx.abemcbsp2_fsx */
126 0x15a (PIN_INPUT | MUX_MODE0) /* abemcbsp2_clkx.abemcbsp2_clkx */
130 i2c1_pins: pinmux_i2c1_pins {
131 pinctrl-single,pins = <
132 0x1b2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
133 0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
137 i2c5_pins: pinmux_i2c5_pins {
138 pinctrl-single,pins = <
139 0x184 (PIN_INPUT | MUX_MODE0) /* i2c5_scl */
140 0x186 (PIN_INPUT | MUX_MODE0) /* i2c5_sda */
144 mcspi2_pins: pinmux_mcspi2_pins {
145 pinctrl-single,pins = <
146 0xbc (PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
147 0xbe (PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
148 0xc0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mcspi2_somi */
149 0xc2 (PIN_OUTPUT | MUX_MODE0) /* mcspi2_cs */
153 mcspi3_pins: pinmux_mcspi3_pins {
154 pinctrl-single,pins = <
155 0x78 (PIN_INPUT | MUX_MODE1) /* mcspi2_somi */
156 0x7a (PIN_INPUT | MUX_MODE1) /* mcspi2_cs */
157 0x7c (PIN_INPUT | MUX_MODE1) /* mcspi2_simo */
158 0x7e (PIN_INPUT | MUX_MODE1) /* mcspi2_clk */
162 mcspi4_pins: pinmux_mcspi4_pins {
163 pinctrl-single,pins = <
164 0x164 (PIN_INPUT | MUX_MODE1) /* mcspi2_clk */
165 0x168 (PIN_INPUT | MUX_MODE1) /* mcspi2_simo */
166 0x16a (PIN_INPUT | MUX_MODE1) /* mcspi2_somi */
167 0x16c (PIN_INPUT | MUX_MODE1) /* mcspi2_cs */
171 usbhost_pins: pinmux_usbhost_pins {
172 pinctrl-single,pins = <
173 0x84 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
174 0x86 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
176 0x19e (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
177 0x1a0 (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
179 0x70 (PIN_OUTPUT | MUX_MODE6) /* gpio3_80 HUB_NRESET */
180 0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */
184 led_gpio_pins: pinmux_led_gpio_pins {
185 pinctrl-single,pins = <
186 0x196 (PIN_OUTPUT | MUX_MODE6) /* uart3_cts_rctx.gpio5_153 */
190 uart1_pins: pinmux_uart1_pins {
191 pinctrl-single,pins = <
192 0x60 (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_cts */
193 0x62 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_tx.uart1_cts */
194 0x64 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rx.uart1_rts */
195 0x66 (PIN_OUTPUT | MUX_MODE0) /* uart1_rx.uart1_rts */
199 uart3_pins: pinmux_uart3_pins {
200 pinctrl-single,pins = <
201 0x19a (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_irsd.uart3_tx_irtx */
202 0x19c (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_rx_irrx.uart3_usbb3_hsic */
206 uart5_pins: pinmux_uart5_pins {
207 pinctrl-single,pins = <
208 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_rx.uart5_rx */
209 0x172 (PIN_OUTPUT | MUX_MODE0) /* uart5_tx.uart5_tx */
210 0x174 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_cts.uart5_rts */
211 0x176 (PIN_OUTPUT | MUX_MODE0) /* uart5_cts.uart5_rts */
218 pinctrl-names = "default";
223 usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
224 pinctrl-single,pins = <
225 0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */
231 vmmc-supply = <&vmmcsd_fixed>;
236 vmmc-supply = <&vmmcsd_fixed>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&i2c1_pins>;
258 clock-frequency = <400000>;
261 compatible = "ti,palmas";
262 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
263 interrupt-parent = <&gic>;
265 interrupt-controller;
266 #interrupt-cells = <2>;
269 compatible = "ti,palmas-pmic";
270 interrupt-parent = <&palmas>;
271 interrupts = <14 IRQ_TYPE_NONE>;
272 interrupt-name = "short-irq";
277 smps123_reg: smps123 {
278 regulator-name = "smps123";
279 regulator-min-microvolt = < 600000>;
280 regulator-max-microvolt = <1500000>;
286 regulator-name = "smps45";
287 regulator-min-microvolt = < 600000>;
288 regulator-max-microvolt = <1310000>;
294 regulator-name = "smps6";
295 regulator-min-microvolt = <1200000>;
296 regulator-max-microvolt = <1200000>;
302 regulator-name = "smps7";
303 regulator-min-microvolt = <1800000>;
304 regulator-max-microvolt = <1800000>;
310 regulator-name = "smps8";
311 regulator-min-microvolt = < 600000>;
312 regulator-max-microvolt = <1310000>;
318 regulator-name = "smps9";
319 regulator-min-microvolt = <2100000>;
320 regulator-max-microvolt = <2100000>;
323 ti,smps-range = <0x80>;
327 regulator-name = "smps10";
328 regulator-min-microvolt = <5000000>;
329 regulator-max-microvolt = <5000000>;
335 regulator-name = "ldo1";
336 regulator-min-microvolt = <2800000>;
337 regulator-max-microvolt = <2800000>;
343 regulator-name = "ldo2";
344 regulator-min-microvolt = <2900000>;
345 regulator-max-microvolt = <2900000>;
351 regulator-name = "ldo3";
352 regulator-min-microvolt = <3000000>;
353 regulator-max-microvolt = <3000000>;
359 regulator-name = "ldo4";
360 regulator-min-microvolt = <2200000>;
361 regulator-max-microvolt = <2200000>;
367 regulator-name = "ldo5";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
375 regulator-name = "ldo6";
376 regulator-min-microvolt = <1500000>;
377 regulator-max-microvolt = <1500000>;
383 regulator-name = "ldo7";
384 regulator-min-microvolt = <1500000>;
385 regulator-max-microvolt = <1500000>;
391 regulator-name = "ldo8";
392 regulator-min-microvolt = <1500000>;
393 regulator-max-microvolt = <1500000>;
399 regulator-name = "ldo9";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <3300000>;
407 regulator-name = "ldoln";
408 regulator-min-microvolt = <1800000>;
409 regulator-max-microvolt = <1800000>;
415 regulator-name = "ldousb";
416 regulator-min-microvolt = <3250000>;
417 regulator-max-microvolt = <3250000>;
427 pinctrl-names = "default";
428 pinctrl-0 = <&i2c5_pins>;
430 clock-frequency = <400000>;
438 port2-mode = "ehci-hsic";
439 port3-mode = "ehci-hsic";
443 phys = <0 &hsusb2_phy &hsusb3_phy>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&mcspi2_pins>;
456 pinctrl-names = "default";
457 pinctrl-0 = <&mcspi3_pins>;
461 pinctrl-names = "default";
462 pinctrl-0 = <&mcspi4_pins>;
466 pinctrl-names = "default";
467 pinctrl-0 = <&uart1_pins>;
471 pinctrl-names = "default";
472 pinctrl-0 = <&uart3_pins>;
476 pinctrl-names = "default";
477 pinctrl-0 = <&uart5_pins>;