xref: /freebsd/sys/contrib/device-tree/src/arm/ti/davinci/da850-evm.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Device Tree for DA850 EVM board
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot/dts-v1/;
8f126890aSEmmanuel Vadot#include "da850.dtsi"
9f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	compatible = "ti,da850-evm", "ti,da850";
13f126890aSEmmanuel Vadot	model = "DA850/AM1808/OMAP-L138 EVM";
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	chosen {
16f126890aSEmmanuel Vadot		stdout-path = &serial2;
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	aliases {
20f126890aSEmmanuel Vadot		serial0 = &serial0;
21f126890aSEmmanuel Vadot		serial1 = &serial1;
22f126890aSEmmanuel Vadot		serial2 = &serial2;
23f126890aSEmmanuel Vadot		ethernet0 = &eth0;
24f126890aSEmmanuel Vadot		spi0 = &spi1;
25f126890aSEmmanuel Vadot	};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot	backlight: backlight-pwm {
28f126890aSEmmanuel Vadot		pinctrl-names = "default";
29f126890aSEmmanuel Vadot		pinctrl-0 = <&ecap2_pins>;
30f126890aSEmmanuel Vadot		power-supply = <&backlight_lcd>;
31f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
32f126890aSEmmanuel Vadot		/*
33f126890aSEmmanuel Vadot		 * The PWM here corresponds to production hardware. The
34f126890aSEmmanuel Vadot		 * schematic needs to be 1015171 (15 March 2010), Rev A
35f126890aSEmmanuel Vadot		 * or newer.
36f126890aSEmmanuel Vadot		 */
37f126890aSEmmanuel Vadot		pwms = <&ecap2 0 50000 0>;
38f126890aSEmmanuel Vadot		brightness-levels = <0 10 20 30 40 50 60 70 80 90 99>;
39f126890aSEmmanuel Vadot		default-brightness-level = <7>;
40f126890aSEmmanuel Vadot	};
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	panel {
43f126890aSEmmanuel Vadot		compatible = "ti,tilcdc,panel";
44f126890aSEmmanuel Vadot		pinctrl-names = "default";
45f126890aSEmmanuel Vadot		pinctrl-0 = <&lcd_pins>;
46f126890aSEmmanuel Vadot		/*
47f126890aSEmmanuel Vadot		 * The vpif and the LCD are mutually exclusive.
48f126890aSEmmanuel Vadot		 * To enable VPIF, change the status below to 'disabled' then
49f126890aSEmmanuel Vadot		 * then change the status of the vpif below to 'okay'
50f126890aSEmmanuel Vadot		 */
51f126890aSEmmanuel Vadot		status = "okay";
52f126890aSEmmanuel Vadot		enable-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>; /* lcd_panel_pwr */
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot		panel-info {
55f126890aSEmmanuel Vadot			ac-bias = <255>;
56f126890aSEmmanuel Vadot			ac-bias-intrpt = <0>;
57f126890aSEmmanuel Vadot			dma-burst-sz = <16>;
58f126890aSEmmanuel Vadot			bpp = <16>;
59f126890aSEmmanuel Vadot			fdd = <0x80>;
60f126890aSEmmanuel Vadot			sync-edge = <0>;
61f126890aSEmmanuel Vadot			sync-ctrl = <1>;
62f126890aSEmmanuel Vadot			raster-order = <0>;
63f126890aSEmmanuel Vadot			fifo-th = <0>;
64f126890aSEmmanuel Vadot		};
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot		display-timings {
67f126890aSEmmanuel Vadot			native-mode = <&timing0>;
68f126890aSEmmanuel Vadot			timing0: 480x272 {
69f126890aSEmmanuel Vadot				clock-frequency = <9000000>;
70f126890aSEmmanuel Vadot				hactive = <480>;
71f126890aSEmmanuel Vadot				vactive = <272>;
72f126890aSEmmanuel Vadot				hfront-porch = <3>;
73f126890aSEmmanuel Vadot				hback-porch = <2>;
74f126890aSEmmanuel Vadot				hsync-len = <42>;
75f126890aSEmmanuel Vadot				vback-porch = <3>;
76f126890aSEmmanuel Vadot				vfront-porch = <4>;
77f126890aSEmmanuel Vadot				vsync-len = <11>;
78f126890aSEmmanuel Vadot				hsync-active = <0>;
79f126890aSEmmanuel Vadot				vsync-active = <0>;
80f126890aSEmmanuel Vadot				de-active = <1>;
81f126890aSEmmanuel Vadot				pixelclk-active = <1>;
82f126890aSEmmanuel Vadot			};
83f126890aSEmmanuel Vadot		};
84f126890aSEmmanuel Vadot	};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot	vbat: fixedregulator0 {
87f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
88f126890aSEmmanuel Vadot		regulator-name = "vbat";
89f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
90f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
91f126890aSEmmanuel Vadot		regulator-boot-on;
92f126890aSEmmanuel Vadot	};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot	baseboard_3v3: fixedregulator-3v3 {
95f126890aSEmmanuel Vadot		/* TPS73701DCQ */
96f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
97f126890aSEmmanuel Vadot		regulator-name = "baseboard_3v3";
98f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
99f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
100f126890aSEmmanuel Vadot		vin-supply = <&vbat>;
101f126890aSEmmanuel Vadot		regulator-always-on;
102f126890aSEmmanuel Vadot		regulator-boot-on;
103f126890aSEmmanuel Vadot	};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot	baseboard_1v8: fixedregulator-1v8 {
106f126890aSEmmanuel Vadot		/* TPS73701DCQ */
107f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
108f126890aSEmmanuel Vadot		regulator-name = "baseboard_1v8";
109f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
110f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
111f126890aSEmmanuel Vadot		vin-supply = <&vbat>;
112f126890aSEmmanuel Vadot		regulator-always-on;
113f126890aSEmmanuel Vadot		regulator-boot-on;
114f126890aSEmmanuel Vadot	};
115f126890aSEmmanuel Vadot
116f126890aSEmmanuel Vadot	backlight_lcd: backlight-regulator {
117f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
118f126890aSEmmanuel Vadot		regulator-name = "lcd_backlight_pwr";
119f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
120f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
121f126890aSEmmanuel Vadot		gpio = <&gpio 47 GPIO_ACTIVE_HIGH>; /* lcd_backlight_pwr */
122f126890aSEmmanuel Vadot		enable-active-high;
123f126890aSEmmanuel Vadot	};
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot	sound {
126f126890aSEmmanuel Vadot		compatible = "simple-audio-card";
127f126890aSEmmanuel Vadot		simple-audio-card,name = "DA850-OMAPL138 EVM";
128f126890aSEmmanuel Vadot		simple-audio-card,widgets =
129f126890aSEmmanuel Vadot			"Line", "Line In",
130f126890aSEmmanuel Vadot			"Line", "Line Out";
131f126890aSEmmanuel Vadot		simple-audio-card,routing =
132f126890aSEmmanuel Vadot			"LINE1L", "Line In",
133f126890aSEmmanuel Vadot			"LINE1R", "Line In",
134f126890aSEmmanuel Vadot			"Line Out", "LLOUT",
135f126890aSEmmanuel Vadot			"Line Out", "RLOUT";
136f126890aSEmmanuel Vadot		simple-audio-card,format = "dsp_b";
137f126890aSEmmanuel Vadot		simple-audio-card,bitclock-master = <&link0_codec>;
138f126890aSEmmanuel Vadot		simple-audio-card,frame-master = <&link0_codec>;
139f126890aSEmmanuel Vadot		simple-audio-card,bitclock-inversion;
140f126890aSEmmanuel Vadot
141f126890aSEmmanuel Vadot		simple-audio-card,cpu {
142f126890aSEmmanuel Vadot			sound-dai = <&mcasp0>;
143f126890aSEmmanuel Vadot			system-clock-frequency = <24576000>;
144f126890aSEmmanuel Vadot		};
145f126890aSEmmanuel Vadot
146f126890aSEmmanuel Vadot		link0_codec: simple-audio-card,codec {
147f126890aSEmmanuel Vadot			sound-dai = <&tlv320aic3106>;
148f126890aSEmmanuel Vadot			system-clock-frequency = <24576000>;
149f126890aSEmmanuel Vadot		};
150f126890aSEmmanuel Vadot	};
151f126890aSEmmanuel Vadot};
152f126890aSEmmanuel Vadot
153f126890aSEmmanuel Vadot&ecap2 {
154f126890aSEmmanuel Vadot	status = "okay";
155f126890aSEmmanuel Vadot};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot&ref_clk {
158f126890aSEmmanuel Vadot	clock-frequency = <24000000>;
159f126890aSEmmanuel Vadot};
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot&pmx_core {
162f126890aSEmmanuel Vadot	status = "okay";
163f126890aSEmmanuel Vadot
164*aa1a8ff2SEmmanuel Vadot	mcasp0_pins: mcasp0-pins {
165f126890aSEmmanuel Vadot		pinctrl-single,bits = <
166f126890aSEmmanuel Vadot			/*
167f126890aSEmmanuel Vadot			 * AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR,
168f126890aSEmmanuel Vadot			 * AFSR, AMUTE
169f126890aSEmmanuel Vadot			 */
170f126890aSEmmanuel Vadot			0x00 0x11111111 0xffffffff
171f126890aSEmmanuel Vadot			/* AXR11, AXR12 */
172f126890aSEmmanuel Vadot			0x04 0x00011000 0x000ff000
173f126890aSEmmanuel Vadot		>;
174f126890aSEmmanuel Vadot	};
175*aa1a8ff2SEmmanuel Vadot	nand_pins: nand-pins {
176f126890aSEmmanuel Vadot		pinctrl-single,bits = <
177f126890aSEmmanuel Vadot			/* EMA_WAIT[0], EMA_OE, EMA_WE, EMA_CS[4], EMA_CS[3] */
178f126890aSEmmanuel Vadot			0x1c 0x10110110  0xf0ff0ff0
179f126890aSEmmanuel Vadot			/*
180f126890aSEmmanuel Vadot			 * EMA_D[0], EMA_D[1], EMA_D[2],
181f126890aSEmmanuel Vadot			 * EMA_D[3], EMA_D[4], EMA_D[5],
182f126890aSEmmanuel Vadot			 * EMA_D[6], EMA_D[7]
183f126890aSEmmanuel Vadot			 */
184f126890aSEmmanuel Vadot			0x24 0x11111111  0xffffffff
185f126890aSEmmanuel Vadot			/* EMA_A[1], EMA_A[2] */
186f126890aSEmmanuel Vadot			0x30 0x01100000  0x0ff00000
187f126890aSEmmanuel Vadot		>;
188f126890aSEmmanuel Vadot	};
189f126890aSEmmanuel Vadot};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot&cpu {
192f126890aSEmmanuel Vadot	cpu-supply = <&vdcdc3_reg>;
193f126890aSEmmanuel Vadot};
194f126890aSEmmanuel Vadot
195f126890aSEmmanuel Vadot/*
196f126890aSEmmanuel Vadot * The standard da850-evm kits and SOM's are 375MHz so enable this operating
197f126890aSEmmanuel Vadot * point by default. Higher frequencies must be enabled for custom boards with
198f126890aSEmmanuel Vadot * other variants of the SoC.
199f126890aSEmmanuel Vadot */
200f126890aSEmmanuel Vadot&opp_375 {
201f126890aSEmmanuel Vadot	status = "okay";
202f126890aSEmmanuel Vadot};
203f126890aSEmmanuel Vadot
204f126890aSEmmanuel Vadot&sata {
205f126890aSEmmanuel Vadot	status = "okay";
206f126890aSEmmanuel Vadot};
207f126890aSEmmanuel Vadot
208f126890aSEmmanuel Vadot&serial0 {
209f126890aSEmmanuel Vadot	status = "okay";
210f126890aSEmmanuel Vadot};
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot&serial1 {
213f126890aSEmmanuel Vadot	status = "okay";
214f126890aSEmmanuel Vadot};
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot&serial2 {
217f126890aSEmmanuel Vadot	status = "okay";
218f126890aSEmmanuel Vadot};
219f126890aSEmmanuel Vadot
220f126890aSEmmanuel Vadot&rtc0 {
221f126890aSEmmanuel Vadot	status = "okay";
222f126890aSEmmanuel Vadot};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot&lcdc {
225f126890aSEmmanuel Vadot	status = "okay";
226f126890aSEmmanuel Vadot};
227f126890aSEmmanuel Vadot
228f126890aSEmmanuel Vadot&i2c0 {
229f126890aSEmmanuel Vadot	status = "okay";
230f126890aSEmmanuel Vadot	clock-frequency = <100000>;
231f126890aSEmmanuel Vadot	pinctrl-names = "default";
232f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c0_pins>;
233f126890aSEmmanuel Vadot
234f126890aSEmmanuel Vadot	tps: tps@48 {
235f126890aSEmmanuel Vadot		reg = <0x48>;
236f126890aSEmmanuel Vadot	};
237f126890aSEmmanuel Vadot	tlv320aic3106: tlv320aic3106@18 {
238f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
239f126890aSEmmanuel Vadot		compatible = "ti,tlv320aic3106";
240f126890aSEmmanuel Vadot		reg = <0x18>;
241f126890aSEmmanuel Vadot		status = "okay";
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot		/* Regulators */
244f126890aSEmmanuel Vadot		IOVDD-supply = <&vdcdc2_reg>;
245f126890aSEmmanuel Vadot		AVDD-supply = <&baseboard_3v3>;
246f126890aSEmmanuel Vadot		DRVDD-supply = <&baseboard_3v3>;
247f126890aSEmmanuel Vadot		DVDD-supply = <&baseboard_1v8>;
248f126890aSEmmanuel Vadot	};
249f126890aSEmmanuel Vadot	tca6416: gpio@20 {
250f126890aSEmmanuel Vadot		compatible = "ti,tca6416";
251f126890aSEmmanuel Vadot		reg = <0x20>;
252f126890aSEmmanuel Vadot		gpio-controller;
253f126890aSEmmanuel Vadot		#gpio-cells = <2>;
254f126890aSEmmanuel Vadot	};
255f126890aSEmmanuel Vadot	tca6416_bb: gpio@21 {
256f126890aSEmmanuel Vadot		compatible = "ti,tca6416";
257f126890aSEmmanuel Vadot		reg = <0x21>;
258f126890aSEmmanuel Vadot		gpio-controller;
259f126890aSEmmanuel Vadot		#gpio-cells = <2>;
260f126890aSEmmanuel Vadot	};
261f126890aSEmmanuel Vadot};
262f126890aSEmmanuel Vadot
263f126890aSEmmanuel Vadot&wdt {
264f126890aSEmmanuel Vadot	status = "okay";
265f126890aSEmmanuel Vadot};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot&mmc0 {
268f126890aSEmmanuel Vadot	max-frequency = <50000000>;
269f126890aSEmmanuel Vadot	bus-width = <4>;
270f126890aSEmmanuel Vadot	status = "okay";
271f126890aSEmmanuel Vadot	pinctrl-names = "default";
272f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc0_pins>;
273f126890aSEmmanuel Vadot	cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>;
274f126890aSEmmanuel Vadot	wp-gpios = <&gpio 65 GPIO_ACTIVE_HIGH>;
275f126890aSEmmanuel Vadot};
276f126890aSEmmanuel Vadot
277f126890aSEmmanuel Vadot&spi1 {
278f126890aSEmmanuel Vadot	status = "okay";
279f126890aSEmmanuel Vadot	pinctrl-names = "default";
280f126890aSEmmanuel Vadot	pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
281f126890aSEmmanuel Vadot	flash: flash@0 {
282f126890aSEmmanuel Vadot		#address-cells = <1>;
283f126890aSEmmanuel Vadot		#size-cells = <1>;
284f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
285f126890aSEmmanuel Vadot		spi-max-frequency = <30000000>;
286f126890aSEmmanuel Vadot		m25p,fast-read;
287f126890aSEmmanuel Vadot		reg = <0>;
288f126890aSEmmanuel Vadot		partition@0 {
289f126890aSEmmanuel Vadot			label = "U-Boot-SPL";
290f126890aSEmmanuel Vadot			reg = <0x00000000 0x00010000>;
291f126890aSEmmanuel Vadot			read-only;
292f126890aSEmmanuel Vadot		};
293f126890aSEmmanuel Vadot		partition@1 {
294f126890aSEmmanuel Vadot			label = "U-Boot";
295f126890aSEmmanuel Vadot			reg = <0x00010000 0x00080000>;
296f126890aSEmmanuel Vadot			read-only;
297f126890aSEmmanuel Vadot		};
298f126890aSEmmanuel Vadot		partition@2 {
299f126890aSEmmanuel Vadot			label = "U-Boot-Env";
300f126890aSEmmanuel Vadot			reg = <0x00090000 0x00010000>;
301f126890aSEmmanuel Vadot			read-only;
302f126890aSEmmanuel Vadot		};
303f126890aSEmmanuel Vadot		partition@3 {
304f126890aSEmmanuel Vadot			label = "Kernel";
305f126890aSEmmanuel Vadot			reg = <0x000a0000 0x00280000>;
306f126890aSEmmanuel Vadot		};
307f126890aSEmmanuel Vadot		partition@4 {
308f126890aSEmmanuel Vadot			label = "Filesystem";
309f126890aSEmmanuel Vadot			reg = <0x00320000 0x00400000>;
310f126890aSEmmanuel Vadot		};
311f126890aSEmmanuel Vadot		partition@5 {
312f126890aSEmmanuel Vadot			label = "MAC-Address";
313f126890aSEmmanuel Vadot			reg = <0x007f0000 0x00010000>;
314f126890aSEmmanuel Vadot			read-only;
315f126890aSEmmanuel Vadot		};
316f126890aSEmmanuel Vadot	};
317f126890aSEmmanuel Vadot};
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot&mdio {
320f126890aSEmmanuel Vadot	status = "okay";
321f126890aSEmmanuel Vadot	pinctrl-names = "default";
322f126890aSEmmanuel Vadot	pinctrl-0 = <&mdio_pins>;
323f126890aSEmmanuel Vadot	bus_freq = <2200000>;
324f126890aSEmmanuel Vadot};
325f126890aSEmmanuel Vadot
326f126890aSEmmanuel Vadot&eth0 {
327f126890aSEmmanuel Vadot	status = "okay";
328f126890aSEmmanuel Vadot	pinctrl-names = "default";
329f126890aSEmmanuel Vadot	pinctrl-0 = <&mii_pins>;
330f126890aSEmmanuel Vadot};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot&gpio {
333f126890aSEmmanuel Vadot	status = "okay";
334f126890aSEmmanuel Vadot};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot/include/ "../../tps6507x.dtsi"
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot&tps {
339f126890aSEmmanuel Vadot	vdcdc1_2-supply = <&vbat>;
340f126890aSEmmanuel Vadot	vdcdc3-supply = <&vbat>;
341f126890aSEmmanuel Vadot	vldo1_2-supply = <&vbat>;
342f126890aSEmmanuel Vadot
343f126890aSEmmanuel Vadot	regulators {
344f126890aSEmmanuel Vadot		vdcdc1_reg: regulator@0 {
345f126890aSEmmanuel Vadot			regulator-name = "VDCDC1_3.3V";
346f126890aSEmmanuel Vadot			regulator-min-microvolt = <3150000>;
347f126890aSEmmanuel Vadot			regulator-max-microvolt = <3450000>;
348f126890aSEmmanuel Vadot			regulator-always-on;
349f126890aSEmmanuel Vadot			regulator-boot-on;
350f126890aSEmmanuel Vadot		};
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot		vdcdc2_reg: regulator@1 {
353f126890aSEmmanuel Vadot			regulator-name = "VDCDC2_3.3V";
354f126890aSEmmanuel Vadot			regulator-min-microvolt = <1710000>;
355f126890aSEmmanuel Vadot			regulator-max-microvolt = <3450000>;
356f126890aSEmmanuel Vadot			regulator-always-on;
357f126890aSEmmanuel Vadot			regulator-boot-on;
358f126890aSEmmanuel Vadot			ti,defdcdc_default = <1>;
359f126890aSEmmanuel Vadot		};
360f126890aSEmmanuel Vadot
361f126890aSEmmanuel Vadot		vdcdc3_reg: regulator@2 {
362f126890aSEmmanuel Vadot			regulator-name = "VDCDC3_1.2V";
363f126890aSEmmanuel Vadot			regulator-min-microvolt = <950000>;
364f126890aSEmmanuel Vadot			regulator-max-microvolt = <1350000>;
365f126890aSEmmanuel Vadot			regulator-always-on;
366f126890aSEmmanuel Vadot			regulator-boot-on;
367f126890aSEmmanuel Vadot			ti,defdcdc_default = <1>;
368f126890aSEmmanuel Vadot		};
369f126890aSEmmanuel Vadot
370f126890aSEmmanuel Vadot		ldo1_reg: regulator@3 {
371f126890aSEmmanuel Vadot			regulator-name = "LDO1_1.8V";
372f126890aSEmmanuel Vadot			regulator-min-microvolt = <1710000>;
373f126890aSEmmanuel Vadot			regulator-max-microvolt = <1890000>;
374f126890aSEmmanuel Vadot			regulator-always-on;
375f126890aSEmmanuel Vadot			regulator-boot-on;
376f126890aSEmmanuel Vadot		};
377f126890aSEmmanuel Vadot
378f126890aSEmmanuel Vadot		ldo2_reg: regulator@4 {
379f126890aSEmmanuel Vadot			regulator-name = "LDO2_1.2V";
380f126890aSEmmanuel Vadot			regulator-min-microvolt = <1140000>;
381f126890aSEmmanuel Vadot			regulator-max-microvolt = <1320000>;
382f126890aSEmmanuel Vadot			regulator-always-on;
383f126890aSEmmanuel Vadot			regulator-boot-on;
384f126890aSEmmanuel Vadot		};
385f126890aSEmmanuel Vadot	};
386f126890aSEmmanuel Vadot};
387f126890aSEmmanuel Vadot
388f126890aSEmmanuel Vadot&mcasp0 {
389f126890aSEmmanuel Vadot	#sound-dai-cells = <0>;
390f126890aSEmmanuel Vadot	status = "okay";
391f126890aSEmmanuel Vadot	pinctrl-names = "default";
392f126890aSEmmanuel Vadot	pinctrl-0 = <&mcasp0_pins>;
393f126890aSEmmanuel Vadot
394f126890aSEmmanuel Vadot	op-mode = <0>;          /* MCASP_IIS_MODE */
395f126890aSEmmanuel Vadot	tdm-slots = <2>;
396f126890aSEmmanuel Vadot	/* 4 serializer */
397f126890aSEmmanuel Vadot	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
398f126890aSEmmanuel Vadot		0 0 0 0
399f126890aSEmmanuel Vadot		0 0 0 0
400f126890aSEmmanuel Vadot		0 0 0 1
401f126890aSEmmanuel Vadot		2 0 0 0
402f126890aSEmmanuel Vadot	>;
403f126890aSEmmanuel Vadot	tx-num-evt = <32>;
404f126890aSEmmanuel Vadot	rx-num-evt = <32>;
405f126890aSEmmanuel Vadot};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot&edma0 {
408f126890aSEmmanuel Vadot	ti,edma-reserved-slot-ranges = <32 50>;
409f126890aSEmmanuel Vadot};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot&edma1 {
412f126890aSEmmanuel Vadot	ti,edma-reserved-slot-ranges = <32 90>;
413f126890aSEmmanuel Vadot};
414f126890aSEmmanuel Vadot
415f126890aSEmmanuel Vadot&aemif {
416f126890aSEmmanuel Vadot	pinctrl-names = "default";
417f126890aSEmmanuel Vadot	pinctrl-0 = <&nand_pins>;
418f126890aSEmmanuel Vadot	status = "okay";
419f126890aSEmmanuel Vadot	cs3 {
420f126890aSEmmanuel Vadot		#address-cells = <2>;
421f126890aSEmmanuel Vadot		#size-cells = <1>;
422f126890aSEmmanuel Vadot		clock-ranges;
423f126890aSEmmanuel Vadot		ranges;
424f126890aSEmmanuel Vadot
425f126890aSEmmanuel Vadot		ti,cs-chipselect = <3>;
426f126890aSEmmanuel Vadot
427f126890aSEmmanuel Vadot		nand@2000000,0 {
428f126890aSEmmanuel Vadot			compatible = "ti,davinci-nand";
429f126890aSEmmanuel Vadot			#address-cells = <1>;
430f126890aSEmmanuel Vadot			#size-cells = <1>;
431f126890aSEmmanuel Vadot			reg = <0 0x02000000 0x02000000
432f126890aSEmmanuel Vadot			       1 0x00000000 0x00008000>;
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot			ti,davinci-chipselect = <1>;
435f126890aSEmmanuel Vadot			ti,davinci-mask-ale = <0>;
436f126890aSEmmanuel Vadot			ti,davinci-mask-cle = <0>;
437f126890aSEmmanuel Vadot			ti,davinci-mask-chipsel = <0>;
438f126890aSEmmanuel Vadot			ti,davinci-ecc-mode = "hw";
439f126890aSEmmanuel Vadot			ti,davinci-ecc-bits = <4>;
440f126890aSEmmanuel Vadot			ti,davinci-nand-use-bbt;
441f126890aSEmmanuel Vadot		};
442f126890aSEmmanuel Vadot	};
443f126890aSEmmanuel Vadot};
444f126890aSEmmanuel Vadot
445f126890aSEmmanuel Vadot&usb_phy {
446f126890aSEmmanuel Vadot	status = "okay";
447f126890aSEmmanuel Vadot};
448f126890aSEmmanuel Vadot
449f126890aSEmmanuel Vadot&usb0 {
450f126890aSEmmanuel Vadot	status = "okay";
451f126890aSEmmanuel Vadot};
452f126890aSEmmanuel Vadot
453f126890aSEmmanuel Vadot&usb1 {
454f126890aSEmmanuel Vadot	status = "okay";
455f126890aSEmmanuel Vadot};
456f126890aSEmmanuel Vadot
457f126890aSEmmanuel Vadot&vpif {
458f126890aSEmmanuel Vadot	pinctrl-names = "default";
459f126890aSEmmanuel Vadot	pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>;
460f126890aSEmmanuel Vadot	/*
461f126890aSEmmanuel Vadot	 * The vpif and the LCD are mutually exclusive.
462f126890aSEmmanuel Vadot	 * To enable VPIF, disable the ti,tilcdc,panel then
463f126890aSEmmanuel Vadot	 * change the status below to 'okay'
464f126890aSEmmanuel Vadot	 */
465f126890aSEmmanuel Vadot	status = "disabled";
466f126890aSEmmanuel Vadot};
467