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.
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
17 vmmcsd_fixed: fixedregulator-mmcsd {
18 compatible = "regulator-fixed";
19 regulator-name = "vmmcsd_fixed";
20 regulator-min-microvolt = <3000000>;
21 regulator-max-microvolt = <3000000>;
24 mmc3_pwrseq: sdhci0_pwrseq {
25 compatible = "mmc-pwrseq-simple";
26 clocks = <&clk32kgaudio>;
27 clock-names = "ext_clock";
30 vmmcsdio_fixed: fixedregulator-mmcsdio {
31 compatible = "regulator-fixed";
32 regulator-name = "vmmcsdio_fixed";
33 regulator-min-microvolt = <1800000>;
34 regulator-max-microvolt = <1800000>;
35 gpio = <&gpio5 12 GPIO_ACTIVE_HIGH>; /* gpio140 WLAN_EN */
37 startup-delay-us = <70000>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&wlan_pins>;
42 /* HS USB Host PHY on PORT 2 */
43 hsusb2_phy: hsusb2_phy {
44 compatible = "usb-nop-xceiv";
45 reset-gpios = <&gpio3 16 GPIO_ACTIVE_LOW>; /* gpio3_80 HUB_NRESET */
46 clocks = <&auxclk1_ck>;
47 clock-names = "main_clk";
48 clock-frequency = <19200000>;
51 /* HS USB Host PHY on PORT 3 */
52 hsusb3_phy: hsusb3_phy {
53 compatible = "usb-nop-xceiv";
54 reset-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; /* gpio3_79 ETH_NRESET */
58 compatible = "gpio-leds";
60 label = "omap5:blue:usr1";
61 gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
62 linux,default-trigger = "heartbeat";
63 default-state = "off";
67 tpd12s015: encoder@0 {
68 compatible = "ti,tpd12s015";
70 pinctrl-names = "default";
71 pinctrl-0 = <&tpd12s015_pins>;
73 /* gpios defined in the board specific dts */
82 tpd12s015_in: endpoint@0 {
83 remote-endpoint = <&hdmi_out>;
90 tpd12s015_out: endpoint@0 {
91 remote-endpoint = <&hdmi_connector_in>;
98 compatible = "hdmi-connector";
104 hdmi_connector_in: endpoint {
105 remote-endpoint = <&tpd12s015_out>;
111 compatible = "ti,abe-twl6040";
112 ti,model = "omap5-uevm";
114 ti,mclk-freq = <19200000>;
118 ti,twl6040 = <&twl6040>;
122 "Headset Stereophone", "HSOL",
123 "Headset Stereophone", "HSOR",
126 "HSMIC", "Headset Mic",
127 "Headset Mic", "Headset Mic Bias",
134 pinctrl-names = "default";
140 twl6040_pins: pinmux_twl6040_pins {
141 pinctrl-single,pins = <
142 0x17e (PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
146 mcpdm_pins: pinmux_mcpdm_pins {
147 pinctrl-single,pins = <
148 0x142 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */
149 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_ul_data.abemcpdm_ul_data */
150 0x15e (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_dl_data.abemcpdm_dl_data */
151 0x160 (PIN_INPUT_PULLUP | MUX_MODE0) /* abemcpdm_frame.abemcpdm_frame */
152 0x162 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_lb_clk.abemcpdm_lb_clk */
156 mcbsp1_pins: pinmux_mcbsp1_pins {
157 pinctrl-single,pins = <
158 0x14c (PIN_INPUT | MUX_MODE1) /* abedmic_clk2.abemcbsp1_fsx */
159 0x14e (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* abedmic_clk3.abemcbsp1_dx */
160 0x150 (PIN_INPUT | MUX_MODE1) /* abeslimbus1_clock.abemcbsp1_clkx */
161 0x152 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* abeslimbus1_data.abemcbsp1_dr */
165 mcbsp2_pins: pinmux_mcbsp2_pins {
166 pinctrl-single,pins = <
167 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dr.abemcbsp2_dr */
168 0x156 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dx.abemcbsp2_dx */
169 0x158 (PIN_INPUT | MUX_MODE0) /* abemcbsp2_fsx.abemcbsp2_fsx */
170 0x15a (PIN_INPUT | MUX_MODE0) /* abemcbsp2_clkx.abemcbsp2_clkx */
174 i2c1_pins: pinmux_i2c1_pins {
175 pinctrl-single,pins = <
176 0x1b2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
177 0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
181 mcspi2_pins: pinmux_mcspi2_pins {
182 pinctrl-single,pins = <
183 0xbc (PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
184 0xbe (PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
185 0xc0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mcspi2_somi */
186 0xc2 (PIN_OUTPUT | MUX_MODE0) /* mcspi2_cs0 */
190 mcspi3_pins: pinmux_mcspi3_pins {
191 pinctrl-single,pins = <
192 0x78 (PIN_INPUT | MUX_MODE1) /* mcspi3_somi */
193 0x7a (PIN_INPUT | MUX_MODE1) /* mcspi3_cs0 */
194 0x7c (PIN_INPUT | MUX_MODE1) /* mcspi3_simo */
195 0x7e (PIN_INPUT | MUX_MODE1) /* mcspi3_clk */
199 mmc3_pins: pinmux_mmc3_pins {
200 pinctrl-single,pins = <
201 OMAP5_IOPAD(0x01a4, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_clk */
202 OMAP5_IOPAD(0x01a6, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_cmd */
203 OMAP5_IOPAD(0x01a8, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data0 */
204 OMAP5_IOPAD(0x01aa, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data1 */
205 OMAP5_IOPAD(0x01ac, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data2 */
206 OMAP5_IOPAD(0x01ae, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data3 */
210 wlan_pins: pinmux_wlan_pins {
211 pinctrl-single,pins = <
212 OMAP5_IOPAD(0x1bc, PIN_OUTPUT | MUX_MODE6) /* mcspi1_clk.gpio5_140 */
216 usbhost_pins: pinmux_usbhost_pins {
217 pinctrl-single,pins = <
218 0x84 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
219 0x86 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
221 0x19e (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
222 0x1a0 (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
224 0x70 (PIN_OUTPUT | MUX_MODE6) /* gpio3_80 HUB_NRESET */
225 0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */
229 led_gpio_pins: pinmux_led_gpio_pins {
230 pinctrl-single,pins = <
231 0x196 (PIN_OUTPUT | MUX_MODE6) /* uart3_cts_rctx.gpio5_153 */
235 uart1_pins: pinmux_uart1_pins {
236 pinctrl-single,pins = <
237 0x60 (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_cts */
238 0x62 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_tx.uart1_cts */
239 0x64 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rx.uart1_rts */
240 0x66 (PIN_OUTPUT | MUX_MODE0) /* uart1_rx.uart1_rts */
244 uart3_pins: pinmux_uart3_pins {
245 pinctrl-single,pins = <
246 0x19a (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_irsd.uart3_tx_irtx */
247 0x19c (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_rx_irrx.uart3_usbb3_hsic */
251 uart5_pins: pinmux_uart5_pins {
252 pinctrl-single,pins = <
253 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_rx.uart5_rx */
254 0x172 (PIN_OUTPUT | MUX_MODE0) /* uart5_tx.uart5_tx */
255 0x174 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_cts.uart5_rts */
256 0x176 (PIN_OUTPUT | MUX_MODE0) /* uart5_cts.uart5_rts */
260 dss_hdmi_pins: pinmux_dss_hdmi_pins {
261 pinctrl-single,pins = <
262 0x0fc (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */
263 0x100 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */
264 0x102 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */
268 tpd12s015_pins: pinmux_tpd12s015_pins {
269 pinctrl-single,pins = <
270 0x0fe (PIN_INPUT_PULLDOWN | MUX_MODE6) /* hdmi_hpd.gpio7_193 */
276 pinctrl-names = "default";
281 usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
282 pinctrl-single,pins = <
283 0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */
287 wlcore_irq_pin: pinmux_wlcore_irq_pin {
288 pinctrl-single,pins = <
289 OMAP5_IOPAD(0x040, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE6) /* llia_wakereqin.gpio1_wk14 */
295 vmmc-supply = <&ldo9_reg>;
300 vmmc-supply = <&vmmcsd_fixed>;
306 vmmc-supply = <&vmmcsdio_fixed>;
307 mmc-pwrseq = <&mmc3_pwrseq>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&mmc3_pins &wlcore_irq_pin>;
313 interrupts-extended = <&gic GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH
314 &omap5_pmx_core 0x168>;
316 #address-cells = <1>;
319 compatible = "ti,wl1271";
321 interrupt-parent = <&gpio1>;
322 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; /* gpio 14 */
323 ref-clock-frequency = <26000000>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&i2c1_pins>;
339 clock-frequency = <400000>;
342 compatible = "ti,palmas";
343 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
345 interrupt-controller;
346 #interrupt-cells = <2>;
347 ti,system-power-controller;
349 extcon_usb3: palmas_usb {
350 compatible = "ti,palmas-usb-vid";
351 ti,enable-vbus-detection;
352 ti,enable-id-detection;
356 clk32kgaudio: palmas_clk32k@1 {
357 compatible = "ti,palmas-clk32kgaudio";
362 compatible = "ti,palmas-pmic";
363 interrupt-parent = <&palmas>;
364 interrupts = <14 IRQ_TYPE_NONE>;
365 interrupt-name = "short-irq";
370 smps123_reg: smps123 {
372 regulator-name = "smps123";
373 regulator-min-microvolt = < 600000>;
374 regulator-max-microvolt = <1500000>;
381 regulator-name = "smps45";
382 regulator-min-microvolt = < 600000>;
383 regulator-max-microvolt = <1310000>;
389 /* VDD_DDR3 - over VDD_SMPS6 */
390 regulator-name = "smps6";
391 regulator-min-microvolt = <1200000>;
392 regulator-max-microvolt = <1200000>;
398 /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
399 regulator-name = "smps7";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
408 regulator-name = "smps8";
409 regulator-min-microvolt = < 600000>;
410 regulator-max-microvolt = <1310000>;
416 /* VDDA_2v1_AUD over VDD_2v1 */
417 regulator-name = "smps9";
418 regulator-min-microvolt = <2100000>;
419 regulator-max-microvolt = <2100000>;
420 ti,smps-range = <0x80>;
423 smps10_out2_reg: smps10_out2 {
425 regulator-name = "smps10_out2";
426 regulator-min-microvolt = <5000000>;
427 regulator-max-microvolt = <5000000>;
432 smps10_out1_reg: smps10_out1 {
434 regulator-name = "smps10_out1";
435 regulator-min-microvolt = <5000000>;
436 regulator-max-microvolt = <5000000>;
440 /* VDDAPHY_CAM: vdda_csiport */
441 regulator-name = "ldo1";
442 regulator-min-microvolt = <1500000>;
443 regulator-max-microvolt = <1800000>;
447 /* VCC_2V8_DISP: Does not go anywhere */
448 regulator-name = "ldo2";
449 regulator-min-microvolt = <2800000>;
450 regulator-max-microvolt = <2800000>;
456 /* VDDAPHY_MDM: vdda_lli */
457 regulator-name = "ldo3";
458 regulator-min-microvolt = <1500000>;
459 regulator-max-microvolt = <1500000>;
461 /* Only if Modem is used */
466 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
467 regulator-name = "ldo4";
468 regulator-min-microvolt = <1500000>;
469 regulator-max-microvolt = <1800000>;
473 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
474 regulator-name = "ldo5";
475 regulator-min-microvolt = <1800000>;
476 regulator-max-microvolt = <1800000>;
482 /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
483 regulator-name = "ldo6";
484 regulator-min-microvolt = <1200000>;
485 regulator-max-microvolt = <1200000>;
492 regulator-name = "ldo7";
493 regulator-min-microvolt = <2000000>;
494 regulator-max-microvolt = <2000000>;
495 /* Only for efuse reprograming! */
500 /* VDD_3v0: Does not go anywhere */
501 regulator-name = "ldo8";
502 regulator-min-microvolt = <3000000>;
503 regulator-max-microvolt = <3000000>;
510 /* VCC_DV_SDIO: vdds_sdcard */
511 regulator-name = "ldo9";
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <3000000>;
518 /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
519 regulator-name = "ldoln";
520 regulator-min-microvolt = <1800000>;
521 regulator-max-microvolt = <1800000>;
527 /* VDDA_3V_USB: VDDA_USBHS33 */
528 regulator-name = "ldousb";
529 regulator-min-microvolt = <3250000>;
530 regulator-max-microvolt = <3250000>;
536 /* REGEN3 controls LDO9 supply to card */
537 regulator-name = "regen3";
544 palmas_power_button: palmas_power_button {
545 compatible = "ti,palmas-pwrbutton";
546 interrupt-parent = <&palmas>;
547 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
553 compatible = "ti,twl6040";
556 pinctrl-names = "default";
557 pinctrl-0 = <&twl6040_pins>;
559 interrupts = <GIC_SPI 119 IRQ_TYPE_NONE>; /* IRQ_SYS_2N cascaded to gic */
560 ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */
562 vio-supply = <&smps7_reg>;
563 v2v1-supply = <&smps9_reg>;
566 clocks = <&clk32kgaudio>;
567 clock-names = "clk32k";
572 pinctrl-names = "default";
573 pinctrl-0 = <&mcpdm_pins>;
578 pinctrl-names = "default";
579 pinctrl-0 = <&mcbsp1_pins>;
584 pinctrl-names = "default";
585 pinctrl-0 = <&mcbsp2_pins>;
590 port2-mode = "ehci-hsic";
591 port3-mode = "ehci-hsic";
595 phys = <0 &hsusb2_phy &hsusb3_phy>;
599 extcon = <&extcon_usb3>;
600 vbus-supply = <&smps10_out1_reg>;
608 pinctrl-names = "default";
609 pinctrl-0 = <&mcspi2_pins>;
613 pinctrl-names = "default";
614 pinctrl-0 = <&mcspi3_pins>;
618 pinctrl-names = "default";
619 pinctrl-0 = <&uart1_pins>;
623 pinctrl-names = "default";
624 pinctrl-0 = <&uart3_pins>;
625 interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
626 <&omap5_pmx_core 0x19c>;
630 pinctrl-names = "default";
631 pinctrl-0 = <&uart5_pins>;
635 cpu0-supply = <&smps123_reg>;
645 /* vdda-supply populated in board specific dts file */
647 pinctrl-names = "default";
648 pinctrl-0 = <&dss_hdmi_pins>;
652 remote-endpoint = <&tpd12s015_in>;