1 // SPDX-License-Identifier: GPL-2.0-only
4 #include <dt-bindings/input/input.h>
5 #include "omap443x.dtsi"
6 #include "motorola-cpcap-mapphone.dtsi"
19 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked,
20 * then 1023 - 1024 seems to contain mbm.
23 device_type = "memory";
24 reg = <0x80000000 0x3fd00000>; /* 1021 MB */
27 /* Poweroff GPIO probably connected to CPCAP */
29 compatible = "gpio-poweroff";
30 pinctrl-0 = <&poweroff_gpio>;
31 pinctrl-names = "default";
32 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>; /* gpio50 */
36 compatible = "hdmi-connector";
37 pinctrl-0 = <&hdmi_hpd_gpio>;
38 pinctrl-names = "default";
42 hpd-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; /* gpio63 */
45 hdmi_connector_in: endpoint {
46 remote-endpoint = <&hdmi_out>;
52 * HDMI 5V regulator probably sourced from battery. Let's keep
53 * keep this as always enabled for HDMI to work until we've
54 * figured what the encoder chip is.
56 hdmi_regulator: regulator-hdmi {
57 compatible = "regulator-fixed";
58 regulator-name = "hdmi";
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
61 gpio = <&gpio2 27 GPIO_ACTIVE_HIGH>; /* gpio59 */
66 /* FS USB Host PHY on port 1 for mdm6600 */
67 fsusb1_phy: usb-phy@1 {
68 compatible = "motorola,mapphone-mdm6600";
69 pinctrl-0 = <&usb_mdm6600_pins>;
70 pinctrl-names = "default";
71 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; /* gpio_95 */
72 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* gpio_54 */
73 reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; /* gpio_49 */
74 /* mode: gpio_148 gpio_149 */
75 motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
76 <&gpio5 21 GPIO_ACTIVE_HIGH>;
77 /* cmd: gpio_103 gpio_104 gpio_142 */
78 motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>,
79 <&gpio4 8 GPIO_ACTIVE_HIGH>,
80 <&gpio5 14 GPIO_ACTIVE_HIGH>;
81 /* status: gpio_52 gpio_53 gpio_55 */
82 motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>,
83 <&gpio2 21 GPIO_ACTIVE_HIGH>,
84 <&gpio2 23 GPIO_ACTIVE_HIGH>;
88 /* HS USB host TLL nop-phy on port 2 for w3glte */
89 hsusb2_phy: usb-phy@2 {
90 compatible = "usb-nop-xceiv";
94 /* LCD regulator from sw5 source */
95 lcd_regulator: regulator-lcd {
96 compatible = "regulator-fixed";
97 regulator-name = "lcd";
98 regulator-min-microvolt = <5050000>;
99 regulator-max-microvolt = <5050000>;
100 gpio = <&gpio4 0 GPIO_ACTIVE_HIGH>; /* gpio96 */
105 /* This is probably coming straight from the battery.. */
106 wl12xx_vmmc: regulator-wl12xx {
107 compatible = "regulator-fixed";
108 regulator-name = "vwl1271";
109 regulator-min-microvolt = <1650000>;
110 regulator-max-microvolt = <1650000>;
111 gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>; /* gpio94 */
112 startup-delay-us = <70000>;
117 compatible = "gpio-keys";
120 label = "Volume Down";
121 gpios = <&gpio5 26 GPIO_ACTIVE_LOW>; /* gpio154 */
122 linux,code = <KEY_VOLUMEDOWN>;
124 /* Value above 7.95ms for no GPIO hardware debounce */
125 debounce-interval = <10>;
129 label = "Keypad Slide";
130 gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio122 */
131 linux,input-type = <EV_SW>;
132 linux,code = <SW_KEYPAD_SLIDE>;
134 /* Value above 7.95ms for no GPIO hardware debounce */
135 debounce-interval = <10>;
140 compatible = "audio-graph-card";
141 label = "Droid 4 Audio";
144 "Speaker", "Earpiece",
145 "Speaker", "Loudspeaker",
146 "Headphone", "Headphone Jack",
147 "Microphone", "Internal Mic";
151 "Loudspeaker", "SPKR",
152 "Headphone Jack", "HSL",
153 "Headphone Jack", "HSR",
154 "MICR", "Internal Mic";
156 dais = <&mcbsp2_port>, <&mcbsp3_port>;
159 pwm8: dmtimer-pwm-8 {
160 pinctrl-names = "default";
161 pinctrl-0 = <&vibrator_direction_pin>;
163 compatible = "ti,omap-dmtimer-pwm";
165 ti,timers = <&timer8>;
166 ti,clock-source = <0x01>;
169 pwm9: dmtimer-pwm-9 {
170 pinctrl-names = "default";
171 pinctrl-0 = <&vibrator_enable_pin>;
173 compatible = "ti,omap-dmtimer-pwm";
175 ti,timers = <&timer9>;
176 ti,clock-source = <0x01>;
180 compatible = "pwm-vibrator";
181 pwms = <&pwm9 0 10000000 0>, <&pwm8 0 10000000 0>;
182 pwm-names = "enable", "direction";
183 direction-duty-cycle-ns = <10000000>;
186 backlight: backlight {
187 compatible = "led-backlight";
189 leds = <&backlight_led>;
190 brightness-levels = <31 63 95 127 159 191 223 255>;
191 default-brightness-level = <6>;
201 vdd-supply = <&vcsi>;
204 dsi1_out_ep: endpoint {
205 remote-endpoint = <&lcd0_in>;
206 lanes = <0 1 2 3 4 5>;
211 compatible = "motorola,droid4-panel", "panel-dsi-cm";
214 vddi-supply = <&lcd_regulator>;
215 reset-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */
217 backlight = <&backlight>;
224 clock-frequency = <0>; /* Calculated by dsi */
239 pixelclk-active = <1>;
244 remote-endpoint = <&dsi1_out_ep>;
252 pinctrl-0 = <&dss_hdmi_pins>;
253 pinctrl-names = "default";
254 vdda-supply = <&vdac>;
258 remote-endpoint = <&hdmi_connector_in>;
259 lanes = <1 0 3 2 5 4 7 6>;
264 /* Battery NVRAM on 1-wire handled by w1_ds250x driver */
266 pinctrl-0 = <&hdq_pins>;
267 pinctrl-names = "default";
273 compatible = "ti,tmp105";
275 pinctrl-0 = <&tmp105_irq>;
276 pinctrl-names = "default";
277 /* kpd_row0.gpio_178 */
278 interrupts-extended = <&gpio6 18 IRQ_TYPE_EDGE_FALLING
279 &omap4_pmx_core 0x14e>;
280 interrupt-names = "irq", "wakeup";
286 keypad,num-rows = <8>;
287 keypad,num-columns = <8>;
291 MATRIX_KEY(0, 2, KEY_1)
292 MATRIX_KEY(0, 6, KEY_2)
293 MATRIX_KEY(2, 3, KEY_3)
294 MATRIX_KEY(0, 7, KEY_4)
295 MATRIX_KEY(0, 4, KEY_5)
296 MATRIX_KEY(5, 5, KEY_6)
297 MATRIX_KEY(0, 1, KEY_7)
298 MATRIX_KEY(0, 5, KEY_8)
299 MATRIX_KEY(0, 0, KEY_9)
300 MATRIX_KEY(1, 6, KEY_0)
303 MATRIX_KEY(3, 4, KEY_APOSTROPHE)
304 MATRIX_KEY(7, 6, KEY_Q)
305 MATRIX_KEY(7, 7, KEY_W)
306 MATRIX_KEY(7, 2, KEY_E)
307 MATRIX_KEY(1, 0, KEY_R)
308 MATRIX_KEY(4, 4, KEY_T)
309 MATRIX_KEY(1, 2, KEY_Y)
310 MATRIX_KEY(6, 7, KEY_U)
311 MATRIX_KEY(2, 2, KEY_I)
312 MATRIX_KEY(5, 6, KEY_O)
313 MATRIX_KEY(3, 7, KEY_P)
314 MATRIX_KEY(6, 5, KEY_BACKSPACE)
317 MATRIX_KEY(5, 4, KEY_TAB)
318 MATRIX_KEY(5, 7, KEY_A)
319 MATRIX_KEY(2, 7, KEY_S)
320 MATRIX_KEY(7, 0, KEY_D)
321 MATRIX_KEY(2, 6, KEY_F)
322 MATRIX_KEY(6, 2, KEY_G)
323 MATRIX_KEY(6, 6, KEY_H)
324 MATRIX_KEY(1, 4, KEY_J)
325 MATRIX_KEY(3, 1, KEY_K)
326 MATRIX_KEY(2, 1, KEY_L)
327 MATRIX_KEY(4, 6, KEY_ENTER)
330 MATRIX_KEY(3, 6, KEY_LEFTSHIFT) /* KEY_CAPSLOCK */
331 MATRIX_KEY(6, 1, KEY_Z)
332 MATRIX_KEY(7, 4, KEY_X)
333 MATRIX_KEY(5, 1, KEY_C)
334 MATRIX_KEY(1, 7, KEY_V)
335 MATRIX_KEY(2, 4, KEY_B)
336 MATRIX_KEY(4, 1, KEY_N)
337 MATRIX_KEY(1, 1, KEY_M)
338 MATRIX_KEY(3, 5, KEY_COMMA)
339 MATRIX_KEY(5, 2, KEY_DOT)
340 MATRIX_KEY(6, 3, KEY_UP)
341 MATRIX_KEY(7, 3, KEY_OK)
344 MATRIX_KEY(2, 5, KEY_LEFTCTRL) /* KEY_LEFTSHIFT */
345 MATRIX_KEY(4, 5, KEY_LEFTALT) /* SYM */
346 MATRIX_KEY(6, 0, KEY_MINUS)
347 MATRIX_KEY(4, 7, KEY_EQUAL)
348 MATRIX_KEY(1, 5, KEY_SPACE)
349 MATRIX_KEY(3, 2, KEY_SLASH)
350 MATRIX_KEY(4, 3, KEY_LEFT)
351 MATRIX_KEY(5, 3, KEY_DOWN)
352 MATRIX_KEY(3, 3, KEY_RIGHT)
354 /* Side buttons, KEY_VOLUMEDOWN and KEY_PWER are on CPCAP? */
355 MATRIX_KEY(5, 0, KEY_VOLUMEUP)
360 vmmc-supply = <&vwlan2>;
362 cd-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; /* gpio176 */
366 vmmc-supply = <&vsdio>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&mmc3_pins>;
374 vmmc-supply = <&wl12xx_vmmc>;
375 /* uart2_tx.sdmmc3_dat1 pad as wakeirq */
376 interrupts-extended = <&wakeupgen GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH
377 &omap4_pmx_core 0xde>;
378 interrupt-names = "irq", "wakeup";
382 keep-power-in-suspend;
384 #address-cells = <1>;
387 compatible = "ti,wl1285", "ti,wl1283";
389 /* gpio_100 with gpmc_wait2 pad as wakeirq */
390 interrupts-extended = <&gpio4 4 IRQ_TYPE_LEVEL_HIGH>,
391 <&omap4_pmx_core 0x4e>;
392 interrupt-names = "irq", "wakeup";
393 ref-clock-frequency = <26000000>;
394 tcxo-clock-frequency = <26000000>;
400 compatible = "ti,lm3532";
401 #address-cells = <1>;
405 enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
408 ramp-down-us = <8193>;
410 backlight_led: led@0 {
414 label = ":backlight";
421 label = ":kbd_backlight";
428 compatible = "atmel,maxtouch";
430 pinctrl-names = "default";
431 pinctrl-0 = <&touchscreen_pins>;
433 reset-gpios = <&gpio6 13 GPIO_ACTIVE_LOW>; /* gpio173 */
435 /* gpio_183 with sys_nirq2 pad as wakeup */
436 interrupts-extended = <&gpio6 23 IRQ_TYPE_LEVEL_LOW>,
437 <&omap4_pmx_core 0x160>;
438 interrupt-names = "irq", "wakeup";
443 compatible = "isil,isl29030";
446 pinctrl-names = "default";
447 pinctrl-0 = <&als_proximity_pins>;
449 interrupt-parent = <&gpio6>;
450 interrupts = <17 IRQ_TYPE_LEVEL_LOW>; /* gpio177 */
456 /* hdmi_hpd.gpio_63 */
457 hdmi_hpd_gpio: pinmux_hdmi_hpd_pins {
458 pinctrl-single,pins = <
459 OMAP4_IOPAD(0x098, PIN_INPUT | MUX_MODE3)
463 hdq_pins: pinmux_hdq_pins {
464 pinctrl-single,pins = <
465 /* 0x4a100120 hdq_sio.hdq_sio aa27 */
466 OMAP4_IOPAD(0x120, PIN_INPUT | MUX_MODE0)
470 /* hdmi_cec.hdmi_cec, hdmi_scl.hdmi_scl, hdmi_sda.hdmi_sda */
471 dss_hdmi_pins: pinmux_dss_hdmi_pins {
472 pinctrl-single,pins = <
473 OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0)
474 OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0)
475 OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0)
480 * Android uses PIN_OFF_INPUT_PULLDOWN | PIN_INPUT_PULLUP | MUX_MODE3
481 * for gpio_100, but the internal pull makes wlan flakey on some
482 * devices. Off mode value should be tested if we have off mode working
485 mmc3_pins: pinmux_mmc3_pins {
486 pinctrl-single,pins = <
487 /* 0x4a10008e gpmc_wait2.gpio_100 d23 */
488 OMAP4_IOPAD(0x08e, PIN_INPUT | MUX_MODE3)
490 /* 0x4a100102 abe_mcbsp1_dx.sdmmc3_dat2 ab25 */
491 OMAP4_IOPAD(0x102, PIN_INPUT_PULLUP | MUX_MODE1)
493 /* 0x4a100104 abe_mcbsp1_fsx.sdmmc3_dat3 ac27 */
494 OMAP4_IOPAD(0x104, PIN_INPUT_PULLUP | MUX_MODE1)
496 /* 0x4a100118 uart2_cts.sdmmc3_clk ab26 */
497 OMAP4_IOPAD(0x118, PIN_INPUT | MUX_MODE1)
499 /* 0x4a10011a uart2_rts.sdmmc3_cmd ab27 */
500 OMAP4_IOPAD(0x11a, PIN_INPUT_PULLUP | MUX_MODE1)
502 /* 0x4a10011c uart2_rx.sdmmc3_dat0 aa25 */
503 OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE1)
505 /* 0x4a10011e uart2_tx.sdmmc3_dat1 aa26 */
506 OMAP4_IOPAD(0x11e, PIN_INPUT_PULLUP | MUX_MODE1)
510 /* gpmc_ncs0.gpio_50 */
511 poweroff_gpio: pinmux_poweroff_pins {
512 pinctrl-single,pins = <
513 OMAP4_IOPAD(0x074, PIN_OUTPUT_PULLUP | MUX_MODE3)
517 /* kpd_row0.gpio_178 */
518 tmp105_irq: pinmux_tmp105_irq {
519 pinctrl-single,pins = <
520 OMAP4_IOPAD(0x18e, PIN_INPUT_PULLUP | MUX_MODE3)
524 usb_gpio_mux_sel1: pinmux_usb_gpio_mux_sel1_pins {
526 pinctrl-single,pins = <
527 OMAP4_IOPAD(0x088, PIN_OUTPUT | MUX_MODE3)
531 touchscreen_pins: pinmux_touchscreen_pins {
532 pinctrl-single,pins = <
533 OMAP4_IOPAD(0x180, PIN_OUTPUT | MUX_MODE3)
534 OMAP4_IOPAD(0x1a0, PIN_INPUT_PULLUP | MUX_MODE3)
538 als_proximity_pins: pinmux_als_proximity_pins {
539 pinctrl-single,pins = <
540 OMAP4_IOPAD(0x18c, PIN_INPUT_PULLUP | MUX_MODE3)
544 usb_mdm6600_pins: pinmux_usb_mdm6600_pins {
545 pinctrl-single,pins = <
546 /* enable 0x4a1000d8 usbb1_ulpitll_dat7.gpio_95 ag16 */
547 OMAP4_IOPAD(0x0d8, PIN_INPUT | MUX_MODE3)
549 /* power 0x4a10007c gpmc_nwp.gpio_54 c25 */
550 OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3)
552 /* reset 0x4a100072 gpmc_a25.gpio_49 d20 */
553 OMAP4_IOPAD(0x072, PIN_OUTPUT | MUX_MODE3)
555 /* mode0/bpwake 0x4a10014e sdmmc5_dat1.gpio_148 af4 */
556 OMAP4_IOPAD(0x14e, PIN_OUTPUT | MUX_MODE3)
558 /* mode1/apwake 0x4a100150 sdmmc5_dat2.gpio_149 ag3 */
559 OMAP4_IOPAD(0x150, PIN_OFF_OUTPUT_LOW | PIN_INPUT | MUX_MODE3)
561 /* status0 0x4a10007e gpmc_clk.gpio_55 b22 */
562 OMAP4_IOPAD(0x07e, PIN_INPUT | MUX_MODE3)
564 /* status1 0x4a10007a gpmc_ncs3.gpio_53 c22 */
565 OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3)
567 /* status2 0x4a100078 gpmc_ncs2.gpio_52 d21 */
568 OMAP4_IOPAD(0x078, PIN_INPUT | MUX_MODE3)
570 /* cmd0 0x4a100094 gpmc_ncs6.gpio_103 c24 */
571 OMAP4_IOPAD(0x094, PIN_OUTPUT | MUX_MODE3)
573 /* cmd1 0x4a100096 gpmc_ncs7.gpio_104 d24 */
574 OMAP4_IOPAD(0x096, PIN_OUTPUT | MUX_MODE3)
576 /* cmd2 0x4a100142 uart3_rts_sd.gpio_142 f28 */
577 OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE3)
581 usb_ulpi_pins: pinmux_usb_ulpi_pins {
582 pinctrl-single,pins = <
583 OMAP4_IOPAD(0x196, MUX_MODE7)
584 OMAP4_IOPAD(0x198, MUX_MODE7)
585 OMAP4_IOPAD(0x1b2, PIN_INPUT_PULLUP | MUX_MODE0)
586 OMAP4_IOPAD(0x1b4, PIN_INPUT_PULLUP | MUX_MODE0)
587 OMAP4_IOPAD(0x1b6, PIN_INPUT_PULLUP | MUX_MODE0)
588 OMAP4_IOPAD(0x1b8, PIN_INPUT_PULLUP | MUX_MODE0)
589 OMAP4_IOPAD(0x1ba, PIN_INPUT_PULLUP | MUX_MODE0)
590 OMAP4_IOPAD(0x1bc, PIN_INPUT_PULLUP | MUX_MODE0)
591 OMAP4_IOPAD(0x1be, PIN_INPUT_PULLUP | MUX_MODE0)
592 OMAP4_IOPAD(0x1c0, PIN_INPUT_PULLUP | MUX_MODE0)
593 OMAP4_IOPAD(0x1c2, PIN_INPUT_PULLUP | MUX_MODE0)
594 OMAP4_IOPAD(0x1c4, PIN_INPUT_PULLUP | MUX_MODE0)
595 OMAP4_IOPAD(0x1c6, PIN_INPUT_PULLUP | MUX_MODE0)
596 OMAP4_IOPAD(0x1c8, PIN_INPUT_PULLUP | MUX_MODE0)
600 /* usb0_otg_dp and usb0_otg_dm */
601 usb_utmi_pins: pinmux_usb_utmi_pins {
602 pinctrl-single,pins = <
603 OMAP4_IOPAD(0x196, PIN_INPUT | MUX_MODE0)
604 OMAP4_IOPAD(0x198, PIN_INPUT | MUX_MODE0)
605 OMAP4_IOPAD(0x1b2, PIN_INPUT_PULLUP | MUX_MODE7)
606 OMAP4_IOPAD(0x1b4, PIN_INPUT_PULLUP | MUX_MODE7)
607 OMAP4_IOPAD(0x1b6, PIN_INPUT_PULLUP | MUX_MODE7)
608 OMAP4_IOPAD(0x1b8, PIN_INPUT_PULLUP | MUX_MODE7)
609 OMAP4_IOPAD(0x1ba, PIN_INPUT_PULLUP | MUX_MODE7)
610 OMAP4_IOPAD(0x1bc, PIN_INPUT_PULLUP | MUX_MODE7)
611 OMAP4_IOPAD(0x1be, PIN_INPUT_PULLUP | MUX_MODE7)
612 OMAP4_IOPAD(0x1c0, PIN_INPUT_PULLUP | MUX_MODE7)
613 OMAP4_IOPAD(0x1c2, PIN_INPUT_PULLUP | MUX_MODE7)
614 OMAP4_IOPAD(0x1c4, PIN_INPUT_PULLUP | MUX_MODE7)
615 OMAP4_IOPAD(0x1c6, PIN_INPUT_PULLUP | MUX_MODE7)
616 OMAP4_IOPAD(0x1c8, PIN_INPUT_PULLUP | MUX_MODE7)
621 * Note that the v3.0.8 stock userspace dynamically remuxes uart1
622 * rts pin probably for PM purposes to PIN_INPUT_PULLUP | MUX_MODE7
623 * when not used. If needed, we can add rts pin remux later based
624 * on power measurements.
626 uart1_pins: pinmux_uart1_pins {
627 pinctrl-single,pins = <
628 /* 0x4a10013c mcspi1_cs2.uart1_cts ag23 */
629 OMAP4_IOPAD(0x13c, PIN_INPUT_PULLUP | MUX_MODE1)
631 /* 0x4a10013e mcspi1_cs3.uart1_rts ah23 */
632 OMAP4_IOPAD(0x13e, MUX_MODE1)
634 /* 0x4a100140 uart3_cts_rctx.uart1_tx f27 */
635 OMAP4_IOPAD(0x140, PIN_OUTPUT | MUX_MODE1)
637 /* 0x4a1001ca dpm_emu14.uart1_rx aa3 */
638 OMAP4_IOPAD(0x1ca, PIN_INPUT_PULLUP | MUX_MODE2)
642 /* uart3_tx_irtx and uart3_rx_irrx */
643 uart3_pins: pinmux_uart3_pins {
644 pinctrl-single,pins = <
645 OMAP4_IOPAD(0x196, MUX_MODE7)
646 OMAP4_IOPAD(0x198, MUX_MODE7)
647 OMAP4_IOPAD(0x1b2, PIN_INPUT_PULLUP | MUX_MODE7)
648 OMAP4_IOPAD(0x1b4, PIN_INPUT_PULLUP | MUX_MODE7)
649 OMAP4_IOPAD(0x1b6, PIN_INPUT_PULLUP | MUX_MODE7)
650 OMAP4_IOPAD(0x1b8, PIN_INPUT_PULLUP | MUX_MODE7)
651 OMAP4_IOPAD(0x1ba, MUX_MODE2)
652 OMAP4_IOPAD(0x1bc, PIN_INPUT | MUX_MODE2)
653 OMAP4_IOPAD(0x1be, PIN_INPUT_PULLUP | MUX_MODE7)
654 OMAP4_IOPAD(0x1c0, PIN_INPUT_PULLUP | MUX_MODE7)
655 OMAP4_IOPAD(0x1c2, PIN_INPUT_PULLUP | MUX_MODE7)
656 OMAP4_IOPAD(0x1c4, PIN_INPUT_PULLUP | MUX_MODE7)
657 OMAP4_IOPAD(0x1c6, PIN_INPUT_PULLUP | MUX_MODE7)
658 OMAP4_IOPAD(0x1c8, PIN_INPUT_PULLUP | MUX_MODE7)
662 uart4_pins: pinmux_uart4_pins {
663 pinctrl-single,pins = <
664 OMAP4_IOPAD(0x15c, PIN_INPUT | MUX_MODE0) /* uart4_rx */
665 OMAP4_IOPAD(0x15e, PIN_OUTPUT | MUX_MODE0) /* uart4_tx */
666 OMAP4_IOPAD(0x110, PIN_INPUT_PULLUP | MUX_MODE5) /* uart4_cts */
667 OMAP4_IOPAD(0x112, PIN_OUTPUT_PULLUP | MUX_MODE5) /* uart4_rts */
671 mcbsp2_pins: pinmux_mcbsp2_pins {
672 pinctrl-single,pins = <
673 OMAP4_IOPAD(0x0f6, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_clkx */
674 OMAP4_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_dr */
675 OMAP4_IOPAD(0x0fa, PIN_OUTPUT | MUX_MODE0) /* abe_mcbsp2_dx */
676 OMAP4_IOPAD(0x0fc, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_fsx */
680 mcbsp3_pins: pinmux_mcbsp3_pins {
681 pinctrl-single,pins = <
682 OMAP4_IOPAD(0x106, PIN_INPUT | MUX_MODE1) /* abe_mcbsp3_dr */
683 OMAP4_IOPAD(0x108, PIN_OUTPUT | MUX_MODE1) /* abe_mcbsp3_dx */
684 OMAP4_IOPAD(0x10a, PIN_INPUT | MUX_MODE1) /* abe_mcbsp3_clkx */
685 OMAP4_IOPAD(0x10c, PIN_INPUT | MUX_MODE1) /* abe_mcbsp3_fsx */
689 vibrator_direction_pin: pinmux_vibrator_direction_pin {
690 pinctrl-single,pins = <
691 OMAP4_IOPAD(0x1ce, PIN_OUTPUT | MUX_MODE1) /* dmtimer8_pwm_evt (gpio_27) */
695 vibrator_enable_pin: pinmux_vibrator_enable_pin {
696 pinctrl-single,pins = <
697 OMAP4_IOPAD(0X1d0, PIN_OUTPUT | MUX_MODE1) /* dmtimer9_pwm_evt (gpio_28) */
703 usb_gpio_mux_sel2: pinmux_usb_gpio_mux_sel2_pins {
705 pinctrl-single,pins = <
706 OMAP4_IOPAD(0x040, PIN_OUTPUT_PULLDOWN | MUX_MODE3)
711 /* RNG is used by secure mode and not accessible */
716 /* Configure pwm clock source for timers 8 & 9 */
718 assigned-clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>;
719 assigned-clock-parents = <&sys_clkin_ck>;
723 assigned-clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>;
724 assigned-clock-parents = <&sys_clkin_ck>;
728 * The uart1 port is wired to mdm6600 with rts and cts. The modem uses gpio_149
729 * for wake-up events for both the USB PHY and the UART. We can use gpio_149
730 * pad as the shared wakeirq for the UART rather than the RX or CTS pad as we
731 * have gpio_149 trigger before the UART transfer starts.
734 pinctrl-names = "default";
735 pinctrl-0 = <&uart1_pins>;
736 interrupts-extended = <&wakeupgen GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH
737 &omap4_pmx_core 0x110>;
739 current-speed = <115200>;
743 interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
744 &omap4_pmx_core 0x17c>;
748 pinctrl-names = "default";
749 pinctrl-0 = <&uart4_pins>;
752 compatible = "ti,wl1285-st";
753 enable-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>; /* gpio 174 */
754 max-speed = <3686400>;
759 phys = <&fsusb1_phy>;
764 phys = <&hsusb2_phy>;
768 port1-mode = "ohci-phy-4pin-dpdm";
769 port2-mode = "ehci-tll";
772 /* Internal UTMI+ PHY used for OTG, CPCAP ULPI PHY for detection and charger */
774 interface-type = <1>;
778 * Max 300 mA steps based on similar PMIC MC13783UG.pdf "Table 10-4.
779 * VBUS Regulator Main Characteristics". Binding uses 2 mA units.
785 ak8975: magnetometer@c {
786 compatible = "asahi-kasei,ak8975";
789 vdd-supply = <&vhvio>;
791 interrupt-parent = <&gpio6>;
792 interrupts = <15 IRQ_TYPE_EDGE_RISING>; /* gpio175 */
794 rotation-matrix = "-1", "0", "0",
800 lis3dh: accelerometer@18 {
801 compatible = "st,lis3dh-accel";
804 vdd-supply = <&vhvio>;
806 interrupt-parent = <&gpio2>;
807 interrupts = <2 IRQ_TYPE_EDGE_BOTH>; /* gpio34 */
809 rotation-matrix = "0", "-1", "0",
816 #sound-dai-cells = <0>;
817 pinctrl-names = "default";
818 pinctrl-0 = <&mcbsp2_pins>;
824 remote-endpoint = <&cpcap_audio_codec0>;
825 frame-master = <&cpcap_audio_codec0>;
826 bitclock-master = <&cpcap_audio_codec0>;
832 #sound-dai-cells = <0>;
833 pinctrl-names = "default";
834 pinctrl-0 = <&mcbsp3_pins>;
839 dai-format = "dsp_a";
840 frame-master = <&cpcap_audio_codec1>;
841 bitclock-master = <&cpcap_audio_codec1>;
842 remote-endpoint = <&cpcap_audio_codec1>;
847 &cpcap_audio_codec0 {
848 remote-endpoint = <&cpu_dai2>;
851 &cpcap_audio_codec1 {
852 remote-endpoint = <&cpu_dai3>;