xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap4-sdp.dts (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot/dts-v1/;
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot#include "omap443x.dtsi"
8f126890aSEmmanuel Vadot#include "elpida_ecb240abacn.dtsi"
9f126890aSEmmanuel Vadot#include "omap4-mcpdm.dtsi"
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	model = "TI OMAP4 SDP board";
13f126890aSEmmanuel Vadot	compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	memory@80000000 {
16f126890aSEmmanuel Vadot		device_type = "memory";
17f126890aSEmmanuel Vadot		reg = <0x80000000 0x40000000>; /* 1 GB */
18f126890aSEmmanuel Vadot	};
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot	aliases {
21f126890aSEmmanuel Vadot		display0 = &lcd0;
22f126890aSEmmanuel Vadot		display1 = &lcd1;
23f126890aSEmmanuel Vadot		display2 = &hdmi0;
24f126890aSEmmanuel Vadot	};
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot	vdd_eth: fixedregulator-vdd-eth {
27f126890aSEmmanuel Vadot		pinctrl-names = "default";
28f126890aSEmmanuel Vadot		pinctrl-0 = <&enet_enable_gpio>;
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
31f126890aSEmmanuel Vadot		regulator-name = "VDD_ETH";
32f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
33f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
34f126890aSEmmanuel Vadot		gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>;  /* gpio line 48 */
35f126890aSEmmanuel Vadot		enable-active-high;
36f126890aSEmmanuel Vadot		regulator-boot-on;
37f126890aSEmmanuel Vadot		startup-delay-us = <25000>;
38f126890aSEmmanuel Vadot	};
39f126890aSEmmanuel Vadot
40f126890aSEmmanuel Vadot	vbat: fixedregulator-vbat {
41f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
42f126890aSEmmanuel Vadot		regulator-name = "VBAT";
43f126890aSEmmanuel Vadot		regulator-min-microvolt = <3750000>;
44f126890aSEmmanuel Vadot		regulator-max-microvolt = <3750000>;
45f126890aSEmmanuel Vadot		regulator-boot-on;
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	led-controller-1 {
49f126890aSEmmanuel Vadot		compatible = "gpio-leds";
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		led-1 {
52f126890aSEmmanuel Vadot			label = "omap4:green:debug0";
53f126890aSEmmanuel Vadot			gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; /* 61 */
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot		led-2 {
57f126890aSEmmanuel Vadot			label = "omap4:green:debug1";
58f126890aSEmmanuel Vadot			gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; /* 30 */
59f126890aSEmmanuel Vadot		};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		led-3 {
62f126890aSEmmanuel Vadot			label = "omap4:green:debug2";
63f126890aSEmmanuel Vadot			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; /* 7 */
64f126890aSEmmanuel Vadot		};
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot		led-4 {
67f126890aSEmmanuel Vadot			label = "omap4:green:debug3";
68f126890aSEmmanuel Vadot			gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; /* 8 */
69f126890aSEmmanuel Vadot		};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot		led-5 {
72f126890aSEmmanuel Vadot			label = "omap4:green:debug4";
73f126890aSEmmanuel Vadot			gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>; /* 50 */
74f126890aSEmmanuel Vadot		};
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot		led-6 {
77f126890aSEmmanuel Vadot			label = "omap4:blue:user";
78f126890aSEmmanuel Vadot			gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* 169 */
79f126890aSEmmanuel Vadot		};
80f126890aSEmmanuel Vadot
81f126890aSEmmanuel Vadot		led-7 {
82f126890aSEmmanuel Vadot			label = "omap4:red:user";
83f126890aSEmmanuel Vadot			gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* 170 */
84f126890aSEmmanuel Vadot		};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot		led-8 {
87f126890aSEmmanuel Vadot			label = "omap4:green:user";
88f126890aSEmmanuel Vadot			gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* 139 */
89f126890aSEmmanuel Vadot		};
90f126890aSEmmanuel Vadot	};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot	led-controller-2 {
93f126890aSEmmanuel Vadot		compatible = "pwm-leds";
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot		led-9 {
96f126890aSEmmanuel Vadot			label = "omap4::keypad";
97f126890aSEmmanuel Vadot			pwms = <&twl_pwm 0 7812500>;
98f126890aSEmmanuel Vadot			max-brightness = <127>;
99f126890aSEmmanuel Vadot		};
100f126890aSEmmanuel Vadot
101f126890aSEmmanuel Vadot		led-10 {
102f126890aSEmmanuel Vadot			label = "omap4:green:chrg";
103f126890aSEmmanuel Vadot			pwms = <&twl_pwmled 0 7812500>;
104f126890aSEmmanuel Vadot			max-brightness = <255>;
105f126890aSEmmanuel Vadot		};
106f126890aSEmmanuel Vadot	};
107f126890aSEmmanuel Vadot
108f126890aSEmmanuel Vadot	backlight {
109f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
110f126890aSEmmanuel Vadot		pwms = <&twl_pwm 1 7812500>;
111f126890aSEmmanuel Vadot		brightness-levels = <
112f126890aSEmmanuel Vadot				0 10 20 30 40
113f126890aSEmmanuel Vadot				50 60 70 80 90
114f126890aSEmmanuel Vadot				100 110 120 127
115f126890aSEmmanuel Vadot				>;
116f126890aSEmmanuel Vadot		default-brightness-level = <13>;
117f126890aSEmmanuel Vadot	};
118f126890aSEmmanuel Vadot
119f126890aSEmmanuel Vadot	sound {
120f126890aSEmmanuel Vadot		compatible = "ti,abe-twl6040";
121f126890aSEmmanuel Vadot		ti,model = "SDP4430";
122f126890aSEmmanuel Vadot
123f126890aSEmmanuel Vadot		ti,jack-detection = <1>;
124f126890aSEmmanuel Vadot		ti,mclk-freq = <38400000>;
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot		ti,mcpdm = <&mcpdm>;
127f126890aSEmmanuel Vadot		ti,dmic = <&dmic>;
128f126890aSEmmanuel Vadot
129f126890aSEmmanuel Vadot		ti,twl6040 = <&twl6040>;
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot		/* Audio routing */
132f126890aSEmmanuel Vadot		ti,audio-routing =
133f126890aSEmmanuel Vadot			"Headset Stereophone", "HSOL",
134f126890aSEmmanuel Vadot			"Headset Stereophone", "HSOR",
135f126890aSEmmanuel Vadot			"Earphone Spk", "EP",
136f126890aSEmmanuel Vadot			"Ext Spk", "HFL",
137f126890aSEmmanuel Vadot			"Ext Spk", "HFR",
138f126890aSEmmanuel Vadot			"Line Out", "AUXL",
139f126890aSEmmanuel Vadot			"Line Out", "AUXR",
140f126890aSEmmanuel Vadot			"Vibrator", "VIBRAL",
141f126890aSEmmanuel Vadot			"Vibrator", "VIBRAR",
142f126890aSEmmanuel Vadot			"HSMIC", "Headset Mic",
143f126890aSEmmanuel Vadot			"Headset Mic", "Headset Mic Bias",
144f126890aSEmmanuel Vadot			"MAINMIC", "Main Handset Mic",
145f126890aSEmmanuel Vadot			"Main Handset Mic", "Main Mic Bias",
146f126890aSEmmanuel Vadot			"SUBMIC", "Sub Handset Mic",
147f126890aSEmmanuel Vadot			"Sub Handset Mic", "Main Mic Bias",
148f126890aSEmmanuel Vadot			"AFML", "Line In",
149f126890aSEmmanuel Vadot			"AFMR", "Line In",
150f126890aSEmmanuel Vadot			"DMic", "Digital Mic",
151f126890aSEmmanuel Vadot			"Digital Mic", "Digital Mic1 Bias";
152f126890aSEmmanuel Vadot	};
153f126890aSEmmanuel Vadot
154f126890aSEmmanuel Vadot	/* regulator for wl12xx on sdio5 */
155f126890aSEmmanuel Vadot	wl12xx_vmmc: wl12xx_vmmc {
156f126890aSEmmanuel Vadot		pinctrl-names = "default";
157f126890aSEmmanuel Vadot		pinctrl-0 = <&wl12xx_gpio>;
158f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
159f126890aSEmmanuel Vadot		regulator-name = "vwl1271";
160f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
161f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
162f126890aSEmmanuel Vadot		gpio = <&gpio2 22 GPIO_ACTIVE_HIGH>;
163f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
164f126890aSEmmanuel Vadot		enable-active-high;
165f126890aSEmmanuel Vadot	};
166f126890aSEmmanuel Vadot
167f126890aSEmmanuel Vadot	tpd12s015: encoder {
168f126890aSEmmanuel Vadot		compatible = "ti,tpd12s015";
169f126890aSEmmanuel Vadot
170f126890aSEmmanuel Vadot		gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>,	/* 60, CT CP HPD */
171f126890aSEmmanuel Vadot			<&gpio2 9 GPIO_ACTIVE_HIGH>,	/* 41, LS OE */
172f126890aSEmmanuel Vadot			<&gpio2 31 GPIO_ACTIVE_HIGH>;	/* 63, HPD */
173f126890aSEmmanuel Vadot
174f126890aSEmmanuel Vadot		ports {
175f126890aSEmmanuel Vadot			#address-cells = <1>;
176f126890aSEmmanuel Vadot			#size-cells = <0>;
177f126890aSEmmanuel Vadot
178f126890aSEmmanuel Vadot			port@0 {
179f126890aSEmmanuel Vadot				reg = <0>;
180f126890aSEmmanuel Vadot
181f126890aSEmmanuel Vadot				tpd12s015_in: endpoint {
182f126890aSEmmanuel Vadot					remote-endpoint = <&hdmi_out>;
183f126890aSEmmanuel Vadot				};
184f126890aSEmmanuel Vadot			};
185f126890aSEmmanuel Vadot
186f126890aSEmmanuel Vadot			port@1 {
187f126890aSEmmanuel Vadot				reg = <1>;
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot				tpd12s015_out: endpoint {
190f126890aSEmmanuel Vadot					remote-endpoint = <&hdmi_connector_in>;
191f126890aSEmmanuel Vadot				};
192f126890aSEmmanuel Vadot			};
193f126890aSEmmanuel Vadot		};
194f126890aSEmmanuel Vadot	};
195f126890aSEmmanuel Vadot
196f126890aSEmmanuel Vadot	hdmi0: connector {
197f126890aSEmmanuel Vadot		compatible = "hdmi-connector";
198f126890aSEmmanuel Vadot		label = "hdmi";
199f126890aSEmmanuel Vadot
200f126890aSEmmanuel Vadot		type = "c";
201f126890aSEmmanuel Vadot
202f126890aSEmmanuel Vadot		port {
203f126890aSEmmanuel Vadot			hdmi_connector_in: endpoint {
204f126890aSEmmanuel Vadot				remote-endpoint = <&tpd12s015_out>;
205f126890aSEmmanuel Vadot			};
206f126890aSEmmanuel Vadot		};
207f126890aSEmmanuel Vadot	};
208f126890aSEmmanuel Vadot};
209f126890aSEmmanuel Vadot
210f126890aSEmmanuel Vadot&omap4_pmx_core {
211f126890aSEmmanuel Vadot	pinctrl-names = "default";
212f126890aSEmmanuel Vadot	pinctrl-0 = <
213f126890aSEmmanuel Vadot			&dss_hdmi_pins
214f126890aSEmmanuel Vadot			&tpd12s015_pins
215f126890aSEmmanuel Vadot	>;
216f126890aSEmmanuel Vadot
217f126890aSEmmanuel Vadot	uart2_pins: uart2-pins {
218f126890aSEmmanuel Vadot		pinctrl-single,pins = <
219f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart2_cts.uart2_cts */
220f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0)		/* uart2_rts.uart2_rts */
221f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart2_rx.uart2_rx */
222f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0)		/* uart2_tx.uart2_tx */
223f126890aSEmmanuel Vadot		>;
224f126890aSEmmanuel Vadot	};
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot	uart3_pins: uart3-pins {
227f126890aSEmmanuel Vadot		pinctrl-single,pins = <
228f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x140, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart3_cts_rctx.uart3_cts_rctx */
229f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE0)		/* uart3_rts_sd.uart3_rts_sd */
230f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0)		/* uart3_rx_irrx.uart3_rx_irrx */
231f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0)		/* uart3_tx_irtx.uart3_tx_irtx */
232f126890aSEmmanuel Vadot		>;
233f126890aSEmmanuel Vadot	};
234f126890aSEmmanuel Vadot
235f126890aSEmmanuel Vadot	uart4_pins: uart4-pins {
236f126890aSEmmanuel Vadot		pinctrl-single,pins = <
237f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x15c, PIN_INPUT | MUX_MODE0)		/* uart4_rx.uart4_rx */
238f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x15e, PIN_OUTPUT | MUX_MODE0)		/* uart4_tx.uart4_tx */
239f126890aSEmmanuel Vadot		>;
240f126890aSEmmanuel Vadot	};
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot	twl6040_pins: twl6040-pins {
243f126890aSEmmanuel Vadot		pinctrl-single,pins = <
244f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x120, PIN_OUTPUT | MUX_MODE3)		/* hdq_sio.gpio_127 */
245f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x1a0, PIN_INPUT | MUX_MODE0)		/* sys_nirq2.sys_nirq2 */
246f126890aSEmmanuel Vadot		>;
247f126890aSEmmanuel Vadot	};
248f126890aSEmmanuel Vadot
249f126890aSEmmanuel Vadot	dmic_pins: dmic-pins {
250f126890aSEmmanuel Vadot		pinctrl-single,pins = <
251f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x110, PIN_OUTPUT | MUX_MODE0)		/* abe_dmic_clk1.abe_dmic_clk1 */
252f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x112, PIN_INPUT | MUX_MODE0)		/* abe_dmic_din1.abe_dmic_din1 */
253f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x114, PIN_INPUT | MUX_MODE0)		/* abe_dmic_din2.abe_dmic_din2 */
254f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x116, PIN_INPUT | MUX_MODE0)		/* abe_dmic_din3.abe_dmic_din3 */
255f126890aSEmmanuel Vadot		>;
256f126890aSEmmanuel Vadot	};
257f126890aSEmmanuel Vadot
258f126890aSEmmanuel Vadot	mcbsp1_pins: mcbsp1-pins {
259f126890aSEmmanuel Vadot		pinctrl-single,pins = <
260f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x0fe, PIN_INPUT | MUX_MODE0)		/* abe_mcbsp1_clkx.abe_mcbsp1_clkx */
261f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x100, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* abe_mcbsp1_dr.abe_mcbsp1_dr */
262f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x102, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* abe_mcbsp1_dx.abe_mcbsp1_dx */
263f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x104, PIN_INPUT | MUX_MODE0)		/* abe_mcbsp1_fsx.abe_mcbsp1_fsx */
264f126890aSEmmanuel Vadot		>;
265f126890aSEmmanuel Vadot	};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot	mcbsp2_pins: mcbsp2-pins {
268f126890aSEmmanuel Vadot		pinctrl-single,pins = <
269f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x0f6, PIN_INPUT | MUX_MODE0)		/* abe_mcbsp2_clkx.abe_mcbsp2_clkx */
270f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x0f8, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* abe_mcbsp2_dr.abe_mcbsp2_dr */
271f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x0fa, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* abe_mcbsp2_dx.abe_mcbsp2_dx */
272f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x0fc, PIN_INPUT | MUX_MODE0)		/* abe_mcbsp2_fsx.abe_mcbsp2_fsx */
273f126890aSEmmanuel Vadot		>;
274f126890aSEmmanuel Vadot	};
275f126890aSEmmanuel Vadot
276f126890aSEmmanuel Vadot	mcspi1_pins: mcspi1-pins {
277f126890aSEmmanuel Vadot		pinctrl-single,pins = <
278f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x132, PIN_INPUT | MUX_MODE0)		/*  mcspi1_clk.mcspi1_clk */
279f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x134, PIN_INPUT | MUX_MODE0)		/*  mcspi1_somi.mcspi1_somi */
280f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x136, PIN_INPUT | MUX_MODE0)		/*  mcspi1_simo.mcspi1_simo */
281f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x138, PIN_INPUT | MUX_MODE0)		/*  mcspi1_cs0.mcspi1_cs0 */
282f126890aSEmmanuel Vadot		>;
283f126890aSEmmanuel Vadot	};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot	dss_hdmi_pins: dss-hdmi-pins {
286f126890aSEmmanuel Vadot		pinctrl-single,pins = <
287f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0)		/* hdmi_cec.hdmi_cec */
288f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0)	/* hdmi_scl.hdmi_scl */
289f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0)	/* hdmi_sda.hdmi_sda */
290f126890aSEmmanuel Vadot		>;
291f126890aSEmmanuel Vadot	};
292f126890aSEmmanuel Vadot
293f126890aSEmmanuel Vadot	tpd12s015_pins: tpd12s015-pins {
294f126890aSEmmanuel Vadot		pinctrl-single,pins = <
295f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x062, PIN_OUTPUT | MUX_MODE3)		/* gpmc_a17.gpio_41 */
296f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x088, PIN_OUTPUT | MUX_MODE3)		/* gpmc_nbe1.gpio_60 */
297f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x098, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* hdmi_hpd.gpio_63 */
298f126890aSEmmanuel Vadot		>;
299f126890aSEmmanuel Vadot	};
300f126890aSEmmanuel Vadot
301f126890aSEmmanuel Vadot	i2c1_pins: i2c1-pins {
302f126890aSEmmanuel Vadot		pinctrl-single,pins = <
303f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c1_scl */
304f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c1_sda */
305f126890aSEmmanuel Vadot		>;
306f126890aSEmmanuel Vadot	};
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot	i2c2_pins: i2c2-pins {
309f126890aSEmmanuel Vadot		pinctrl-single,pins = <
310f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x126, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c2_scl */
311f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x128, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c2_sda */
312f126890aSEmmanuel Vadot		>;
313f126890aSEmmanuel Vadot	};
314f126890aSEmmanuel Vadot
315f126890aSEmmanuel Vadot	i2c3_pins: i2c3-pins {
316f126890aSEmmanuel Vadot		pinctrl-single,pins = <
317f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x12a, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c3_scl */
318f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x12c, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c3_sda */
319f126890aSEmmanuel Vadot		>;
320f126890aSEmmanuel Vadot	};
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot	i2c4_pins: i2c4-pins {
323f126890aSEmmanuel Vadot		pinctrl-single,pins = <
324f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x12e, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c4_scl */
325f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x130, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c4_sda */
326f126890aSEmmanuel Vadot		>;
327f126890aSEmmanuel Vadot	};
328f126890aSEmmanuel Vadot
329f126890aSEmmanuel Vadot	/* wl12xx GPIO output for WLAN_EN */
330f126890aSEmmanuel Vadot	wl12xx_gpio: wl12xx-gpio-pins {
331f126890aSEmmanuel Vadot		pinctrl-single,pins = <
332f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3)		/* gpmc_nwp.gpio_54 */
333f126890aSEmmanuel Vadot		>;
334f126890aSEmmanuel Vadot	};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot	/* wl12xx GPIO inputs and SDIO pins */
337f126890aSEmmanuel Vadot	wl12xx_pins: wl12xx-pins {
338f126890aSEmmanuel Vadot		pinctrl-single,pins = <
339f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3)		/* gpmc_ncs3.gpio_53 */
340f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x148, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc5_clk.sdmmc5_clk */
341f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x14a, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc5_cmd.sdmmc5_cmd */
342f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x14c, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc5_dat0.sdmmc5_dat0 */
343f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x14e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc5_dat1.sdmmc5_dat1 */
344f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x150, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc5_dat2.sdmmc5_dat2 */
345f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x152, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc5_dat3.sdmmc5_dat3 */
346f126890aSEmmanuel Vadot		>;
347f126890aSEmmanuel Vadot	};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot	/* gpio_48 for ENET_ENABLE */
350f126890aSEmmanuel Vadot	enet_enable_gpio: enet-enable-gpio-pins {
351f126890aSEmmanuel Vadot		pinctrl-single,pins = <
352f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x070, PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* gpmc_a24.gpio_48 */
353f126890aSEmmanuel Vadot		>;
354f126890aSEmmanuel Vadot	};
355f126890aSEmmanuel Vadot
356f126890aSEmmanuel Vadot	ks8851_pins: ks8851-pins {
357f126890aSEmmanuel Vadot		pinctrl-single,pins = <
358f126890aSEmmanuel Vadot			/* ENET_INT */
359f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x054, PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ad10.gpio_34 */
360f126890aSEmmanuel Vadot			/*
361f126890aSEmmanuel Vadot			 * Misterious pin which makes the ethernet working
362f126890aSEmmanuel Vadot			 * The legacy board file requested this pin on boot
363f126890aSEmmanuel Vadot			 * (ETH_KS8851_QUART) and set it to high, similarly to
364f126890aSEmmanuel Vadot			 * the ENET_ENABLE pin.
365f126890aSEmmanuel Vadot			 * We could use gpio-hog to keep it high, but let's use
366f126890aSEmmanuel Vadot			 * it as a reset GPIO for ks8851.
367f126890aSEmmanuel Vadot			 */
368f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x13a, PIN_OUTPUT_PULLUP | MUX_MODE3)	/* mcspi1_cs1.gpio_138 */
369f126890aSEmmanuel Vadot		>;
370f126890aSEmmanuel Vadot	};
371f126890aSEmmanuel Vadot};
372f126890aSEmmanuel Vadot
373f126890aSEmmanuel Vadot&i2c1 {
374f126890aSEmmanuel Vadot	pinctrl-names = "default";
375f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c1_pins>;
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot	clock-frequency = <400000>;
378f126890aSEmmanuel Vadot
379f126890aSEmmanuel Vadot	twl: twl@48 {
380f126890aSEmmanuel Vadot		reg = <0x48>;
381f126890aSEmmanuel Vadot		/* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
382f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
383f126890aSEmmanuel Vadot	};
384f126890aSEmmanuel Vadot
385f126890aSEmmanuel Vadot	twl6040: twl@4b {
386f126890aSEmmanuel Vadot		compatible = "ti,twl6040";
387f126890aSEmmanuel Vadot		#clock-cells = <0>;
388f126890aSEmmanuel Vadot		reg = <0x4b>;
389f126890aSEmmanuel Vadot
390f126890aSEmmanuel Vadot		pinctrl-names = "default";
391f126890aSEmmanuel Vadot		pinctrl-0 = <&twl6040_pins>;
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot		/* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
394f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
395f126890aSEmmanuel Vadot		ti,audpwron-gpio = <&gpio4 31 GPIO_ACTIVE_HIGH>;  /* gpio line 127 */
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot		vio-supply = <&v1v8>;
398f126890aSEmmanuel Vadot		v2v1-supply = <&v2v1>;
399f126890aSEmmanuel Vadot		enable-active-high;
400f126890aSEmmanuel Vadot
401f126890aSEmmanuel Vadot		/* regulators for vibra motor */
402f126890aSEmmanuel Vadot		vddvibl-supply = <&vbat>;
403f126890aSEmmanuel Vadot		vddvibr-supply = <&vbat>;
404f126890aSEmmanuel Vadot
405f126890aSEmmanuel Vadot		vibra {
406f126890aSEmmanuel Vadot			/* Vibra driver, motor resistance parameters */
407f126890aSEmmanuel Vadot			ti,vibldrv-res = <8>;
408f126890aSEmmanuel Vadot			ti,vibrdrv-res = <3>;
409f126890aSEmmanuel Vadot			ti,viblmotor-res = <10>;
410f126890aSEmmanuel Vadot			ti,vibrmotor-res = <10>;
411f126890aSEmmanuel Vadot		};
412f126890aSEmmanuel Vadot	};
413f126890aSEmmanuel Vadot};
414f126890aSEmmanuel Vadot
415f126890aSEmmanuel Vadot#include "twl6030.dtsi"
416f126890aSEmmanuel Vadot#include "twl6030_omap4.dtsi"
417f126890aSEmmanuel Vadot
418f126890aSEmmanuel Vadot&i2c2 {
419f126890aSEmmanuel Vadot	pinctrl-names = "default";
420f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
421f126890aSEmmanuel Vadot
422f126890aSEmmanuel Vadot	clock-frequency = <400000>;
423f126890aSEmmanuel Vadot};
424f126890aSEmmanuel Vadot
425f126890aSEmmanuel Vadot&i2c3 {
426f126890aSEmmanuel Vadot	pinctrl-names = "default";
427f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c3_pins>;
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot	clock-frequency = <400000>;
430f126890aSEmmanuel Vadot
431f126890aSEmmanuel Vadot	/*
432f126890aSEmmanuel Vadot	 * Temperature Sensor
433f126890aSEmmanuel Vadot	 * https://www.ti.com/lit/ds/symlink/tmp105.pdf
434f126890aSEmmanuel Vadot	 */
435f126890aSEmmanuel Vadot	tmp105@48 {
436f126890aSEmmanuel Vadot		compatible = "ti,tmp105";
437f126890aSEmmanuel Vadot		reg = <0x48>;
438f126890aSEmmanuel Vadot	};
439f126890aSEmmanuel Vadot
440f126890aSEmmanuel Vadot	/*
441f126890aSEmmanuel Vadot	 * Ambient Light Sensor
442*01950c46SEmmanuel Vadot	 * https://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf (defunct)
443f126890aSEmmanuel Vadot	 */
444f126890aSEmmanuel Vadot	bh1780@29 {
445f126890aSEmmanuel Vadot		compatible = "rohm,bh1780";
446f126890aSEmmanuel Vadot		reg = <0x29>;
447f126890aSEmmanuel Vadot	};
448f126890aSEmmanuel Vadot};
449f126890aSEmmanuel Vadot
450f126890aSEmmanuel Vadot&i2c4 {
451f126890aSEmmanuel Vadot	pinctrl-names = "default";
452f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c4_pins>;
453f126890aSEmmanuel Vadot
454f126890aSEmmanuel Vadot	clock-frequency = <400000>;
455f126890aSEmmanuel Vadot
456f126890aSEmmanuel Vadot	/*
457f126890aSEmmanuel Vadot	 * 3-Axis Digital Compass
458f126890aSEmmanuel Vadot	 * https://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
459f126890aSEmmanuel Vadot	 */
460f126890aSEmmanuel Vadot	hmc5843@1e {
461f126890aSEmmanuel Vadot		compatible = "honeywell,hmc5843";
462f126890aSEmmanuel Vadot		reg = <0x1e>;
463f126890aSEmmanuel Vadot	};
464f126890aSEmmanuel Vadot};
465f126890aSEmmanuel Vadot
466f126890aSEmmanuel Vadot&mcspi1 {
467f126890aSEmmanuel Vadot	pinctrl-names = "default";
468f126890aSEmmanuel Vadot	pinctrl-0 = <&mcspi1_pins>;
469f126890aSEmmanuel Vadot
470f126890aSEmmanuel Vadot	eth@0 {
471f126890aSEmmanuel Vadot		pinctrl-names = "default";
472f126890aSEmmanuel Vadot		pinctrl-0 = <&ks8851_pins>;
473f126890aSEmmanuel Vadot
474f126890aSEmmanuel Vadot		compatible = "ks8851";
475f126890aSEmmanuel Vadot		spi-max-frequency = <24000000>;
476f126890aSEmmanuel Vadot		reg = <0>;
477f126890aSEmmanuel Vadot		interrupt-parent = <&gpio2>;
478f126890aSEmmanuel Vadot		interrupts = <2 IRQ_TYPE_LEVEL_LOW>; /* gpio line 34 */
479f126890aSEmmanuel Vadot		vdd-supply = <&vdd_eth>;
480f126890aSEmmanuel Vadot		reset-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
481f126890aSEmmanuel Vadot	};
482f126890aSEmmanuel Vadot};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot&mmc1 {
485f126890aSEmmanuel Vadot	vmmc-supply = <&vmmc>;
486f126890aSEmmanuel Vadot	bus-width = <8>;
487f126890aSEmmanuel Vadot};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot&mmc2 {
490f126890aSEmmanuel Vadot	vmmc-supply = <&vaux1>;
491f126890aSEmmanuel Vadot	bus-width = <8>;
492f126890aSEmmanuel Vadot	ti,non-removable;
493f126890aSEmmanuel Vadot};
494f126890aSEmmanuel Vadot
495f126890aSEmmanuel Vadot&mmc3 {
496f126890aSEmmanuel Vadot	status = "disabled";
497f126890aSEmmanuel Vadot};
498f126890aSEmmanuel Vadot
499f126890aSEmmanuel Vadot&mmc4 {
500f126890aSEmmanuel Vadot	status = "disabled";
501f126890aSEmmanuel Vadot};
502f126890aSEmmanuel Vadot
503f126890aSEmmanuel Vadot&mmc5 {
504f126890aSEmmanuel Vadot	pinctrl-names = "default";
505f126890aSEmmanuel Vadot	pinctrl-0 = <&wl12xx_pins>;
506f126890aSEmmanuel Vadot	vmmc-supply = <&wl12xx_vmmc>;
507f126890aSEmmanuel Vadot	non-removable;
508f126890aSEmmanuel Vadot	bus-width = <4>;
509f126890aSEmmanuel Vadot	cap-power-off-card;
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot	#address-cells = <1>;
512f126890aSEmmanuel Vadot	#size-cells = <0>;
513f126890aSEmmanuel Vadot	wlcore: wlcore@2 {
514f126890aSEmmanuel Vadot		compatible = "ti,wl1281";
515f126890aSEmmanuel Vadot		reg = <2>;
516f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
517f126890aSEmmanuel Vadot		interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* gpio 53 */
518f126890aSEmmanuel Vadot		ref-clock-frequency = <26000000>;
519f126890aSEmmanuel Vadot		tcxo-clock-frequency = <26000000>;
520f126890aSEmmanuel Vadot	};
521f126890aSEmmanuel Vadot};
522f126890aSEmmanuel Vadot
523f126890aSEmmanuel Vadot&emif1 {
524f126890aSEmmanuel Vadot	cs1-used;
525f126890aSEmmanuel Vadot	device-handle = <&elpida_ECB240ABACN>;
526f126890aSEmmanuel Vadot};
527f126890aSEmmanuel Vadot
528f126890aSEmmanuel Vadot&emif2 {
529f126890aSEmmanuel Vadot	cs1-used;
530f126890aSEmmanuel Vadot	device-handle = <&elpida_ECB240ABACN>;
531f126890aSEmmanuel Vadot};
532f126890aSEmmanuel Vadot
533f126890aSEmmanuel Vadot&keypad {
534f126890aSEmmanuel Vadot	keypad,num-rows = <8>;
535f126890aSEmmanuel Vadot	keypad,num-columns = <8>;
536f126890aSEmmanuel Vadot	linux,keymap = <0x00000012	/* KEY_E */
537f126890aSEmmanuel Vadot			0x00010013	/* KEY_R */
538f126890aSEmmanuel Vadot			0x00020014	/* KEY_T */
539f126890aSEmmanuel Vadot			0x00030066	/* KEY_HOME */
540f126890aSEmmanuel Vadot			0x0004003f	/* KEY_F5 */
541f126890aSEmmanuel Vadot			0x000500f0	/* KEY_UNKNOWN */
542f126890aSEmmanuel Vadot			0x00060017	/* KEY_I */
543f126890aSEmmanuel Vadot			0x0007002a	/* KEY_LEFTSHIFT */
544f126890aSEmmanuel Vadot			0x01000020	/* KEY_D*/
545f126890aSEmmanuel Vadot			0x01010021	/* KEY_F */
546f126890aSEmmanuel Vadot			0x01020022	/* KEY_G */
547f126890aSEmmanuel Vadot			0x010300e7	/* KEY_SEND */
548f126890aSEmmanuel Vadot			0x01040040	/* KEY_F6 */
549f126890aSEmmanuel Vadot			0x010500f0	/* KEY_UNKNOWN */
550f126890aSEmmanuel Vadot			0x01060025	/* KEY_K */
551f126890aSEmmanuel Vadot			0x0107001c	/* KEY_ENTER */
552f126890aSEmmanuel Vadot			0x0200002d	/* KEY_X */
553f126890aSEmmanuel Vadot			0x0201002e	/* KEY_C */
554f126890aSEmmanuel Vadot			0x0202002f	/* KEY_V */
555f126890aSEmmanuel Vadot			0x0203006b	/* KEY_END */
556f126890aSEmmanuel Vadot			0x02040041	/* KEY_F7 */
557f126890aSEmmanuel Vadot			0x020500f0	/* KEY_UNKNOWN */
558f126890aSEmmanuel Vadot			0x02060034	/* KEY_DOT */
559f126890aSEmmanuel Vadot			0x0207003a	/* KEY_CAPSLOCK */
560f126890aSEmmanuel Vadot			0x0300002c	/* KEY_Z */
561f126890aSEmmanuel Vadot			0x0301004e	/* KEY_KPLUS */
562f126890aSEmmanuel Vadot			0x03020030	/* KEY_B */
563f126890aSEmmanuel Vadot			0x0303003b	/* KEY_F1 */
564f126890aSEmmanuel Vadot			0x03040042	/* KEY_F8 */
565f126890aSEmmanuel Vadot			0x030500f0	/* KEY_UNKNOWN */
566f126890aSEmmanuel Vadot			0x03060018	/* KEY_O */
567f126890aSEmmanuel Vadot			0x03070039	/* KEY_SPACE */
568f126890aSEmmanuel Vadot			0x04000011	/* KEY_W */
569f126890aSEmmanuel Vadot			0x04010015	/* KEY_Y */
570f126890aSEmmanuel Vadot			0x04020016	/* KEY_U */
571f126890aSEmmanuel Vadot			0x0403003c	/* KEY_F2 */
572f126890aSEmmanuel Vadot			0x04040073	/* KEY_VOLUMEUP */
573f126890aSEmmanuel Vadot			0x040500f0	/* KEY_UNKNOWN */
574f126890aSEmmanuel Vadot			0x04060026	/* KEY_L */
575f126890aSEmmanuel Vadot			0x04070069	/* KEY_LEFT */
576f126890aSEmmanuel Vadot			0x0500001f	/* KEY_S */
577f126890aSEmmanuel Vadot			0x05010023	/* KEY_H */
578f126890aSEmmanuel Vadot			0x05020024	/* KEY_J */
579f126890aSEmmanuel Vadot			0x0503003d	/* KEY_F3 */
580f126890aSEmmanuel Vadot			0x05040043	/* KEY_F9 */
581f126890aSEmmanuel Vadot			0x05050072	/* KEY_VOLUMEDOWN */
582f126890aSEmmanuel Vadot			0x05060032	/* KEY_M */
583f126890aSEmmanuel Vadot			0x0507006a	/* KEY_RIGHT */
584f126890aSEmmanuel Vadot			0x06000010	/* KEY_Q */
585f126890aSEmmanuel Vadot			0x0601001e	/* KEY_A */
586f126890aSEmmanuel Vadot			0x06020031	/* KEY_N */
587f126890aSEmmanuel Vadot			0x0603009e	/* KEY_BACK */
588f126890aSEmmanuel Vadot			0x0604000e	/* KEY_BACKSPACE */
589f126890aSEmmanuel Vadot			0x060500f0	/* KEY_UNKNOWN */
590f126890aSEmmanuel Vadot			0x06060019	/* KEY_P */
591f126890aSEmmanuel Vadot			0x06070067	/* KEY_UP */
592f126890aSEmmanuel Vadot			0x07000094	/* KEY_PROG1 */
593f126890aSEmmanuel Vadot			0x07010095	/* KEY_PROG2 */
594f126890aSEmmanuel Vadot			0x070200ca	/* KEY_PROG3 */
595f126890aSEmmanuel Vadot			0x070300cb	/* KEY_PROG4 */
596f126890aSEmmanuel Vadot			0x0704003e	/* KEY_F4 */
597f126890aSEmmanuel Vadot			0x070500f0	/* KEY_UNKNOWN */
598f126890aSEmmanuel Vadot			0x07060160	/* KEY_OK */
599f126890aSEmmanuel Vadot			0x0707006c>;	/* KEY_DOWN */
600f126890aSEmmanuel Vadot	linux,input-no-autorepeat;
601f126890aSEmmanuel Vadot};
602f126890aSEmmanuel Vadot
603f126890aSEmmanuel Vadot&uart2 {
604f126890aSEmmanuel Vadot	interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
605f126890aSEmmanuel Vadot			       &omap4_pmx_core OMAP4_UART2_RX>;
606f126890aSEmmanuel Vadot	pinctrl-names = "default";
607f126890aSEmmanuel Vadot	pinctrl-0 = <&uart2_pins>;
608f126890aSEmmanuel Vadot};
609f126890aSEmmanuel Vadot
610f126890aSEmmanuel Vadot&uart3 {
611f126890aSEmmanuel Vadot	interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
612f126890aSEmmanuel Vadot			       &omap4_pmx_core OMAP4_UART3_RX>;
613f126890aSEmmanuel Vadot	pinctrl-names = "default";
614f126890aSEmmanuel Vadot	pinctrl-0 = <&uart3_pins>;
615f126890aSEmmanuel Vadot};
616f126890aSEmmanuel Vadot
617f126890aSEmmanuel Vadot&uart4 {
618f126890aSEmmanuel Vadot	interrupts-extended = <&wakeupgen GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH
619f126890aSEmmanuel Vadot			       &omap4_pmx_core OMAP4_UART4_RX>;
620f126890aSEmmanuel Vadot	pinctrl-names = "default";
621f126890aSEmmanuel Vadot	pinctrl-0 = <&uart4_pins>;
622f126890aSEmmanuel Vadot};
623f126890aSEmmanuel Vadot
624f126890aSEmmanuel Vadot&mcbsp1 {
625f126890aSEmmanuel Vadot	pinctrl-names = "default";
626f126890aSEmmanuel Vadot	pinctrl-0 = <&mcbsp1_pins>;
627f126890aSEmmanuel Vadot	status = "okay";
628f126890aSEmmanuel Vadot};
629f126890aSEmmanuel Vadot
630f126890aSEmmanuel Vadot&mcbsp2 {
631f126890aSEmmanuel Vadot	pinctrl-names = "default";
632f126890aSEmmanuel Vadot	pinctrl-0 = <&mcbsp2_pins>;
633f126890aSEmmanuel Vadot	status = "okay";
634f126890aSEmmanuel Vadot};
635f126890aSEmmanuel Vadot
636f126890aSEmmanuel Vadot&dmic {
637f126890aSEmmanuel Vadot	pinctrl-names = "default";
638f126890aSEmmanuel Vadot	pinctrl-0 = <&dmic_pins>;
639f126890aSEmmanuel Vadot	status = "okay";
640f126890aSEmmanuel Vadot};
641f126890aSEmmanuel Vadot
642f126890aSEmmanuel Vadot&twl_usb_comparator {
643f126890aSEmmanuel Vadot	usb-supply = <&vusb>;
644f126890aSEmmanuel Vadot};
645f126890aSEmmanuel Vadot
646f126890aSEmmanuel Vadot&usb_otg_hs {
647f126890aSEmmanuel Vadot	interface-type = <1>;
648f126890aSEmmanuel Vadot	mode = <3>;
649f126890aSEmmanuel Vadot	power = <50>;
650f126890aSEmmanuel Vadot};
651f126890aSEmmanuel Vadot
652f126890aSEmmanuel Vadot&dss {
653f126890aSEmmanuel Vadot	status = "okay";
654f126890aSEmmanuel Vadot};
655f126890aSEmmanuel Vadot
656f126890aSEmmanuel Vadot&dsi1 {
657f126890aSEmmanuel Vadot	status = "okay";
658f126890aSEmmanuel Vadot	vdd-supply = <&vcxio>;
659f126890aSEmmanuel Vadot
660f126890aSEmmanuel Vadot	port {
661f126890aSEmmanuel Vadot		dsi1_out_ep: endpoint {
662f126890aSEmmanuel Vadot			remote-endpoint = <&lcd0_in>;
663f126890aSEmmanuel Vadot			lanes = <0 1 2 3 4 5>;
664f126890aSEmmanuel Vadot		};
665f126890aSEmmanuel Vadot	};
666f126890aSEmmanuel Vadot
667f126890aSEmmanuel Vadot	lcd0: panel@0 {
668f126890aSEmmanuel Vadot		compatible = "tpo,taal", "panel-dsi-cm";
669f126890aSEmmanuel Vadot		reg = <0>;
670f126890aSEmmanuel Vadot		label = "lcd0";
671f126890aSEmmanuel Vadot
672f126890aSEmmanuel Vadot		reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;	/* 102 */
673f126890aSEmmanuel Vadot
674f126890aSEmmanuel Vadot		port {
675f126890aSEmmanuel Vadot			lcd0_in: endpoint {
676f126890aSEmmanuel Vadot				remote-endpoint = <&dsi1_out_ep>;
677f126890aSEmmanuel Vadot			};
678f126890aSEmmanuel Vadot		};
679f126890aSEmmanuel Vadot	};
680f126890aSEmmanuel Vadot};
681f126890aSEmmanuel Vadot
682f126890aSEmmanuel Vadot&dsi2 {
683f126890aSEmmanuel Vadot	status = "okay";
684f126890aSEmmanuel Vadot	vdd-supply = <&vcxio>;
685f126890aSEmmanuel Vadot
686f126890aSEmmanuel Vadot	port {
687f126890aSEmmanuel Vadot		dsi2_out_ep: endpoint {
688f126890aSEmmanuel Vadot			remote-endpoint = <&lcd1_in>;
689f126890aSEmmanuel Vadot			lanes = <0 1 2 3 4 5>;
690f126890aSEmmanuel Vadot		};
691f126890aSEmmanuel Vadot	};
692f126890aSEmmanuel Vadot
693f126890aSEmmanuel Vadot	lcd1: panel@0 {
694f126890aSEmmanuel Vadot		compatible = "tpo,taal", "panel-dsi-cm";
695f126890aSEmmanuel Vadot		reg = <0>;
696f126890aSEmmanuel Vadot		label = "lcd1";
697f126890aSEmmanuel Vadot
698f126890aSEmmanuel Vadot		reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>;	/* 104 */
699f126890aSEmmanuel Vadot
700f126890aSEmmanuel Vadot		port {
701f126890aSEmmanuel Vadot			lcd1_in: endpoint {
702f126890aSEmmanuel Vadot				remote-endpoint = <&dsi2_out_ep>;
703f126890aSEmmanuel Vadot			};
704f126890aSEmmanuel Vadot		};
705f126890aSEmmanuel Vadot	};
706f126890aSEmmanuel Vadot};
707f126890aSEmmanuel Vadot
708f126890aSEmmanuel Vadot&hdmi {
709f126890aSEmmanuel Vadot	status = "okay";
710f126890aSEmmanuel Vadot	vdda-supply = <&vdac>;
711f126890aSEmmanuel Vadot
712f126890aSEmmanuel Vadot	port {
713f126890aSEmmanuel Vadot		hdmi_out: endpoint {
714f126890aSEmmanuel Vadot			remote-endpoint = <&tpd12s015_in>;
715f126890aSEmmanuel Vadot		};
716f126890aSEmmanuel Vadot	};
717f126890aSEmmanuel Vadot};
718