Debian Codegraph @

arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts

raw
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * Copyright (C) 2023 Andreas Kemnade
4 */
5 /dts-v1/;
6
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/input/input.h>
9 #include "omap4460.dtsi"
10
11 / {
12 model = "Epson Moverio BT-200";
13 compatible = "epson,embt2ws", "ti,omap4460", "ti,omap4";
14
15 memory@80000000 {
16 device_type = "memory";
17 reg = <0x80000000 0x40000000>; /* 1024M */
18 };
19
20 battery: battery {
21 compatible = "simple-battery";
22 device-chemistry = "lithium-ion";
23 charge-full-design-microamp-hours = <2720000>;
24 voltage-max-design-microvolt = <4200000>;
25 voltage-min-design-microvolt = <3300000>;
26
27 constant-charge-voltage-max-microvolt = <4200000>;
28 /*
29 * vendor kernel says max charge 1400000, input limit 900000
30 * and charges only with dcp chargers. So it is unclear what
31 * is really allowed. Play safe for now and restrict things
32 * here. Maybe 900000 is just the limit of the vendor charger?
33 */
34 constant-charge-current-max-microamp = <900000>;
35 charge-term-current-microamp = <200000>;
36 };
37
38 backlight-left {
39 compatible = "pwm-backlight";
40 pwms = <&twl_pwm 1 7812500>;
41 power-supply = <&lb_v50>;
42 };
43
44 backlight-right {
45 compatible = "pwm-backlight";
46 pwms = <&twl_pwm 0 7812500>;
47 power-supply = <&lb_v50>;
48 };
49
50 chosen {
51 stdout-path = &uart3;
52 };
53
54 gpio-keys {
55 compatible = "gpio-keys";
56 pinctrl-names = "default";
57 pinctrl-0 = <&gpio_keys_pins>;
58
59 key-lock {
60 label = "Lock";
61 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
62 linux,code = <SW_ROTATE_LOCK>; /* SW_TOUCHPAD_LOCK */
63 linux,input-type = <EV_SW>;
64 };
65 };
66
67 cb_v18: regulator-cb-v18 {
68 pinctrl-names = "default";
69 pinctrl-0 = <&cb_v18_pins>;
70 compatible = "regulator-fixed";
71 regulator-name = "cb_v18";
72 regulator-min-microvolt = <1800000>;
73 regulator-max-microvolt = <1800000>;
74 regulator-always-on;
75 gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
76 enable-active-high;
77 };
78
79 cb_v33: regulator-cb-v33 {
80 pinctrl-names = "default";
81 pinctrl-0 = <&cb_v33_pins>;
82 compatible = "regulator-fixed";
83 regulator-name = "cb_v33";
84 regulator-min-microvolt = <3300000>;
85 regulator-max-microvolt = <3300000>;
86 regulator-always-on;
87 gpio = <&gpio6 30 GPIO_ACTIVE_HIGH>;
88 enable-active-high;
89 };
90
91 regulator-cb-v50 {
92 pinctrl-names = "default";
93 pinctrl-0 = <&cb_v50_pins>;
94 compatible = "regulator-fixed";
95 regulator-name = "cb_v50";
96 regulator-min-microvolt = <5000000>;
97 regulator-max-microvolt = <5000000>;
98 regulator-always-on;
99 gpio = <&gpio6 31 GPIO_ACTIVE_HIGH>;
100 enable-active-high;
101 };
102
103 lb_v50: regulator-lb-v50 {
104 /* required for many things at the head (probably indirectly) */
105 pinctrl-names = "default";
106 pinctrl-0 = <&lb_v50_pins>;
107 compatible = "regulator-fixed";
108 regulator-name = "lb_v50";
109 regulator-min-microvolt = <5000000>;
110 regulator-max-microvolt = <5000000>;
111 regulator-always-on;
112 gpio = <&gpio1 27 GPIO_ACTIVE_HIGH>;
113 enable-active-high;
114 };
115
116 wl12xx_pwrseq: wl12xx-pwrseq {
117 compatible = "mmc-pwrseq-simple";
118 clocks = <&twl 1>;
119 clock-names = "ext_clock";
120 };
121
122 /* regulator for wl12xx on sdio2 */
123 wl12xx_vmmc: wl12xx-vmmc {
124 pinctrl-names = "default";
125 pinctrl-0 = <&wl12xx_gpio>;
126 compatible = "regulator-fixed";
127 regulator-name = "vwl1271";
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <1800000>;
130 gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>;
131 startup-delay-us = <70000>;
132 enable-active-high;
133 };
134 };
135
136 &gpio1 {
137 pinctrl-names = "default";
138 pinctrl-0 = <&gpio1_hog_pins &gpio1wk_hog_pins>;
139
140 lb-reset-hog {
141 gpio-hog;
142 gpios = <9 GPIO_ACTIVE_HIGH>;
143 output-low;
144 line-name = "lb_reset";
145 };
146
147 power-en-hog {
148 gpio-hog;
149 gpios = <10 GPIO_ACTIVE_HIGH>;
150 output-high;
151 line-name = "power_en";
152 };
153
154 /*
155 * Name taken from vendor kernel but no evidence of actual usage found
156 * nor what it really controls.
157 */
158 panel-power-en-hog {
159 gpio-hog;
160 gpios = <14 GPIO_ACTIVE_HIGH>;
161 output-low;
162 line-name = "panel_power_en";
163 };
164
165 /*
166 * These two are exported to sysfs in vendor kernel, usage unknown,
167 * backlight state seems unrelated to these.
168 */
169 blc-r-hog {
170 gpio-hog;
171 gpios = <17 GPIO_ACTIVE_HIGH>;
172 output-low;
173 line-name = "blc_r";
174 };
175
176 blc-l-hog {
177 gpio-hog;
178 gpios = <16 GPIO_ACTIVE_HIGH>;
179 output-low;
180 line-name = "blc_l";
181 };
182
183 high-hog {
184 gpio-hog;
185 gpios = <15 GPIO_ACTIVE_HIGH /* maybe dsi to dpi chip reset? */
186 21 GPIO_ACTIVE_HIGH
187 26 GPIO_ACTIVE_HIGH>;
188 output-high;
189 line-name = "unknown-high";
190 };
191
192 low-hog {
193 gpio-hog;
194 gpios = <18 GPIO_ACTIVE_HIGH
195 19 GPIO_ACTIVE_HIGH
196 20 GPIO_ACTIVE_HIGH
197 22 GPIO_ACTIVE_HIGH>;
198 output-low;
199 line-name = "unknown-low";
200 };
201 };
202
203 &i2c1 {
204 pinctrl-names = "default";
205 pinctrl-0 = <&i2c1_pins>;
206
207 clock-frequency = <400000>;
208
209 twl: pmic@48 {
210 compatible = "ti,twl6032";
211 reg = <0x48>;
212 #clock-cells = <1>;
213 /* IRQ# = 7 */
214 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
215 interrupt-controller;
216 #interrupt-cells = <1>;
217 system-power-controller;
218
219 charger {
220 compatible = "ti,twl6032-charger", "ti,twl6030-charger";
221 interrupts = <2>, <5>;
222 io-channels = <&gpadc 10>;
223 io-channel-names = "vusb";
224 monitored-battery = <&battery>;
225 };
226
227 rtc {
228 compatible = "ti,twl4030-rtc";
229 interrupts = <11>;
230 };
231
232 pwrbutton {
233 compatible = "ti,twl6030-pwrbutton";
234 interrupts = <0>;
235 };
236
237 ldo2: regulator-ldo2 {
238 compatible = "ti,twl6032-ldo2";
239 regulator-min-microvolt = <1000000>;
240 regulator-max-microvolt = <3000000>;
241 };
242
243 ldo4: regulator-ldo4 {
244 compatible = "ti,twl6032-ldo4";
245 regulator-min-microvolt = <1200000>;
246 regulator-max-microvolt = <2800000>;
247 };
248
249 ldo3: regulator-ldo3 {
250 compatible = "ti,twl6032-ldo3";
251 regulator-min-microvolt = <1000000>;
252 regulator-max-microvolt = <3000000>;
253 };
254
255 ldo5: regulator-ldo5 {
256 compatible = "ti,twl6032-ldo5";
257 regulator-min-microvolt = <1200000>;
258 regulator-max-microvolt = <3000000>;
259 ti,retain-on-reset;
260 };
261
262 ldo1: regulator-ldo1 {
263 compatible = "ti,twl6032-ldo1";
264 regulator-min-microvolt = <1800000>;
265 regulator-max-microvolt = <2500000>;
266 };
267
268 ldo7: regulator-ldo7 {
269 compatible = "ti,twl6032-ldo7";
270 regulator-min-microvolt = <1200000>;
271 regulator-max-microvolt = <2900000>;
272 };
273
274 ldoln: regulator-ldoln {
275 compatible = "ti,twl6032-ldoln";
276 regulator-always-on;
277 };
278
279 ldo6: regulator-ldo6 {
280 compatible = "ti,twl6032-ldo6";
281 regulator-always-on;
282 };
283
284 ldousb: regulator-ldousb {
285 compatible = "ti,twl6032-ldousb";
286 regulator-always-on;
287 };
288
289 vio: regulator-vio {
290 compatible = "ti,twl6032-vio";
291 regulator-always-on;
292 };
293
294 twl_usb_comparator: usb-comparator {
295 compatible = "ti,twl6030-usb";
296 interrupts = <4>, <10>;
297 };
298
299 twl_pwm: pwm {
300 /* provides two PWMs (id 0, 1 for PWM1 and PWM2) */
301 compatible = "ti,twl6030-pwm";
302 #pwm-cells = <2>;
303 };
304
305 twl_pwmled: pwmled {
306 /* provides one PWM (id 0 for Charging indicator LED) */
307 compatible = "ti,twl6030-pwmled";
308 #pwm-cells = <2>;
309 };
310
311 gpadc: gpadc {
312 compatible = "ti,twl6032-gpadc";
313 interrupts = <3>;
314 #io-channel-cells = <1>;
315 };
316
317 };
318 };
319
320 #include "twl6030_omap4.dtsi"
321
322 &twl_usb_comparator {
323 usb-supply = <&ldousb>;
324 };
325
326
327 &i2c2 {
328 pinctrl-names = "default";
329 pinctrl-0 = <&i2c2_pins>;
330
331 clock-frequency = <200000>;
332
333 /* is sometimes not available, research needed */
334 gpio_head: gpio@20 {
335 compatible = "ti,tca6408";
336 reg = <0x20>;
337 gpio-controller;
338 #gpio-cells = <2>;
339 };
340
341 /*
342 * camera chip at 0x3c, available if <&gpio_head 1> high
343 * and <&gpio_head 5> low
344 */
345
346 /* at head/glasses */
347 mpu9150h: imu@68 {
348 compatible = "invensense,mpu9150";
349 reg = <0x68>;
350
351 pinctrl-names = "default";
352 pinctrl-0 = <&mpu9150h_pins>;
353 interrupt-parent = <&gpio2>;
354 interrupt = <19 IRQ_TYPE_LEVEL_HIGH>;
355 };
356 };
357
358 &i2c3 {
359 pinctrl-names = "default";
360 pinctrl-0 = <&i2c3_pins>;
361
362 clock-frequency = <100000>;
363
364 led-controller@66 {
365 compatible = "rohm,bd2606mvv";
366 reg = <0x66>;
367
368 #address-cells = <1>;
369 #size-cells = <0>;
370
371 led@0 {
372 reg = <0>;
373 color = <LED_COLOR_ID_GREEN>;
374 function = LED_FUNCTION_STATUS;
375 };
376
377 led@2 {
378 reg = <2>;
379 color = <LED_COLOR_ID_BLUE>;
380 function = LED_FUNCTION_STATUS;
381 };
382
383 led@4 {
384 reg = <4>;
385 color = <LED_COLOR_ID_RED>;
386 function = LED_FUNCTION_STATUS;
387 };
388 };
389 };
390
391 &i2c4 {
392 pinctrl-names = "default";
393 pinctrl-0 = <&i2c4_pins>;
394
395 clock-frequency = <360000>;
396
397 /* TODO: KXTI9 at 0xf */
398
399 tlv320aic3x: codec@18 {
400 compatible = "ti,tlv320aic3x";
401 reg = <0x18>;
402 pinctrl-names = "default";
403 pinctrl-0 = <&tlv320aic3x_pins>;
404 #sound-dai-cells = <0>;
405
406 reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
407 };
408
409 mpu9150: imu@68 {
410 compatible = "invensense,mpu9150";
411 reg = <0x68>;
412
413 pinctrl-names = "default";
414 pinctrl-0 = <&mpu9150_pins>;
415 interrupt-parent = <&gpio2>;
416 interrupt = <7 IRQ_TYPE_LEVEL_HIGH>;
417 vddio-supply = <&cb_v18>;
418 vdd-supply = <&cb_v33>;
419 invensense,level-shifter;
420 };
421 };
422
423 &keypad {
424 pinctrl-names = "default";
425 pinctrl-0 = <&keypad_pins>;
426 keypad,num-rows = <2>;
427 keypad,num-columns = <3>;
428 linux,keymap = <MATRIX_KEY(0, 0, KEY_MENU)
429 MATRIX_KEY(0, 1, KEY_HOME)
430 MATRIX_KEY(0, 2, KEY_BACK)
431 MATRIX_KEY(1, 0, KEY_ESC)
432 MATRIX_KEY(1, 1, KEY_VOLUMEDOWN)
433 MATRIX_KEY(1, 2, KEY_VOLUMEUP)>;
434 linux,input-no-autorepeat;
435 };
436
437 &mcbsp2 {
438 #sound-dai-cells = <0>;
439 pinctrl-names = "default";
440 pinctrl-0 = <&mcbsp2_pins>;
441 status = "okay";
442 };
443
444
445 &mmc1 {
446 /* sdcard */
447 vmmc-supply = <&ldo5>;
448 broken-cd;
449 bus-width = <4>;
450 };
451
452 &mmc2 {
453 /* emmc */
454 vmmc-supply = <&ldo2>;
455 bus-width = <8>;
456 };
457
458 &mmc3 {
459 pinctrl-names = "default";
460 pinctrl-0 = <&wl12xx_pins>;
461 vmmc-supply = <&wl12xx_vmmc>;
462 mmc-pwrseq = <&wl12xx_pwrseq>;
463 interrupts-extended = <&wakeupgen GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH
464 &omap4_pmx_core 0x12e>;
465 non-removable;
466 bus-width = <4>;
467 cap-power-off-card;
468
469 #address-cells = <1>;
470 #size-cells = <0>;
471 wlcore: wlcore@2 {
472 compatible = "ti,wl1283";
473 reg = <2>;
474 interrupts-extended = <&gpio1 23 IRQ_TYPE_LEVEL_HIGH>;
475 interrupt-names = "irq";
476 ref-clock-frequency = <26000000>;
477 tcxo-clock-frequency = <26000000>;
478 };
479 };
480
481 &mmc4 {
482 status = "disabled";
483 };
484
485 &mmc5 {
486 status = "disabled";
487 };
488
489 &omap4_pmx_core {
490 bt_pins: pinmux-bt-pins {
491 pinctrl-single,pins = <
492 OMAP4_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE3) /* gpio25 */
493 >;
494 };
495
496 cb_v18_pins: pinmux-cb-v18-pins {
497 pinctrl-single,pins = <
498 OMAP4_IOPAD(0x1d0, PIN_OUTPUT | MUX_MODE3) /* gpio28 */
499 >;
500 };
501
502 cb_v33_pins: pinmux-cb-v33-pins {
503 pinctrl-single,pins = <
504 OMAP4_IOPAD(0x1d2, PIN_OUTPUT | MUX_MODE3) /* gpio190 */
505 >;
506 };
507
508 cb_v50_pins: pinmux-cb-v50-pins {
509 pinctrl-single,pins = <
510 OMAP4_IOPAD(0x1d4, PIN_OUTPUT | MUX_MODE3) /* gpio191 */
511 >;
512 };
513
514 gpio_keys_pins: pinmux-gpio-key-pins {
515 pinctrl-single,pins = <
516 OMAP4_IOPAD(0x56, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio35 */
517 >;
518 };
519
520 gpio1_hog_pins: pinmux-gpio1-hog-pins {
521 pinctrl-single,pins = <
522 OMAP4_IOPAD(0x1b4, PIN_OUTPUT | MUX_MODE3) /* gpio14 */
523 OMAP4_IOPAD(0x1b8, PIN_OUTPUT | MUX_MODE3) /* gpio16 */
524 OMAP4_IOPAD(0x1ba, PIN_OUTPUT | MUX_MODE3) /* gpio17 */
525
526 OMAP4_IOPAD(0x1b6, PIN_OUTPUT | MUX_MODE3) /* gpio15 */
527 OMAP4_IOPAD(0x1bc, PIN_OUTPUT | MUX_MODE3) /* gpio18 */
528 OMAP4_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE3) /* gpio19 */
529 OMAP4_IOPAD(0x1c0, PIN_OUTPUT | MUX_MODE3) /* gpio20 */
530 OMAP4_IOPAD(0x1c2, PIN_OUTPUT | MUX_MODE3) /* gpio21 */
531 OMAP4_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE3) /* gpio22 */
532 OMAP4_IOPAD(0x1cc, PIN_OUTPUT | MUX_MODE3) /* gpio26 */
533 >;
534 };
535
536 i2c1_pins: pinmux-i2c1-pins {
537 pinctrl-single,pins = <
538 OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
539 OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
540 >;
541 };
542
543 i2c2_pins: pinmux-i2c2-pins {
544 pinctrl-single,pins = <
545 OMAP4_IOPAD(0x126, PIN_INPUT | MUX_MODE0) /* i2c2_scl */
546 OMAP4_IOPAD(0x128, PIN_INPUT | MUX_MODE0) /* i2c2_sda */
547 >;
548 };
549
550 i2c3_pins: pinmux-i2c3-pins {
551 pinctrl-single,pins = <
552 OMAP4_IOPAD(0x12a, PIN_INPUT | MUX_MODE0) /* i2c3_scl */
553 OMAP4_IOPAD(0x12c, PIN_INPUT | MUX_MODE0) /* i2c3_sda */
554 >;
555 };
556
557 i2c4_pins: pinmux-i2c4-pins {
558 pinctrl-single,pins = <
559 OMAP4_IOPAD(0x12e, PIN_INPUT | MUX_MODE0) /* i2c4_scl */
560 OMAP4_IOPAD(0x130, PIN_INPUT | MUX_MODE0) /* i2c4_sda */
561 >;
562 };
563
564 keypad_pins: pinmux-keypad-pins {
565 pinctrl-single,pins = <
566 /* kpd_row0 */
567 OMAP4_IOPAD(0x0050, PIN_INPUT_PULLUP | MUX_MODE1)
568 /* kpd_row1 */
569 OMAP4_IOPAD(0x0052, PIN_INPUT_PULLUP | MUX_MODE1)
570 /* kpd_row2 */
571 OMAP4_IOPAD(0x0054, PIN_INPUT_PULLUP | MUX_MODE1)
572 /* kpd_col0 */
573 OMAP4_IOPAD(0x0058, PIN_OUTPUT | MUX_MODE1)
574 /* kpd_col1 */
575 OMAP4_IOPAD(0x005a, PIN_OUTPUT | MUX_MODE1)
576 /* kpd_col2 */
577 OMAP4_IOPAD(0x005c, PIN_OUTPUT | MUX_MODE1)
578 >;
579 };
580
581 lb_v50_pins: pinmux-lb-v50-pins {
582 pinctrl-single,pins = <
583 OMAP4_IOPAD(0x1ce, PIN_OUTPUT | MUX_MODE3) /* gpio27 */
584 >;
585 };
586
587 mcbsp2_pins: pinmux-mcbsp2-pins {
588 pinctrl-single,pins = <
589 OMAP4_IOPAD(0x0f6, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_clkx */
590 OMAP4_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_dr */
591 OMAP4_IOPAD(0x0fa, PIN_OUTPUT | MUX_MODE0) /* abe_mcbsp2_dx */
592 OMAP4_IOPAD(0x0fc, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_fsx */
593 >;
594 };
595
596 mpu9150_pins: pinmux-mpu9150-pins {
597 pinctrl-single,pins = <
598 OMAP4_IOPAD(0x5e, PIN_INPUT_PULLUP | MUX_MODE3)
599 >;
600 };
601
602 mpu9150h_pins: pinmux-mpu9150h-pins {
603 pinctrl-single,pins = <
604 OMAP4_IOPAD(0x76, PIN_INPUT_PULLUP | MUX_MODE3)
605 >;
606 };
607
608 tlv320aic3x_pins: pinmux-tlv320aic3x-pins {
609 pinctrl-single,pins = <
610 OMAP4_IOPAD(0x7e, PIN_OUTPUT | MUX_MODE3)
611 >;
612 };
613
614 uart2_pins: pinmux-uart2-pins {
615 pinctrl-single,pins = <
616 OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts */
617 OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */
618 OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */
619 OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
620 >;
621 };
622
623 uart3_pins: pinmux-uart3-pins {
624 pinctrl-single,pins = <
625 OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx */
626 OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx */
627 >;
628 };
629
630 usb_otg_hs_pins: pinmux-usb-otg-hs-pins {
631 pinctrl-single,pins = <
632 OMAP4_IOPAD(0x194, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usba0_otg_ce */
633 OMAP4_IOPAD(0x196, PIN_INPUT | MUX_MODE0) /* usba0_otg_dp */
634 OMAP4_IOPAD(0x198, PIN_INPUT | MUX_MODE0) /* usba0_otg_dm */
635 >;
636 };
637
638 wl12xx_pins: pinmux-wl12xx-pins {
639 pinctrl-single,pins = <
640 OMAP4_IOPAD(0x1c6, PIN_INPUT | MUX_MODE3) /* gpio_23 / IRQ */
641 OMAP4_IOPAD(0x16c, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat2 */
642 OMAP4_IOPAD(0x16e, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat1 */
643 OMAP4_IOPAD(0x170, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat0 */
644 OMAP4_IOPAD(0x172, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat3 */
645 OMAP4_IOPAD(0x174, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_cmd */
646 OMAP4_IOPAD(0x176, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_clk */
647 >;
648 };
649
650 wl12xx_gpio: pinmux-wl12xx-gpio-pins {
651 pinctrl-single,pins = <
652 OMAP4_IOPAD(0x1c8, PIN_OUTPUT | MUX_MODE3) /* gpio_24 / WLAN_EN */
653 >;
654 };
655 };
656
657 &omap4_pmx_wkup {
658 gpio1wk_hog_pins: pinmux-gpio1wk-hog-pins {
659 pinctrl-single,pins = <
660 OMAP4_IOPAD(0x68, PIN_INPUT_PULLDOWN | MUX_MODE3) /* gpio9 */
661 OMAP4_IOPAD(0x6a, PIN_INPUT | MUX_MODE3) /* gpio10 */
662 >;
663 };
664 };
665
666 &uart2 {
667 pinctrl-names = "default";
668 pinctrl-0 = <&uart2_pins &bt_pins>;
669 interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
670 &omap4_pmx_core OMAP4_UART2_RX>;
671
672 bluetooth-gnss {
673 compatible = "ti,wl1283-st";
674 enable-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; /* GPIO_25 */
675 clocks = <&twl 1>;
676 clock-names = "ext_clock";
677 };
678 };
679
680 &uart3 {
681 pinctrl-names = "default";
682 pinctrl-0 = <&uart3_pins>;
683 interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
684 &omap4_pmx_core OMAP4_UART3_RX>;
685 };
686
687 &usb_otg_hs {
688 pinctrl-names = "default";
689 pinctrl-0 = <&usb_otg_hs_pins>;
690
691 interface-type = <1>;
692 mode = <3>;
693 power = <50>;
694 };
695
696 &usbhshost {
697 status = "disabled";
698 };