xref: /linux/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts (revision ba95cc59e2a523614379081f092cb2d104882b58)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (C) 2023 Andreas Kemnade
4724ba675SRob Herring */
5724ba675SRob Herring/dts-v1/;
6724ba675SRob Herring
705ee882dSAndreas Kemnade#include <dt-bindings/leds/common.h>
8724ba675SRob Herring#include <dt-bindings/input/input.h>
9724ba675SRob Herring#include "omap4460.dtsi"
10724ba675SRob Herring
11724ba675SRob Herring/ {
12724ba675SRob Herring	model = "Epson Moverio BT-200";
13724ba675SRob Herring	compatible = "epson,embt2ws", "ti,omap4460", "ti,omap4";
14724ba675SRob Herring
15724ba675SRob Herring	memory@80000000 {
16724ba675SRob Herring		device_type = "memory";
17724ba675SRob Herring		reg = <0x80000000 0x40000000>; /* 1024M */
18724ba675SRob Herring	};
19724ba675SRob Herring
20724ba675SRob Herring	backlight-left {
21724ba675SRob Herring		compatible = "pwm-backlight";
22724ba675SRob Herring		pwms = <&twl_pwm 1 7812500>;
23724ba675SRob Herring		power-supply = <&unknown_supply>;
24724ba675SRob Herring	};
25724ba675SRob Herring
26724ba675SRob Herring	backlight-right {
27724ba675SRob Herring		compatible = "pwm-backlight";
28724ba675SRob Herring		pwms = <&twl_pwm 0 7812500>;
29724ba675SRob Herring		power-supply = <&unknown_supply>;
30724ba675SRob Herring	};
31724ba675SRob Herring
32724ba675SRob Herring	chosen {
33724ba675SRob Herring		stdout-path = &uart3;
34724ba675SRob Herring	};
35724ba675SRob Herring
36724ba675SRob Herring	gpio-keys {
37724ba675SRob Herring		compatible = "gpio-keys";
38724ba675SRob Herring		pinctrl-names = "default";
39724ba675SRob Herring		pinctrl-0 = <&gpio_keys_pins>;
40724ba675SRob Herring
41724ba675SRob Herring		key-lock {
42724ba675SRob Herring			label = "Lock";
43724ba675SRob Herring			gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
44724ba675SRob Herring			linux,code = <SW_ROTATE_LOCK>; /* SW_TOUCHPAD_LOCK */
45724ba675SRob Herring			linux,input-type = <EV_SW>;
46724ba675SRob Herring		};
47724ba675SRob Herring	};
48724ba675SRob Herring
49724ba675SRob Herring	unknown_supply: unknown-supply {
50724ba675SRob Herring		compatible = "regulator-fixed";
51724ba675SRob Herring		regulator-name = "unknown";
52724ba675SRob Herring	};
53724ba675SRob Herring
54b1a041afSAndreas Kemnade	wl12xx_pwrseq: wl12xx-pwrseq {
55b1a041afSAndreas Kemnade		compatible = "mmc-pwrseq-simple";
56b1a041afSAndreas Kemnade		clocks = <&twl 1>;
57b1a041afSAndreas Kemnade		clock-names = "ext_clock";
58b1a041afSAndreas Kemnade	};
59b1a041afSAndreas Kemnade
60724ba675SRob Herring       /* regulator for wl12xx on sdio2 */
61724ba675SRob Herring	wl12xx_vmmc: wl12xx-vmmc {
62724ba675SRob Herring		pinctrl-names = "default";
63724ba675SRob Herring		pinctrl-0 = <&wl12xx_gpio>;
64724ba675SRob Herring		compatible = "regulator-fixed";
65724ba675SRob Herring		regulator-name = "vwl1271";
66724ba675SRob Herring		regulator-min-microvolt = <1800000>;
67724ba675SRob Herring		regulator-max-microvolt = <1800000>;
68724ba675SRob Herring		gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>;
69724ba675SRob Herring		startup-delay-us = <70000>;
70724ba675SRob Herring		enable-active-high;
71724ba675SRob Herring	};
72724ba675SRob Herring};
73724ba675SRob Herring
74724ba675SRob Herring&i2c1 {
75724ba675SRob Herring	pinctrl-names = "default";
76724ba675SRob Herring	pinctrl-0 = <&i2c1_pins>;
77724ba675SRob Herring
78724ba675SRob Herring	clock-frequency = <400000>;
79724ba675SRob Herring
80724ba675SRob Herring	twl: pmic@48 {
81724ba675SRob Herring		compatible = "ti,twl6032";
82724ba675SRob Herring		reg = <0x48>;
83b1a041afSAndreas Kemnade		#clock-cells = <1>;
84724ba675SRob Herring		/* IRQ# = 7 */
85724ba675SRob Herring		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
86724ba675SRob Herring		interrupt-controller;
87724ba675SRob Herring		#interrupt-cells = <1>;
88*ba95cc59SAndreas Kemnade		system-power-controller;
89724ba675SRob Herring
90724ba675SRob Herring		rtc {
91724ba675SRob Herring			compatible = "ti,twl4030-rtc";
92724ba675SRob Herring			interrupts = <11>;
93724ba675SRob Herring		};
94724ba675SRob Herring
95724ba675SRob Herring		ldo2: regulator-ldo2 {
96724ba675SRob Herring			compatible = "ti,twl6032-ldo2";
97724ba675SRob Herring			regulator-min-microvolt = <1000000>;
98724ba675SRob Herring			regulator-max-microvolt = <3000000>;
99724ba675SRob Herring		};
100724ba675SRob Herring
101724ba675SRob Herring		ldo4: regulator-ldo4 {
102724ba675SRob Herring			compatible = "ti,twl6032-ldo4";
103724ba675SRob Herring			regulator-min-microvolt = <1200000>;
104724ba675SRob Herring			regulator-max-microvolt = <2800000>;
105724ba675SRob Herring		};
106724ba675SRob Herring
107724ba675SRob Herring		ldo3: regulator-ldo3 {
108724ba675SRob Herring			compatible = "ti,twl6032-ldo3";
109724ba675SRob Herring			regulator-min-microvolt = <1000000>;
110724ba675SRob Herring			regulator-max-microvolt = <3000000>;
111724ba675SRob Herring		};
112724ba675SRob Herring
113724ba675SRob Herring		ldo5: regulator-ldo5 {
114724ba675SRob Herring			compatible = "ti,twl6032-ldo5";
115724ba675SRob Herring			regulator-min-microvolt = <1200000>;
116724ba675SRob Herring			regulator-max-microvolt = <3000000>;
117724ba675SRob Herring			ti,retain-on-reset;
118724ba675SRob Herring		};
119724ba675SRob Herring
120724ba675SRob Herring		ldo1: regulator-ldo1 {
121724ba675SRob Herring			compatible = "ti,twl6032-ldo1";
122724ba675SRob Herring			regulator-min-microvolt = <1800000>;
123724ba675SRob Herring			regulator-max-microvolt = <2500000>;
124724ba675SRob Herring		};
125724ba675SRob Herring
126724ba675SRob Herring		ldo7: regulator-ldo7 {
127724ba675SRob Herring			compatible = "ti,twl6032-ldo7";
128724ba675SRob Herring			regulator-min-microvolt = <1200000>;
129724ba675SRob Herring			regulator-max-microvolt = <2900000>;
130724ba675SRob Herring		};
131724ba675SRob Herring
132724ba675SRob Herring		ldoln: regulator-ldoln {
133724ba675SRob Herring			compatible = "ti,twl6032-ldoln";
134724ba675SRob Herring			regulator-always-on;
135724ba675SRob Herring		};
136724ba675SRob Herring
137724ba675SRob Herring		ldo6: regulator-ldo6 {
138724ba675SRob Herring			compatible = "ti,twl6032-ldo6";
139724ba675SRob Herring			regulator-always-on;
140724ba675SRob Herring		};
141724ba675SRob Herring
142724ba675SRob Herring		ldousb: regulator-ldousb {
143724ba675SRob Herring			compatible = "ti,twl6032-ldousb";
144724ba675SRob Herring			regulator-always-on;
145724ba675SRob Herring		};
146724ba675SRob Herring
147724ba675SRob Herring		vio: regulator-vio {
148724ba675SRob Herring			compatible = "ti,twl6032-vio";
149724ba675SRob Herring			regulator-always-on;
150724ba675SRob Herring		};
151724ba675SRob Herring
152724ba675SRob Herring		twl_usb_comparator: usb-comparator {
153724ba675SRob Herring			compatible = "ti,twl6030-usb";
154724ba675SRob Herring			interrupts = <4>, <10>;
155724ba675SRob Herring		};
156724ba675SRob Herring
157724ba675SRob Herring		twl_pwm: pwm {
158724ba675SRob Herring			/* provides two PWMs (id 0, 1 for PWM1 and PWM2) */
159724ba675SRob Herring			compatible = "ti,twl6030-pwm";
160724ba675SRob Herring			#pwm-cells = <2>;
161724ba675SRob Herring		};
162724ba675SRob Herring
163724ba675SRob Herring		twl_pwmled: pwmled {
164724ba675SRob Herring			/* provides one PWM (id 0 for Charging indicator LED) */
165724ba675SRob Herring			compatible = "ti,twl6030-pwmled";
166724ba675SRob Herring			#pwm-cells = <2>;
167724ba675SRob Herring		};
168724ba675SRob Herring
169724ba675SRob Herring		gpadc {
170724ba675SRob Herring			compatible = "ti,twl6032-gpadc";
171724ba675SRob Herring			interrupts = <3>;
172724ba675SRob Herring			#io-channel-cells = <1>;
173724ba675SRob Herring		};
174724ba675SRob Herring
175724ba675SRob Herring	};
176724ba675SRob Herring};
177724ba675SRob Herring
178724ba675SRob Herring#include "twl6030_omap4.dtsi"
179724ba675SRob Herring
180724ba675SRob Herring&twl_usb_comparator {
181724ba675SRob Herring	usb-supply = <&ldousb>;
182724ba675SRob Herring};
183724ba675SRob Herring
184724ba675SRob Herring
185724ba675SRob Herring&i2c2 {
186724ba675SRob Herring	pinctrl-names = "default";
187724ba675SRob Herring	pinctrl-0 = <&i2c2_pins>;
188724ba675SRob Herring
189724ba675SRob Herring	clock-frequency = <200000>;
190724ba675SRob Herring
191724ba675SRob Herring	/* at head/glasses */
192724ba675SRob Herring	mpu9150h: imu@68 {
193724ba675SRob Herring		compatible = "invensense,mpu9150";
194724ba675SRob Herring		reg = <0x68>;
195724ba675SRob Herring
196724ba675SRob Herring		pinctrl-names = "default";
197724ba675SRob Herring		pinctrl-0 = <&mpu9150h_pins>;
198724ba675SRob Herring		interrupt-parent = <&gpio2>;
199724ba675SRob Herring		interrupt = <19 IRQ_TYPE_LEVEL_HIGH>;
200724ba675SRob Herring	};
201724ba675SRob Herring};
202724ba675SRob Herring
203724ba675SRob Herring&i2c3 {
204724ba675SRob Herring	pinctrl-names = "default";
205724ba675SRob Herring	pinctrl-0 = <&i2c3_pins>;
206724ba675SRob Herring
207724ba675SRob Herring	clock-frequency = <100000>;
208724ba675SRob Herring
20905ee882dSAndreas Kemnade	led-controller@66 {
21005ee882dSAndreas Kemnade		compatible = "rohm,bd2606mvv";
21105ee882dSAndreas Kemnade		reg = <0x66>;
21205ee882dSAndreas Kemnade
21305ee882dSAndreas Kemnade		#address-cells = <1>;
21405ee882dSAndreas Kemnade		#size-cells = <0>;
21505ee882dSAndreas Kemnade
21605ee882dSAndreas Kemnade		led@0 {
21705ee882dSAndreas Kemnade			reg = <0>;
21805ee882dSAndreas Kemnade			color = <LED_COLOR_ID_GREEN>;
21905ee882dSAndreas Kemnade			function = LED_FUNCTION_STATUS;
22005ee882dSAndreas Kemnade		};
22105ee882dSAndreas Kemnade
22205ee882dSAndreas Kemnade		led@2 {
22305ee882dSAndreas Kemnade			reg = <2>;
22405ee882dSAndreas Kemnade			color = <LED_COLOR_ID_BLUE>;
22505ee882dSAndreas Kemnade			function = LED_FUNCTION_STATUS;
22605ee882dSAndreas Kemnade		};
22705ee882dSAndreas Kemnade
22805ee882dSAndreas Kemnade		led@4 {
22905ee882dSAndreas Kemnade			reg = <4>;
23005ee882dSAndreas Kemnade			color = <LED_COLOR_ID_RED>;
23105ee882dSAndreas Kemnade			function = LED_FUNCTION_STATUS;
23205ee882dSAndreas Kemnade		};
23305ee882dSAndreas Kemnade	};
234724ba675SRob Herring};
235724ba675SRob Herring
236724ba675SRob Herring&i2c4 {
237724ba675SRob Herring	pinctrl-names = "default";
238724ba675SRob Herring	pinctrl-0 = <&i2c4_pins>;
239724ba675SRob Herring
240724ba675SRob Herring	clock-frequency = <360000>;
241724ba675SRob Herring
242724ba675SRob Herring	/* TODO: KXTI9 at 0xf */
243724ba675SRob Herring
244724ba675SRob Herring	tlv320aic3x: codec@18 {
245724ba675SRob Herring		compatible = "ti,tlv320aic3x";
246724ba675SRob Herring		reg = <0x18>;
247724ba675SRob Herring		pinctrl-names = "default";
248724ba675SRob Herring		pinctrl-0 = <&tlv320aic3x_pins>;
249724ba675SRob Herring		#sound-dai-cells = <0>;
250724ba675SRob Herring
251724ba675SRob Herring		reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
252724ba675SRob Herring	};
253724ba675SRob Herring
254cc284742SAndreas Kemnade	mpu9150: imu@68 {
255cc284742SAndreas Kemnade		compatible = "invensense,mpu9150";
256cc284742SAndreas Kemnade		reg = <0x68>;
257cc284742SAndreas Kemnade
258cc284742SAndreas Kemnade		pinctrl-names = "default";
259cc284742SAndreas Kemnade		pinctrl-0 = <&mpu9150_pins>;
260cc284742SAndreas Kemnade		interrupt-parent = <&gpio2>;
261cc284742SAndreas Kemnade		interrupt = <7 IRQ_TYPE_LEVEL_HIGH>;
262cc284742SAndreas Kemnade		invensense,level-shifter;
263cc284742SAndreas Kemnade	};
264724ba675SRob Herring};
265724ba675SRob Herring
266724ba675SRob Herring&keypad {
267724ba675SRob Herring	pinctrl-names = "default";
268724ba675SRob Herring	pinctrl-0 = <&keypad_pins>;
269724ba675SRob Herring	keypad,num-rows = <2>;
270724ba675SRob Herring	keypad,num-columns = <3>;
271724ba675SRob Herring	linux,keymap = <MATRIX_KEY(0, 0, KEY_MENU)
272724ba675SRob Herring			MATRIX_KEY(0, 1, KEY_HOME)
273724ba675SRob Herring			MATRIX_KEY(0, 2, KEY_BACK)
274724ba675SRob Herring			MATRIX_KEY(1, 0, KEY_ESC)
275724ba675SRob Herring			MATRIX_KEY(1, 1, KEY_VOLUMEDOWN)
276724ba675SRob Herring			MATRIX_KEY(1, 2, KEY_VOLUMEUP)>;
277724ba675SRob Herring	linux,input-no-autorepeat;
278724ba675SRob Herring};
279724ba675SRob Herring
280724ba675SRob Herring&mcbsp2 {
281724ba675SRob Herring	#sound-dai-cells = <0>;
282724ba675SRob Herring	pinctrl-names = "default";
283724ba675SRob Herring	pinctrl-0 = <&mcbsp2_pins>;
284724ba675SRob Herring	status = "okay";
285724ba675SRob Herring};
286724ba675SRob Herring
287724ba675SRob Herring
288724ba675SRob Herring&mmc1 {
289724ba675SRob Herring	/* sdcard */
290724ba675SRob Herring	vmmc-supply = <&ldo5>;
291724ba675SRob Herring	broken-cd;
292724ba675SRob Herring	bus-width = <4>;
293724ba675SRob Herring};
294724ba675SRob Herring
295724ba675SRob Herring&mmc2 {
296724ba675SRob Herring	/* emmc */
297724ba675SRob Herring	vmmc-supply = <&ldo2>;
298724ba675SRob Herring	bus-width = <8>;
299724ba675SRob Herring};
300724ba675SRob Herring
301724ba675SRob Herring&mmc3 {
302724ba675SRob Herring	pinctrl-names = "default";
303724ba675SRob Herring	pinctrl-0 = <&wl12xx_pins>;
304724ba675SRob Herring	vmmc-supply = <&wl12xx_vmmc>;
305b1a041afSAndreas Kemnade	mmc-pwrseq = <&wl12xx_pwrseq>;
306724ba675SRob Herring	interrupts-extended = <&wakeupgen GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH
307724ba675SRob Herring			       &omap4_pmx_core 0x12e>;
308724ba675SRob Herring	non-removable;
309724ba675SRob Herring	bus-width = <4>;
310724ba675SRob Herring	cap-power-off-card;
311724ba675SRob Herring
312724ba675SRob Herring	#address-cells = <1>;
313724ba675SRob Herring	#size-cells = <0>;
314724ba675SRob Herring	wlcore: wlcore@2 {
315724ba675SRob Herring		compatible = "ti,wl1283";
316724ba675SRob Herring		reg = <2>;
317724ba675SRob Herring		interrupts-extended = <&gpio1 23 IRQ_TYPE_LEVEL_HIGH>;
318724ba675SRob Herring		interrupt-names = "irq";
319724ba675SRob Herring		ref-clock-frequency = <26000000>;
320724ba675SRob Herring		tcxo-clock-frequency = <26000000>;
321724ba675SRob Herring	};
322724ba675SRob Herring};
323724ba675SRob Herring
324724ba675SRob Herring&mmc4 {
325724ba675SRob Herring	status = "disabled";
326724ba675SRob Herring};
327724ba675SRob Herring
328724ba675SRob Herring&mmc5 {
329724ba675SRob Herring	status = "disabled";
330724ba675SRob Herring};
331724ba675SRob Herring
332724ba675SRob Herring&omap4_pmx_core {
333724ba675SRob Herring	bt_pins: pinmux-bt-pins {
334724ba675SRob Herring		pinctrl-single,pins = <
335724ba675SRob Herring			OMAP4_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE3) /* gpio25 */
336724ba675SRob Herring		>;
337724ba675SRob Herring	};
338724ba675SRob Herring
339724ba675SRob Herring	gpio_keys_pins: pinmux-gpio-key-pins {
340724ba675SRob Herring		pinctrl-single,pins = <
341724ba675SRob Herring			OMAP4_IOPAD(0x56, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio35 */
342724ba675SRob Herring		>;
343724ba675SRob Herring	};
344724ba675SRob Herring
345724ba675SRob Herring	i2c1_pins: pinmux-i2c1-pins {
346724ba675SRob Herring		pinctrl-single,pins = <
347724ba675SRob Herring			   OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c1_scl */
348724ba675SRob Herring			   OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c1_sda */
349724ba675SRob Herring		>;
350724ba675SRob Herring	};
351724ba675SRob Herring
352724ba675SRob Herring	i2c2_pins: pinmux-i2c2-pins {
353724ba675SRob Herring		pinctrl-single,pins = <
354724ba675SRob Herring			OMAP4_IOPAD(0x126, PIN_INPUT | MUX_MODE0)	/* i2c2_scl */
355724ba675SRob Herring			OMAP4_IOPAD(0x128, PIN_INPUT | MUX_MODE0)	/* i2c2_sda */
356724ba675SRob Herring		>;
357724ba675SRob Herring	};
358724ba675SRob Herring
359724ba675SRob Herring	i2c3_pins: pinmux-i2c3-pins {
360724ba675SRob Herring		pinctrl-single,pins = <
361724ba675SRob Herring			OMAP4_IOPAD(0x12a, PIN_INPUT | MUX_MODE0)	/* i2c3_scl */
362724ba675SRob Herring			OMAP4_IOPAD(0x12c, PIN_INPUT | MUX_MODE0)	/* i2c3_sda */
363724ba675SRob Herring		>;
364724ba675SRob Herring	};
365724ba675SRob Herring
366724ba675SRob Herring	i2c4_pins: pinmux-i2c4-pins {
367724ba675SRob Herring		pinctrl-single,pins = <
368724ba675SRob Herring			OMAP4_IOPAD(0x12e, PIN_INPUT | MUX_MODE0)	/* i2c4_scl */
369724ba675SRob Herring			OMAP4_IOPAD(0x130, PIN_INPUT | MUX_MODE0)	/* i2c4_sda */
370724ba675SRob Herring		>;
371724ba675SRob Herring	};
372724ba675SRob Herring
373724ba675SRob Herring	keypad_pins: pinmux-keypad-pins {
374724ba675SRob Herring		pinctrl-single,pins = <
375724ba675SRob Herring			/* kpd_row0 */
376724ba675SRob Herring			OMAP4_IOPAD(0x0050, PIN_INPUT_PULLUP | MUX_MODE1)
377724ba675SRob Herring			/* kpd_row1 */
378724ba675SRob Herring			OMAP4_IOPAD(0x0052, PIN_INPUT_PULLUP | MUX_MODE1)
379724ba675SRob Herring			/* kpd_row2 */
380724ba675SRob Herring			OMAP4_IOPAD(0x0054, PIN_INPUT_PULLUP | MUX_MODE1)
381724ba675SRob Herring			/* kpd_col0 */
382724ba675SRob Herring			OMAP4_IOPAD(0x0058, PIN_OUTPUT | MUX_MODE1)
383724ba675SRob Herring			/* kpd_col1 */
384724ba675SRob Herring			OMAP4_IOPAD(0x005a, PIN_OUTPUT | MUX_MODE1)
385724ba675SRob Herring			/* kpd_col2 */
386724ba675SRob Herring			OMAP4_IOPAD(0x005c, PIN_OUTPUT | MUX_MODE1)
387724ba675SRob Herring		>;
388724ba675SRob Herring	};
389724ba675SRob Herring
390724ba675SRob Herring	mcbsp2_pins: pinmux-mcbsp2-pins {
391724ba675SRob Herring		pinctrl-single,pins = <
392724ba675SRob Herring			OMAP4_IOPAD(0x0f6, PIN_INPUT | MUX_MODE0)       /* abe_mcbsp2_clkx */
393724ba675SRob Herring			OMAP4_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0)       /* abe_mcbsp2_dr */
394724ba675SRob Herring			OMAP4_IOPAD(0x0fa, PIN_OUTPUT | MUX_MODE0)      /* abe_mcbsp2_dx */
395724ba675SRob Herring			OMAP4_IOPAD(0x0fc, PIN_INPUT | MUX_MODE0)       /* abe_mcbsp2_fsx */
396724ba675SRob Herring		>;
397724ba675SRob Herring	};
398724ba675SRob Herring
399cc284742SAndreas Kemnade	mpu9150_pins: pinmux-mpu9150-pins {
400cc284742SAndreas Kemnade		pinctrl-single,pins = <
401cc284742SAndreas Kemnade			OMAP4_IOPAD(0x5e, PIN_INPUT_PULLUP | MUX_MODE3)
402cc284742SAndreas Kemnade		>;
403cc284742SAndreas Kemnade	};
404cc284742SAndreas Kemnade
405724ba675SRob Herring	mpu9150h_pins: pinmux-mpu9150h-pins {
406724ba675SRob Herring		pinctrl-single,pins = <
407724ba675SRob Herring			OMAP4_IOPAD(0x76, PIN_INPUT_PULLUP | MUX_MODE3)
408724ba675SRob Herring		>;
409724ba675SRob Herring	};
410724ba675SRob Herring
411724ba675SRob Herring	tlv320aic3x_pins: pinmux-tlv320aic3x-pins {
412724ba675SRob Herring		pinctrl-single,pins = <
413724ba675SRob Herring			OMAP4_IOPAD(0x7e, PIN_OUTPUT | MUX_MODE3)
414724ba675SRob Herring		>;
415724ba675SRob Herring	};
416724ba675SRob Herring
417724ba675SRob Herring	uart2_pins: pinmux-uart2-pins {
418724ba675SRob Herring		pinctrl-single,pins = <
419724ba675SRob Herring			OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts */
420724ba675SRob Herring			OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0)	 /* uart2_rts.uart2_rts */
421724ba675SRob Herring			OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */
422724ba675SRob Herring			OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0)	 /* uart2_tx.uart2_tx */
423724ba675SRob Herring		>;
424724ba675SRob Herring	};
425724ba675SRob Herring
426724ba675SRob Herring	uart3_pins: pinmux-uart3-pins {
427724ba675SRob Herring		pinctrl-single,pins = <
428724ba675SRob Herring			OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0)  /* uart3_rx_irrx */
429724ba675SRob Herring			OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx */
430724ba675SRob Herring		>;
431724ba675SRob Herring	};
432724ba675SRob Herring
433724ba675SRob Herring	usb_otg_hs_pins: pinmux-usb-otg-hs-pins {
434724ba675SRob Herring		 pinctrl-single,pins = <
435724ba675SRob Herring			 OMAP4_IOPAD(0x194, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usba0_otg_ce */
436724ba675SRob Herring			 OMAP4_IOPAD(0x196, PIN_INPUT | MUX_MODE0)	     /* usba0_otg_dp */
437724ba675SRob Herring			 OMAP4_IOPAD(0x198, PIN_INPUT | MUX_MODE0)	     /* usba0_otg_dm */
438724ba675SRob Herring		 >;
439724ba675SRob Herring	};
440724ba675SRob Herring
441724ba675SRob Herring	wl12xx_pins: pinmux-wl12xx-pins {
442724ba675SRob Herring		pinctrl-single,pins = <
443724ba675SRob Herring			OMAP4_IOPAD(0x1c6, PIN_INPUT | MUX_MODE3) /* gpio_23 / IRQ */
444724ba675SRob Herring			OMAP4_IOPAD(0x16c, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat2 */
445724ba675SRob Herring			OMAP4_IOPAD(0x16e, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat1 */
446724ba675SRob Herring			OMAP4_IOPAD(0x170, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat0 */
447724ba675SRob Herring			OMAP4_IOPAD(0x172, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat3 */
448724ba675SRob Herring			OMAP4_IOPAD(0x174, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_cmd */
449724ba675SRob Herring			OMAP4_IOPAD(0x176, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_clk */
450724ba675SRob Herring		>;
451724ba675SRob Herring	};
452724ba675SRob Herring
453ea1c1e67STony Lindgren	wl12xx_gpio: pinmux-wl12xx-gpio-pins {
454724ba675SRob Herring		pinctrl-single,pins = <
455724ba675SRob Herring			OMAP4_IOPAD(0x1c8, PIN_OUTPUT | MUX_MODE3)  /* gpio_24 / WLAN_EN */
456724ba675SRob Herring		>;
457724ba675SRob Herring	};
458724ba675SRob Herring};
459724ba675SRob Herring
460724ba675SRob Herring&uart2 {
461724ba675SRob Herring	pinctrl-names = "default";
462724ba675SRob Herring	pinctrl-0 = <&uart2_pins &bt_pins>;
463724ba675SRob Herring	interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
464724ba675SRob Herring			       &omap4_pmx_core OMAP4_UART2_RX>;
465724ba675SRob Herring
46610dfde4bSAndreas Kemnade	bluetooth-gnss {
46710dfde4bSAndreas Kemnade		compatible = "ti,wl1283-st";
46810dfde4bSAndreas Kemnade		enable-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;	/* GPIO_25 */
46910dfde4bSAndreas Kemnade		clocks = <&twl 1>;
47010dfde4bSAndreas Kemnade		clock-names = "ext_clock";
47110dfde4bSAndreas Kemnade	};
472724ba675SRob Herring};
473724ba675SRob Herring
474724ba675SRob Herring&uart3 {
475724ba675SRob Herring	pinctrl-names = "default";
476724ba675SRob Herring	pinctrl-0 = <&uart3_pins>;
477724ba675SRob Herring	interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
478724ba675SRob Herring			       &omap4_pmx_core OMAP4_UART3_RX>;
479724ba675SRob Herring};
480724ba675SRob Herring
481724ba675SRob Herring&usb_otg_hs {
482724ba675SRob Herring	pinctrl-names = "default";
483724ba675SRob Herring	pinctrl-0 = <&usb_otg_hs_pins>;
484724ba675SRob Herring
485724ba675SRob Herring	interface-type = <1>;
486724ba675SRob Herring	mode = <3>;
487724ba675SRob Herring	power = <50>;
488724ba675SRob Herring};
489724ba675SRob Herring
490724ba675SRob Herring&usbhshost {
491724ba675SRob Herring	status = "disabled";
492724ba675SRob Herring};
493