xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap3-devkit8000-common.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Author: Anil Kumar <anilk4.v@gmail.com>
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "omap34xx.dtsi"
9f126890aSEmmanuel Vadot/ {
10f126890aSEmmanuel Vadot	memory@80000000 {
11f126890aSEmmanuel Vadot		device_type = "memory";
12f126890aSEmmanuel Vadot		reg = <0x80000000 0x10000000>;	/* 256 MB */
13f126890aSEmmanuel Vadot	};
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	leds {
16f126890aSEmmanuel Vadot		compatible = "gpio-leds";
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot		led-heartbeat {
19f126890aSEmmanuel Vadot			label = "devkit8000::led1";
20f126890aSEmmanuel Vadot			gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>;	/* 186 -> LED1 */
21f126890aSEmmanuel Vadot			default-state = "on";
22f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
23f126890aSEmmanuel Vadot		};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot		led-mmc {
26f126890aSEmmanuel Vadot			label = "devkit8000::led2";
27f126890aSEmmanuel Vadot			gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;	/* 163 -> LED2 */
28f126890aSEmmanuel Vadot			default-state = "on";
29f126890aSEmmanuel Vadot			linux,default-trigger = "none";
30f126890aSEmmanuel Vadot		};
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot		led-usr {
33f126890aSEmmanuel Vadot			label = "devkit8000::led3";
34f126890aSEmmanuel Vadot			gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;	/* 164 -> LED3 */
35f126890aSEmmanuel Vadot			default-state = "on";
36f126890aSEmmanuel Vadot			linux,default-trigger = "usr";
37f126890aSEmmanuel Vadot		};
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot		led-pmu-stat {
40f126890aSEmmanuel Vadot			label = "devkit8000::pmu_stat";
41f126890aSEmmanuel Vadot			gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
42f126890aSEmmanuel Vadot		};
43f126890aSEmmanuel Vadot	};
44f126890aSEmmanuel Vadot
45f126890aSEmmanuel Vadot	sound {
46f126890aSEmmanuel Vadot		compatible = "ti,omap-twl4030";
47f126890aSEmmanuel Vadot		ti,model = "devkit8000";
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot		ti,mcbsp = <&mcbsp2>;
50f126890aSEmmanuel Vadot		ti,audio-routing =
51f126890aSEmmanuel Vadot			"Ext Spk", "PREDRIVEL",
52f126890aSEmmanuel Vadot			"Ext Spk", "PREDRIVER",
53f126890aSEmmanuel Vadot			"MAINMIC", "Main Mic",
54f126890aSEmmanuel Vadot			"Main Mic", "Mic Bias 1";
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	gpio_keys {
58f126890aSEmmanuel Vadot		compatible = "gpio-keys";
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot		user {
61f126890aSEmmanuel Vadot			label = "user";
62f126890aSEmmanuel Vadot			gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
63f126890aSEmmanuel Vadot			linux,code = <BTN_EXTRA>;
64f126890aSEmmanuel Vadot			wakeup-source;
65f126890aSEmmanuel Vadot		};
66f126890aSEmmanuel Vadot	};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot	tfp410: encoder0 {
69f126890aSEmmanuel Vadot		compatible = "ti,tfp410";
70f126890aSEmmanuel Vadot		powerdown-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>;
71f126890aSEmmanuel Vadot
72f126890aSEmmanuel Vadot		ports {
73f126890aSEmmanuel Vadot			#address-cells = <1>;
74f126890aSEmmanuel Vadot			#size-cells = <0>;
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot			port@0 {
77f126890aSEmmanuel Vadot				reg = <0>;
78f126890aSEmmanuel Vadot
79f126890aSEmmanuel Vadot				tfp410_in: endpoint {
80f126890aSEmmanuel Vadot					remote-endpoint = <&dpi_dvi_out>;
81f126890aSEmmanuel Vadot				};
82f126890aSEmmanuel Vadot			};
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot			port@1 {
85f126890aSEmmanuel Vadot				reg = <1>;
86f126890aSEmmanuel Vadot
87f126890aSEmmanuel Vadot				tfp410_out: endpoint {
88f126890aSEmmanuel Vadot					remote-endpoint = <&dvi_connector_in>;
89f126890aSEmmanuel Vadot				};
90f126890aSEmmanuel Vadot			};
91f126890aSEmmanuel Vadot		};
92f126890aSEmmanuel Vadot	};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot	dvi0: connector0 {
95f126890aSEmmanuel Vadot		compatible = "dvi-connector";
96f126890aSEmmanuel Vadot		label = "dvi";
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot		digital;
99f126890aSEmmanuel Vadot
100f126890aSEmmanuel Vadot		ddc-i2c-bus = <&i2c2>;
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot		port {
103f126890aSEmmanuel Vadot			dvi_connector_in: endpoint {
104f126890aSEmmanuel Vadot				remote-endpoint = <&tfp410_out>;
105f126890aSEmmanuel Vadot			};
106f126890aSEmmanuel Vadot		};
107f126890aSEmmanuel Vadot	};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot	tv0: connector1 {
110f126890aSEmmanuel Vadot		compatible = "svideo-connector";
111f126890aSEmmanuel Vadot		label = "tv";
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot		port {
114f126890aSEmmanuel Vadot			tv_connector_in: endpoint {
115f126890aSEmmanuel Vadot				remote-endpoint = <&venc_out>;
116f126890aSEmmanuel Vadot			};
117f126890aSEmmanuel Vadot		};
118f126890aSEmmanuel Vadot	};
119f126890aSEmmanuel Vadot};
120f126890aSEmmanuel Vadot
121f126890aSEmmanuel Vadot&i2c1 {
122f126890aSEmmanuel Vadot	clock-frequency = <2600000>;
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot	twl: twl@48 {
125f126890aSEmmanuel Vadot		reg = <0x48>;
126f126890aSEmmanuel Vadot		interrupts = <7>;	/* SYS_NIRQ cascaded to intc */
127f126890aSEmmanuel Vadot
128f126890aSEmmanuel Vadot		twl_audio: audio {
129f126890aSEmmanuel Vadot			compatible = "ti,twl4030-audio";
130f126890aSEmmanuel Vadot			codec {
131f126890aSEmmanuel Vadot			};
132f126890aSEmmanuel Vadot		};
133f126890aSEmmanuel Vadot	};
134f126890aSEmmanuel Vadot};
135f126890aSEmmanuel Vadot
136f126890aSEmmanuel Vadot&i2c2 {
137f126890aSEmmanuel Vadot	clock-frequency = <400000>;
138f126890aSEmmanuel Vadot};
139f126890aSEmmanuel Vadot
140f126890aSEmmanuel Vadot&i2c3 {
141f126890aSEmmanuel Vadot	status = "disabled";
142f126890aSEmmanuel Vadot};
143f126890aSEmmanuel Vadot
144f126890aSEmmanuel Vadot#include "twl4030.dtsi"
145f126890aSEmmanuel Vadot#include "twl4030_omap3.dtsi"
146f126890aSEmmanuel Vadot
147f126890aSEmmanuel Vadot&mmc1 {
148f126890aSEmmanuel Vadot	vmmc-supply = <&vmmc1>;
149f126890aSEmmanuel Vadot	vqmmc-supply = <&vsim>;
150f126890aSEmmanuel Vadot	bus-width = <8>;
151f126890aSEmmanuel Vadot};
152f126890aSEmmanuel Vadot
153f126890aSEmmanuel Vadot&mmc2 {
154f126890aSEmmanuel Vadot	status = "disabled";
155f126890aSEmmanuel Vadot};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot&mmc3 {
158f126890aSEmmanuel Vadot	status = "disabled";
159f126890aSEmmanuel Vadot};
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot/* Unusable as clockevent because if unreliable oscillator, allow to idle */
162f126890aSEmmanuel Vadot&timer1_target {
163f126890aSEmmanuel Vadot	/delete-property/ti,no-reset-on-init;
164f126890aSEmmanuel Vadot	/delete-property/ti,no-idle;
165f126890aSEmmanuel Vadot	timer@0 {
166f126890aSEmmanuel Vadot		/delete-property/ti,timer-alwon;
167f126890aSEmmanuel Vadot	};
168f126890aSEmmanuel Vadot};
169f126890aSEmmanuel Vadot
170f126890aSEmmanuel Vadot/* Preferred timer for clockevent */
171f126890aSEmmanuel Vadot&timer12_target {
172f126890aSEmmanuel Vadot	ti,no-reset-on-init;
173f126890aSEmmanuel Vadot	ti,no-idle;
174f126890aSEmmanuel Vadot	timer@0 {
175f126890aSEmmanuel Vadot		/* Always clocked by secure_32k_fck */
176f126890aSEmmanuel Vadot	};
177f126890aSEmmanuel Vadot};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot&twl_gpio {
180f126890aSEmmanuel Vadot	ti,use-leds;
181f126890aSEmmanuel Vadot	/*
182f126890aSEmmanuel Vadot	 * pulldowns:
183f126890aSEmmanuel Vadot	 * BIT(1), BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
184f126890aSEmmanuel Vadot	 * BIT(15), BIT(16), BIT(17)
185f126890aSEmmanuel Vadot	 */
186f126890aSEmmanuel Vadot	ti,pulldowns = <0x03a1c6>;
187f126890aSEmmanuel Vadot};
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot&twl_keypad {
190f126890aSEmmanuel Vadot	linux,keymap = <MATRIX_KEY(0, 0, KEY_1)
191f126890aSEmmanuel Vadot			MATRIX_KEY(1, 0, KEY_2)
192f126890aSEmmanuel Vadot			MATRIX_KEY(2, 0, KEY_3)
193f126890aSEmmanuel Vadot			MATRIX_KEY(0, 1, KEY_4)
194f126890aSEmmanuel Vadot			MATRIX_KEY(1, 1, KEY_5)
195f126890aSEmmanuel Vadot			MATRIX_KEY(2, 1, KEY_6)
196f126890aSEmmanuel Vadot			MATRIX_KEY(3, 1, KEY_F5)
197f126890aSEmmanuel Vadot			MATRIX_KEY(0, 2, KEY_7)
198f126890aSEmmanuel Vadot			MATRIX_KEY(1, 2, KEY_8)
199f126890aSEmmanuel Vadot			MATRIX_KEY(2, 2, KEY_9)
200f126890aSEmmanuel Vadot			MATRIX_KEY(3, 2, KEY_F6)
201f126890aSEmmanuel Vadot			MATRIX_KEY(0, 3, KEY_F7)
202f126890aSEmmanuel Vadot			MATRIX_KEY(1, 3, KEY_0)
203f126890aSEmmanuel Vadot			MATRIX_KEY(2, 3, KEY_F8)
204f126890aSEmmanuel Vadot			MATRIX_KEY(4, 5, KEY_RESERVED)
205f126890aSEmmanuel Vadot			MATRIX_KEY(4, 4, KEY_VOLUMEUP)
206f126890aSEmmanuel Vadot			MATRIX_KEY(5, 5, KEY_VOLUMEDOWN)
207f126890aSEmmanuel Vadot			>;
208f126890aSEmmanuel Vadot};
209f126890aSEmmanuel Vadot
210f126890aSEmmanuel Vadot&wdt2 {
211f126890aSEmmanuel Vadot	status = "disabled";
212f126890aSEmmanuel Vadot};
213f126890aSEmmanuel Vadot
214f126890aSEmmanuel Vadot&mcbsp2 {
215f126890aSEmmanuel Vadot	status = "okay";
216f126890aSEmmanuel Vadot};
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot&gpmc {
219f126890aSEmmanuel Vadot	ranges = <0 0 0x30000000 0x1000000	/* CS0: 16MB for NAND */
220f126890aSEmmanuel Vadot		  6 0 0x2c000000 0x1000000>;	/* CS6: 16MB for DM9000 */
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot	nand@0,0 {
223f126890aSEmmanuel Vadot		compatible = "ti,omap2-nand";
224f126890aSEmmanuel Vadot		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
225f126890aSEmmanuel Vadot		interrupt-parent = <&gpmc>;
226f126890aSEmmanuel Vadot		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
227f126890aSEmmanuel Vadot			     <1 IRQ_TYPE_NONE>;	/* termcount */
228f126890aSEmmanuel Vadot		nand-bus-width = <16>;
229f126890aSEmmanuel Vadot		gpmc,device-width = <2>;
230f126890aSEmmanuel Vadot		ti,nand-ecc-opt = "sw";
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot		gpmc,sync-clk-ps = <0>;
233f126890aSEmmanuel Vadot		gpmc,cs-on-ns = <0>;
234f126890aSEmmanuel Vadot		gpmc,cs-rd-off-ns = <44>;
235f126890aSEmmanuel Vadot		gpmc,cs-wr-off-ns = <44>;
236f126890aSEmmanuel Vadot		gpmc,adv-on-ns = <6>;
237f126890aSEmmanuel Vadot		gpmc,adv-rd-off-ns = <34>;
238f126890aSEmmanuel Vadot		gpmc,adv-wr-off-ns = <44>;
239f126890aSEmmanuel Vadot		gpmc,we-off-ns = <40>;
240f126890aSEmmanuel Vadot		gpmc,oe-off-ns = <54>;
241f126890aSEmmanuel Vadot		gpmc,access-ns = <64>;
242f126890aSEmmanuel Vadot		gpmc,rd-cycle-ns = <82>;
243f126890aSEmmanuel Vadot		gpmc,wr-cycle-ns = <82>;
244f126890aSEmmanuel Vadot		gpmc,wr-access-ns = <40>;
245f126890aSEmmanuel Vadot		gpmc,wr-data-mux-bus-ns = <0>;
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot		#address-cells = <1>;
248f126890aSEmmanuel Vadot		#size-cells = <1>;
249f126890aSEmmanuel Vadot
250f126890aSEmmanuel Vadot		x-loader@0 {
251f126890aSEmmanuel Vadot			label = "X-Loader";
252f126890aSEmmanuel Vadot			reg = <0 0x80000>;
253f126890aSEmmanuel Vadot		};
254f126890aSEmmanuel Vadot
255f126890aSEmmanuel Vadot		bootloaders@80000 {
256f126890aSEmmanuel Vadot			label = "U-Boot";
257f126890aSEmmanuel Vadot			reg = <0x80000 0x1e0000>;
258f126890aSEmmanuel Vadot		};
259f126890aSEmmanuel Vadot
260f126890aSEmmanuel Vadot		bootloaders_env@260000 {
261f126890aSEmmanuel Vadot			label = "U-Boot Env";
262f126890aSEmmanuel Vadot			reg = <0x260000 0x20000>;
263f126890aSEmmanuel Vadot		};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot		kernel@280000 {
266f126890aSEmmanuel Vadot			label = "Kernel";
267f126890aSEmmanuel Vadot			reg = <0x280000 0x400000>;
268f126890aSEmmanuel Vadot		};
269f126890aSEmmanuel Vadot
270f126890aSEmmanuel Vadot		filesystem@680000 {
271f126890aSEmmanuel Vadot			label = "File System";
272f126890aSEmmanuel Vadot			reg = <0x680000 0xf980000>;
273f126890aSEmmanuel Vadot		};
274f126890aSEmmanuel Vadot	};
275f126890aSEmmanuel Vadot
276f126890aSEmmanuel Vadot	ethernet@6,0 {
277f126890aSEmmanuel Vadot		compatible = "davicom,dm9000";
278*84943d6fSEmmanuel Vadot		reg =  <6 0x000 2>,
279*84943d6fSEmmanuel Vadot		       <6 0x400 2>; /* CS6, offset 0 and 0x400, IO size 2 */
280f126890aSEmmanuel Vadot		bank-width = <2>;
281f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
282f126890aSEmmanuel Vadot		interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
283f126890aSEmmanuel Vadot		davicom,no-eeprom;
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot		gpmc,mux-add-data = <0>;
286f126890aSEmmanuel Vadot		gpmc,device-width = <1>;
287f126890aSEmmanuel Vadot		gpmc,wait-pin = <0>;
288f126890aSEmmanuel Vadot		gpmc,cycle2cycle-samecsen;
289f126890aSEmmanuel Vadot		gpmc,cycle2cycle-diffcsen;
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot		gpmc,cs-on-ns = <6>;
292f126890aSEmmanuel Vadot		gpmc,cs-rd-off-ns = <180>;
293f126890aSEmmanuel Vadot		gpmc,cs-wr-off-ns = <180>;
294f126890aSEmmanuel Vadot		gpmc,adv-on-ns = <0>;
295f126890aSEmmanuel Vadot		gpmc,adv-rd-off-ns = <18>;
296f126890aSEmmanuel Vadot		gpmc,adv-wr-off-ns = <48>;
297f126890aSEmmanuel Vadot		gpmc,oe-on-ns = <54>;
298f126890aSEmmanuel Vadot		gpmc,oe-off-ns = <168>;
299f126890aSEmmanuel Vadot		gpmc,we-on-ns = <54>;
300f126890aSEmmanuel Vadot		gpmc,we-off-ns = <168>;
301f126890aSEmmanuel Vadot		gpmc,rd-cycle-ns = <186>;
302f126890aSEmmanuel Vadot		gpmc,wr-cycle-ns = <186>;
303f126890aSEmmanuel Vadot		gpmc,access-ns = <144>;
304f126890aSEmmanuel Vadot		gpmc,page-burst-access-ns = <24>;
305f126890aSEmmanuel Vadot		gpmc,bus-turnaround-ns = <90>;
306f126890aSEmmanuel Vadot		gpmc,cycle2cycle-delay-ns = <90>;
307f126890aSEmmanuel Vadot		gpmc,wait-monitoring-ns = <0>;
308f126890aSEmmanuel Vadot		gpmc,clk-activation-ns = <0>;
309f126890aSEmmanuel Vadot		gpmc,wr-data-mux-bus-ns = <0>;
310f126890aSEmmanuel Vadot		gpmc,wr-access-ns = <0>;
311f126890aSEmmanuel Vadot	};
312f126890aSEmmanuel Vadot};
313f126890aSEmmanuel Vadot
314f126890aSEmmanuel Vadot&omap3_pmx_core {
315f126890aSEmmanuel Vadot	dss_dpi_pins: dss-dpi-pins {
316f126890aSEmmanuel Vadot		pinctrl-single,pins = <
317f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0)	/* dss_pclk.dss_pclk */
318f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0)	/* dss_hsync.dss_hsync */
319f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0)	/* dss_vsync.dss_vsync */
320f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0)	/* dss_acbias.dss_acbias */
321f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0)	/* dss_data0.dss_data0 */
322f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0)	/* dss_data1.dss_data1 */
323f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0)	/* dss_data2.dss_data2 */
324f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0)	/* dss_data3.dss_data3 */
325f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0)	/* dss_data4.dss_data4 */
326f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0)	/* dss_data5.dss_data5 */
327f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0)	/* dss_data6.dss_data6 */
328f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0)	/* dss_data7.dss_data7 */
329f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0)	/* dss_data8.dss_data8 */
330f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0)	/* dss_data9.dss_data9 */
331f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0)	/* dss_data10.dss_data10 */
332f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0)	/* dss_data11.dss_data11 */
333f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0)	/* dss_data12.dss_data12 */
334f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0)	/* dss_data13.dss_data13 */
335f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0)	/* dss_data14.dss_data14 */
336f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0)	/* dss_data15.dss_data15 */
337f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0)	/* dss_data16.dss_data16 */
338f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0)	/* dss_data17.dss_data17 */
339f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0)	/* dss_data18.dss_data18 */
340f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0)	/* dss_data19.dss_data19 */
341f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0)	/* dss_data20.dss_data20 */
342f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0)	/* dss_data21.dss_data21 */
343f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0)	/* dss_data22.dss_data22 */
344f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)	/* dss_data23.dss_data23 */
345f126890aSEmmanuel Vadot		>;
346f126890aSEmmanuel Vadot	};
347f126890aSEmmanuel Vadot};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot&vpll1 {
350f126890aSEmmanuel Vadot	/* Needed for DSS */
351f126890aSEmmanuel Vadot	regulator-name = "vdds_dsi";
352f126890aSEmmanuel Vadot
353f126890aSEmmanuel Vadot	regulator-min-microvolt = <1800000>;
354f126890aSEmmanuel Vadot	regulator-max-microvolt = <1800000>;
355f126890aSEmmanuel Vadot};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot&dss {
358f126890aSEmmanuel Vadot	status = "okay";
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot	pinctrl-names = "default";
361f126890aSEmmanuel Vadot	pinctrl-0 = <&dss_dpi_pins>;
362f126890aSEmmanuel Vadot
363f126890aSEmmanuel Vadot	vdds_dsi-supply = <&vpll1>;
364f126890aSEmmanuel Vadot	vdda_dac-supply = <&vdac>;
365f126890aSEmmanuel Vadot
366f126890aSEmmanuel Vadot	port {
367f126890aSEmmanuel Vadot		#address-cells = <1>;
368f126890aSEmmanuel Vadot		#size-cells = <0>;
369f126890aSEmmanuel Vadot		dpi_dvi_out: endpoint@0 {
370f126890aSEmmanuel Vadot			reg = <0>;
371f126890aSEmmanuel Vadot			remote-endpoint = <&tfp410_in>;
372f126890aSEmmanuel Vadot			data-lines = <24>;
373f126890aSEmmanuel Vadot		};
374f126890aSEmmanuel Vadot
375f126890aSEmmanuel Vadot		endpoint@1 {
376f126890aSEmmanuel Vadot			reg = <1>;
377f126890aSEmmanuel Vadot		};
378f126890aSEmmanuel Vadot	};
379f126890aSEmmanuel Vadot};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot&venc {
382f126890aSEmmanuel Vadot	status = "okay";
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot	vdda-supply = <&vdac>;
385f126890aSEmmanuel Vadot
386f126890aSEmmanuel Vadot	port {
387f126890aSEmmanuel Vadot		venc_out: endpoint {
388f126890aSEmmanuel Vadot			remote-endpoint = <&tv_connector_in>;
389f126890aSEmmanuel Vadot			ti,channels = <2>;
390f126890aSEmmanuel Vadot		};
391f126890aSEmmanuel Vadot	};
392f126890aSEmmanuel Vadot};
393