xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/am5729-beagleboneai.dts (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3*01950c46SEmmanuel Vadot * Copyright (C) 2014-2019 Texas Instruments Incorporated - https://www.ti.com/
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "dra74x.dtsi"
9f126890aSEmmanuel Vadot#include "am57xx-commercial-grade.dtsi"
10f126890aSEmmanuel Vadot#include "dra74x-mmc-iodelay.dtsi"
11f126890aSEmmanuel Vadot#include "dra74-ipu-dsp-common.dtsi"
12f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
13f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
14f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/dra.h>
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot/ {
17f126890aSEmmanuel Vadot	model = "BeagleBoard.org BeagleBone AI";
18f126890aSEmmanuel Vadot	compatible = "beagle,am5729-beagleboneai", "ti,am5728",
19f126890aSEmmanuel Vadot		     "ti,dra742", "ti,dra74", "ti,dra7";
20f126890aSEmmanuel Vadot
21f126890aSEmmanuel Vadot	aliases {
22f126890aSEmmanuel Vadot		rtc0 = &tps659038_rtc;
23f126890aSEmmanuel Vadot		rtc1 = &rtc;
24f126890aSEmmanuel Vadot		display0 = &hdmi_conn;
25f126890aSEmmanuel Vadot	};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot	chosen {
28f126890aSEmmanuel Vadot		stdout-path = &uart1;
29f126890aSEmmanuel Vadot	};
30f126890aSEmmanuel Vadot
31f126890aSEmmanuel Vadot	memory@0 {
32f126890aSEmmanuel Vadot		device_type = "memory";
33f126890aSEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x40000000>;
34f126890aSEmmanuel Vadot	};
35f126890aSEmmanuel Vadot
36f126890aSEmmanuel Vadot	reserved-memory {
37f126890aSEmmanuel Vadot		#address-cells = <2>;
38f126890aSEmmanuel Vadot		#size-cells = <2>;
39f126890aSEmmanuel Vadot		ranges;
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot		ipu2_memory_region: ipu2-memory@95800000 {
42f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
43f126890aSEmmanuel Vadot			reg = <0x0 0x95800000 0x0 0x3800000>;
44f126890aSEmmanuel Vadot			reusable;
45f126890aSEmmanuel Vadot			status = "okay";
46f126890aSEmmanuel Vadot		};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot		dsp1_memory_region: dsp1-memory@99000000 {
49f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
50f126890aSEmmanuel Vadot			reg = <0x0 0x99000000 0x0 0x4000000>;
51f126890aSEmmanuel Vadot			reusable;
52f126890aSEmmanuel Vadot			status = "okay";
53f126890aSEmmanuel Vadot		};
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot		ipu1_memory_region: ipu1-memory@9d000000 {
56f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
57f126890aSEmmanuel Vadot			reg = <0x0 0x9d000000 0x0 0x2000000>;
58f126890aSEmmanuel Vadot			reusable;
59f126890aSEmmanuel Vadot			status = "okay";
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot		dsp2_memory_region: dsp2-memory@9f000000 {
63f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
64f126890aSEmmanuel Vadot			reg = <0x0 0x9f000000 0x0 0x800000>;
65f126890aSEmmanuel Vadot			reusable;
66f126890aSEmmanuel Vadot			status = "okay";
67f126890aSEmmanuel Vadot		};
68f126890aSEmmanuel Vadot
69f126890aSEmmanuel Vadot	};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot	vdd_adc: gpioregulator-vdd_adc {
72f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
73f126890aSEmmanuel Vadot		regulator-name = "vdd_adc";
74f126890aSEmmanuel Vadot		vin-supply = <&vdd_5v>;
75f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
76f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
77f126890aSEmmanuel Vadot		regulator-always-on;
78f126890aSEmmanuel Vadot		regulator-boot-on;
79f126890aSEmmanuel Vadot		gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
80f126890aSEmmanuel Vadot		states = <1800000 0
81f126890aSEmmanuel Vadot			3300000 1>;
82f126890aSEmmanuel Vadot	};
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot	vdd_5v: fixedregulator-vdd_5v {
85f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
86f126890aSEmmanuel Vadot		regulator-name = "vdd_5v";
87f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
88f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
89f126890aSEmmanuel Vadot		regulator-always-on;
90f126890aSEmmanuel Vadot		regulator-boot-on;
91f126890aSEmmanuel Vadot	};
92f126890aSEmmanuel Vadot
93f126890aSEmmanuel Vadot	vtt_fixed: fixedregulator-vtt {
94f126890aSEmmanuel Vadot		/* TPS51200 */
95f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
96f126890aSEmmanuel Vadot		regulator-name = "vtt_fixed";
97f126890aSEmmanuel Vadot		vin-supply = <&vdd_ddr>;
98f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
99f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
100f126890aSEmmanuel Vadot		regulator-always-on;
101f126890aSEmmanuel Vadot		regulator-boot-on;
102f126890aSEmmanuel Vadot	};
103f126890aSEmmanuel Vadot
104f126890aSEmmanuel Vadot	leds {
105f126890aSEmmanuel Vadot		compatible = "gpio-leds";
106f126890aSEmmanuel Vadot
107f126890aSEmmanuel Vadot		led0 {
108f126890aSEmmanuel Vadot			label = "beaglebone:green:usr0";
109f126890aSEmmanuel Vadot			gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
110f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
111f126890aSEmmanuel Vadot			default-state = "off";
112f126890aSEmmanuel Vadot		};
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot		led1 {
115f126890aSEmmanuel Vadot			label = "beaglebone:green:usr1";
116f126890aSEmmanuel Vadot			gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
117f126890aSEmmanuel Vadot			linux,default-trigger = "mmc0";
118f126890aSEmmanuel Vadot			default-state = "off";
119f126890aSEmmanuel Vadot		};
120f126890aSEmmanuel Vadot
121f126890aSEmmanuel Vadot		led2 {
122f126890aSEmmanuel Vadot			label = "beaglebone:green:usr2";
123f126890aSEmmanuel Vadot			gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
124f126890aSEmmanuel Vadot			linux,default-trigger = "cpu";
125f126890aSEmmanuel Vadot			default-state = "off";
126f126890aSEmmanuel Vadot		};
127f126890aSEmmanuel Vadot
128f126890aSEmmanuel Vadot		led3 {
129f126890aSEmmanuel Vadot			label = "beaglebone:green:usr3";
130f126890aSEmmanuel Vadot			gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
131f126890aSEmmanuel Vadot			linux,default-trigger = "mmc1";
132f126890aSEmmanuel Vadot			default-state = "off";
133f126890aSEmmanuel Vadot		};
134f126890aSEmmanuel Vadot
135f126890aSEmmanuel Vadot		led4 {
136f126890aSEmmanuel Vadot			label = "beaglebone:green:usr4";
137f126890aSEmmanuel Vadot			gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
138f126890aSEmmanuel Vadot			linux,default-trigger = "netdev";
139f126890aSEmmanuel Vadot			default-state = "off";
140f126890aSEmmanuel Vadot		};
141f126890aSEmmanuel Vadot	};
142f126890aSEmmanuel Vadot
143f126890aSEmmanuel Vadot	hdmi_conn: connector@0 {
144f126890aSEmmanuel Vadot		compatible = "hdmi-connector";
145f126890aSEmmanuel Vadot		label = "hdmi";
146f126890aSEmmanuel Vadot		type = "a";
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot		port {
149f126890aSEmmanuel Vadot			hdmi_connector_in: endpoint {
150f126890aSEmmanuel Vadot				remote-endpoint = <&hdmi_encoder_out>;
151f126890aSEmmanuel Vadot			};
152f126890aSEmmanuel Vadot		};
153f126890aSEmmanuel Vadot	};
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot	hdmi_enc: encoder@0 {
156f126890aSEmmanuel Vadot		/* "ti,tpd12s016" software compatible with "ti,tpd12s015"
157f126890aSEmmanuel Vadot		 *  no need for individual driver
158f126890aSEmmanuel Vadot		 */
159f126890aSEmmanuel Vadot		compatible = "ti,tpd12s015";
160f126890aSEmmanuel Vadot		gpios = <0>,
161f126890aSEmmanuel Vadot			<0>,
162f126890aSEmmanuel Vadot			<&gpio7 12 GPIO_ACTIVE_HIGH>;
163f126890aSEmmanuel Vadot
164f126890aSEmmanuel Vadot		ports {
165f126890aSEmmanuel Vadot			#address-cells = <0x1>;
166f126890aSEmmanuel Vadot			#size-cells = <0x0>;
167f126890aSEmmanuel Vadot
168f126890aSEmmanuel Vadot			port@0 {
169f126890aSEmmanuel Vadot				reg = <0x0>;
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot				hdmi_encoder_in: endpoint@0 {
172f126890aSEmmanuel Vadot					remote-endpoint = <&hdmi_out>;
173f126890aSEmmanuel Vadot				};
174f126890aSEmmanuel Vadot			};
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot			port@1 {
177f126890aSEmmanuel Vadot				reg = <0x1>;
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot				hdmi_encoder_out: endpoint@0 {
180f126890aSEmmanuel Vadot					remote-endpoint = <&hdmi_connector_in>;
181f126890aSEmmanuel Vadot				};
182f126890aSEmmanuel Vadot			};
183f126890aSEmmanuel Vadot		};
184f126890aSEmmanuel Vadot	};
185f126890aSEmmanuel Vadot
186f126890aSEmmanuel Vadot	emmc_pwrseq: emmc_pwrseq {
187f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-emmc";
188f126890aSEmmanuel Vadot		reset-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
189f126890aSEmmanuel Vadot	};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot	brcmf_pwrseq: brcmf_pwrseq {
192f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
193f126890aSEmmanuel Vadot		reset-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>,	/* BT-REG-ON */
194f126890aSEmmanuel Vadot				<&gpio3 18 GPIO_ACTIVE_LOW>;	/* WL-REG-ON */
195f126890aSEmmanuel Vadot	};
196f126890aSEmmanuel Vadot
197f126890aSEmmanuel Vadot	extcon_usb1: extcon_usb1 {
198f126890aSEmmanuel Vadot		compatible = "linux,extcon-usb-gpio";
1998d13bc63SEmmanuel Vadot		id-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
200f126890aSEmmanuel Vadot	};
201f126890aSEmmanuel Vadot};
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot&i2c1 {
204f126890aSEmmanuel Vadot	status = "okay";
205f126890aSEmmanuel Vadot	clock-frequency = <400000>;
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot	tps659038: tps659038@58 {
208f126890aSEmmanuel Vadot		compatible = "ti,tps659038";
209f126890aSEmmanuel Vadot		reg = <0x58>;
210f126890aSEmmanuel Vadot		interrupt-parent = <&gpio6>;
211f126890aSEmmanuel Vadot		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
214f126890aSEmmanuel Vadot		interrupt-controller;
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot		ti,system-power-controller;
217f126890aSEmmanuel Vadot		ti,palmas-override-powerhold;
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot		tps659038_pmic {
220f126890aSEmmanuel Vadot			compatible = "ti,tps659038-pmic";
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot			smps12-in-supply = <&vdd_5v>;
223f126890aSEmmanuel Vadot			smps3-in-supply = <&vdd_5v>;
224f126890aSEmmanuel Vadot			smps45-in-supply = <&vdd_5v>;
225f126890aSEmmanuel Vadot			smps6-in-supply = <&vdd_5v>;
226f126890aSEmmanuel Vadot			smps7-in-supply = <&vdd_5v>;
227f126890aSEmmanuel Vadot			mps3-in-supply = <&vdd_5v>;
228f126890aSEmmanuel Vadot			smps8-in-supply = <&vdd_5v>;
229f126890aSEmmanuel Vadot			smps9-in-supply = <&vdd_5v>;
230f126890aSEmmanuel Vadot			ldo1-in-supply = <&vdd_5v>;
231f126890aSEmmanuel Vadot			ldo2-in-supply = <&vdd_5v>;
232f126890aSEmmanuel Vadot			ldo3-in-supply = <&vdd_5v>;
233f126890aSEmmanuel Vadot			ldo4-in-supply = <&vdd_5v>;
234f126890aSEmmanuel Vadot			ldo9-in-supply = <&vdd_5v>;
235f126890aSEmmanuel Vadot			ldoln-in-supply = <&vdd_5v>;
236f126890aSEmmanuel Vadot			ldousb-in-supply = <&vdd_5v>;
237f126890aSEmmanuel Vadot			ldortc-in-supply = <&vdd_5v>;
238f126890aSEmmanuel Vadot
239f126890aSEmmanuel Vadot			regulators {
240f126890aSEmmanuel Vadot				vdd_mpu: smps12 {
241f126890aSEmmanuel Vadot					/* VDD_MPU */
242f126890aSEmmanuel Vadot					regulator-name = "smps12";
243f126890aSEmmanuel Vadot					regulator-min-microvolt = <850000>;
244f126890aSEmmanuel Vadot					regulator-max-microvolt = <1250000>;
245f126890aSEmmanuel Vadot					regulator-always-on;
246f126890aSEmmanuel Vadot					regulator-boot-on;
247f126890aSEmmanuel Vadot				};
248f126890aSEmmanuel Vadot
249f126890aSEmmanuel Vadot				vdd_ddr: smps3 {
250f126890aSEmmanuel Vadot					/* VDD_DDR EMIF1 EMIF2 */
251f126890aSEmmanuel Vadot					regulator-name = "smps3";
252f126890aSEmmanuel Vadot					regulator-min-microvolt = <1350000>;
253f126890aSEmmanuel Vadot					regulator-max-microvolt = <1350000>;
254f126890aSEmmanuel Vadot					regulator-always-on;
255f126890aSEmmanuel Vadot					regulator-boot-on;
256f126890aSEmmanuel Vadot				};
257f126890aSEmmanuel Vadot
258f126890aSEmmanuel Vadot				vdd_dspeve: smps45 {
259f126890aSEmmanuel Vadot					/* VDD_DSPEVE on AM572 */
260f126890aSEmmanuel Vadot					regulator-name = "smps45";
261f126890aSEmmanuel Vadot					regulator-min-microvolt = < 850000>;
262f126890aSEmmanuel Vadot					regulator-max-microvolt = <1250000>;
263f126890aSEmmanuel Vadot					regulator-always-on;
264f126890aSEmmanuel Vadot					regulator-boot-on;
265f126890aSEmmanuel Vadot				};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot				vdd_gpu: smps6 {
268f126890aSEmmanuel Vadot					/* VDD_GPU */
269f126890aSEmmanuel Vadot					regulator-name = "smps6";
270f126890aSEmmanuel Vadot					regulator-min-microvolt = < 850000>;
271f126890aSEmmanuel Vadot					regulator-max-microvolt = <1250000>;
272f126890aSEmmanuel Vadot					regulator-always-on;
273f126890aSEmmanuel Vadot					regulator-boot-on;
274f126890aSEmmanuel Vadot				};
275f126890aSEmmanuel Vadot
276f126890aSEmmanuel Vadot				vdd_core: smps7 {
277f126890aSEmmanuel Vadot					/* VDD_CORE */
278f126890aSEmmanuel Vadot					regulator-name = "smps7";
279f126890aSEmmanuel Vadot					regulator-min-microvolt = < 850000>;	/*** 1.15V */
280f126890aSEmmanuel Vadot					regulator-max-microvolt = <1150000>;
281f126890aSEmmanuel Vadot					regulator-always-on;
282f126890aSEmmanuel Vadot					regulator-boot-on;
283f126890aSEmmanuel Vadot				};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot				vdd_iva: smps8 {
286f126890aSEmmanuel Vadot					/* VDD_IVAHD */				/*** 1.06V */
287f126890aSEmmanuel Vadot					regulator-name = "smps8";
288f126890aSEmmanuel Vadot				};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot				vdd_3v3: smps9 {
291f126890aSEmmanuel Vadot					/* VDD_3V3 */
292f126890aSEmmanuel Vadot					regulator-name = "smps9";
293f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
294f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
295f126890aSEmmanuel Vadot					regulator-always-on;
296f126890aSEmmanuel Vadot					regulator-boot-on;
297f126890aSEmmanuel Vadot				};
298f126890aSEmmanuel Vadot
299f126890aSEmmanuel Vadot				vdd_sd: ldo1 {
300f126890aSEmmanuel Vadot					/* VDDSHV8 - VSDMMC  */
301f126890aSEmmanuel Vadot					regulator-name = "ldo1";
302f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
303f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
304f126890aSEmmanuel Vadot					regulator-boot-on;
305f126890aSEmmanuel Vadot					regulator-always-on;
306f126890aSEmmanuel Vadot				};
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot				vdd_1v8: ldo2 {
309f126890aSEmmanuel Vadot					/* VDDSH18V */
310f126890aSEmmanuel Vadot					regulator-name = "ldo2";
311f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
312f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
313f126890aSEmmanuel Vadot					regulator-always-on;
314f126890aSEmmanuel Vadot					regulator-boot-on;
315f126890aSEmmanuel Vadot				};
316f126890aSEmmanuel Vadot
317f126890aSEmmanuel Vadot				vdd_1v8_phy_ldo3: ldo3 {
318f126890aSEmmanuel Vadot					/* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
319f126890aSEmmanuel Vadot					regulator-name = "ldo3";
320f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
321f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
322f126890aSEmmanuel Vadot					regulator-always-on;
323f126890aSEmmanuel Vadot					regulator-boot-on;
324f126890aSEmmanuel Vadot				};
325f126890aSEmmanuel Vadot
326f126890aSEmmanuel Vadot				vdd_1v8_phy_ldo4: ldo4 {
327f126890aSEmmanuel Vadot					/* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
328f126890aSEmmanuel Vadot					regulator-name = "ldo4";
329f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
330f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
331f126890aSEmmanuel Vadot					regulator-always-on;
332f126890aSEmmanuel Vadot					regulator-boot-on;
333f126890aSEmmanuel Vadot				};
334f126890aSEmmanuel Vadot
335f126890aSEmmanuel Vadot				/* LDO5-8 unused */
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot				vdd_rtc: ldo9 {
338f126890aSEmmanuel Vadot					/* VDD_RTC  */
339f126890aSEmmanuel Vadot					regulator-name = "ldo9";
340f126890aSEmmanuel Vadot					regulator-min-microvolt = < 840000>;
341f126890aSEmmanuel Vadot					regulator-max-microvolt = <1160000>;
342f126890aSEmmanuel Vadot					regulator-always-on;
343f126890aSEmmanuel Vadot					regulator-boot-on;
344f126890aSEmmanuel Vadot				};
345f126890aSEmmanuel Vadot
346f126890aSEmmanuel Vadot				vdd_1v8_pll: ldoln {
347f126890aSEmmanuel Vadot					/* VDDA_1V8_PLL */
348f126890aSEmmanuel Vadot					regulator-name = "ldoln";
349f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
350f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
351f126890aSEmmanuel Vadot					regulator-always-on;
352f126890aSEmmanuel Vadot					regulator-boot-on;
353f126890aSEmmanuel Vadot				};
354f126890aSEmmanuel Vadot
355f126890aSEmmanuel Vadot				ldousb_reg: ldousb {
356f126890aSEmmanuel Vadot					/* VDDA_3V_USB: VDDA_USBHS33 */
357f126890aSEmmanuel Vadot					regulator-name = "ldousb";
358f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
359f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
360f126890aSEmmanuel Vadot					regulator-always-on;
361f126890aSEmmanuel Vadot					regulator-boot-on;
362f126890aSEmmanuel Vadot				};
363f126890aSEmmanuel Vadot
364f126890aSEmmanuel Vadot				ldortc_reg: ldortc {
365f126890aSEmmanuel Vadot					/* VDDA_RTC  */
366f126890aSEmmanuel Vadot					regulator-name = "ldortc";
367f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
368f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
369f126890aSEmmanuel Vadot					regulator-always-on;
370f126890aSEmmanuel Vadot					regulator-boot-on;
371f126890aSEmmanuel Vadot				};
372f126890aSEmmanuel Vadot
373f126890aSEmmanuel Vadot				regen1: regen1 {
374f126890aSEmmanuel Vadot					/* VDD_3V3_ON */
375f126890aSEmmanuel Vadot					regulator-name = "regen1";
376f126890aSEmmanuel Vadot					regulator-boot-on;
377f126890aSEmmanuel Vadot					regulator-always-on;
378f126890aSEmmanuel Vadot				};
379f126890aSEmmanuel Vadot
380f126890aSEmmanuel Vadot				regen2: regen2 {
381f126890aSEmmanuel Vadot					/* Needed for PMIC internal resource */
382f126890aSEmmanuel Vadot					regulator-name = "regen2";
383f126890aSEmmanuel Vadot					regulator-boot-on;
384f126890aSEmmanuel Vadot					regulator-always-on;
385f126890aSEmmanuel Vadot				};
386f126890aSEmmanuel Vadot			};
387f126890aSEmmanuel Vadot		};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot		tps659038_rtc: tps659038_rtc {
390f126890aSEmmanuel Vadot			compatible = "ti,palmas-rtc";
391f126890aSEmmanuel Vadot			interrupt-parent = <&tps659038>;
392f126890aSEmmanuel Vadot			interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
393f126890aSEmmanuel Vadot			wakeup-source;
394f126890aSEmmanuel Vadot		};
395f126890aSEmmanuel Vadot
396f126890aSEmmanuel Vadot		tps659038_pwr_button: tps659038_pwr_button {
397f126890aSEmmanuel Vadot			compatible = "ti,palmas-pwrbutton";
398f126890aSEmmanuel Vadot			interrupt-parent = <&tps659038>;
399f126890aSEmmanuel Vadot			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
400f126890aSEmmanuel Vadot			wakeup-source;
401f126890aSEmmanuel Vadot			ti,palmas-long-press-seconds = <12>;
402f126890aSEmmanuel Vadot		};
403f126890aSEmmanuel Vadot
404f126890aSEmmanuel Vadot		tps659038_gpio: tps659038_gpio {
405f126890aSEmmanuel Vadot			compatible = "ti,palmas-gpio";
406f126890aSEmmanuel Vadot			gpio-controller;
407f126890aSEmmanuel Vadot			#gpio-cells = <2>;
408f126890aSEmmanuel Vadot		};
409f126890aSEmmanuel Vadot	};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot	/* STMPE811 touch screen controller */
412f126890aSEmmanuel Vadot	stmpe811@41 {
413f126890aSEmmanuel Vadot		compatible = "st,stmpe811";
414f126890aSEmmanuel Vadot		reg = <0x41>;
415f126890aSEmmanuel Vadot		interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
416f126890aSEmmanuel Vadot		interrupt-parent = <&gpio2>;
417f126890aSEmmanuel Vadot		id = <0>;
418f126890aSEmmanuel Vadot		blocks = <0x5>;
419f126890aSEmmanuel Vadot		irq-trigger = <0x1>;
420f126890aSEmmanuel Vadot		st,mod-12b = <1>; /* 12-bit ADC */
421f126890aSEmmanuel Vadot		st,ref-sel = <0>; /* internal ADC reference */
422f126890aSEmmanuel Vadot		st,adc-freq = <1>; /* 3.25 MHz ADC clock speed */
423f126890aSEmmanuel Vadot		st,sample-time = <4>; /* ADC converstion time: 80 clocks */
424f126890aSEmmanuel Vadot
425f126890aSEmmanuel Vadot		stmpe_adc {
426f126890aSEmmanuel Vadot			compatible = "st,stmpe-adc";
427f126890aSEmmanuel Vadot			st,norequest-mask = <0x00>; /* mask any channels to be used by touchscreen */
428f126890aSEmmanuel Vadot			adc0: iio-device@0 {
429f126890aSEmmanuel Vadot				#io-channel-cells = <1>;
430f126890aSEmmanuel Vadot				iio-channels = <&adc0 4>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>;
431f126890aSEmmanuel Vadot				iio-channel-names = "AIN0_P9_39", "AIN1_P9_40", "AIN2_P9_37", "AIN3_P9_38",
432f126890aSEmmanuel Vadot					"AIN4_P9_33", "AIN5_P9_36", "AIN6_P9_35";
433f126890aSEmmanuel Vadot			};
434f126890aSEmmanuel Vadot		};
435f126890aSEmmanuel Vadot
436f126890aSEmmanuel Vadot		stmpe_touchscreen {
437f126890aSEmmanuel Vadot			status = "disabled";
438f126890aSEmmanuel Vadot			compatible = "st,stmpe-ts";
439f126890aSEmmanuel Vadot			/* 8 sample average control */
440f126890aSEmmanuel Vadot			st,ave-ctrl = <3>;
441f126890aSEmmanuel Vadot			/* 7 length fractional part in z */
442f126890aSEmmanuel Vadot			st,fraction-z = <7>;
443f126890aSEmmanuel Vadot			/*
444f126890aSEmmanuel Vadot			 * 50 mA typical 80 mA max touchscreen drivers
445f126890aSEmmanuel Vadot			 * current limit value
446f126890aSEmmanuel Vadot			 */
447f126890aSEmmanuel Vadot			st,i-drive = <1>;
448f126890aSEmmanuel Vadot			/* 1 ms panel driver settling time */
449f126890aSEmmanuel Vadot			st,settling = <3>;
450f126890aSEmmanuel Vadot			/* 5 ms touch detect interrupt delay */
451f126890aSEmmanuel Vadot			st,touch-det-delay = <5>;
452f126890aSEmmanuel Vadot		};
453f126890aSEmmanuel Vadot
454f126890aSEmmanuel Vadot		stmpe_gpio {
455f126890aSEmmanuel Vadot			compatible = "st,stmpe-gpio";
456f126890aSEmmanuel Vadot		};
457f126890aSEmmanuel Vadot
458f126890aSEmmanuel Vadot		stmpe_pwm {
459f126890aSEmmanuel Vadot			compatible = "st,stmpe-pwm";
460f126890aSEmmanuel Vadot			#pwm-cells = <2>;
461f126890aSEmmanuel Vadot		};
462f126890aSEmmanuel Vadot	};
463f126890aSEmmanuel Vadot};
464f126890aSEmmanuel Vadot
465f126890aSEmmanuel Vadot&mcspi3 {
466f126890aSEmmanuel Vadot	status = "okay";
467f126890aSEmmanuel Vadot	ti,pindir-d0-out-d1-in;
468f126890aSEmmanuel Vadot
469f126890aSEmmanuel Vadot	sn65hvs882: sn65hvs882@0 {
470f126890aSEmmanuel Vadot		compatible = "pisosr-gpio";
471f126890aSEmmanuel Vadot		gpio-controller;
472f126890aSEmmanuel Vadot		#gpio-cells = <2>;
473f126890aSEmmanuel Vadot
474f126890aSEmmanuel Vadot		reg = <0>;
475f126890aSEmmanuel Vadot		spi-max-frequency = <1000000>;
476f126890aSEmmanuel Vadot		spi-cpol;
477f126890aSEmmanuel Vadot	};
478f126890aSEmmanuel Vadot};
479f126890aSEmmanuel Vadot
480f126890aSEmmanuel Vadot&cpu0 {
481f126890aSEmmanuel Vadot	vdd-supply = <&vdd_mpu>;
482f126890aSEmmanuel Vadot	voltage-tolerance = <1>;
483f126890aSEmmanuel Vadot};
484f126890aSEmmanuel Vadot
485f126890aSEmmanuel Vadot&uart1 {
486f126890aSEmmanuel Vadot	status = "okay";
487f126890aSEmmanuel Vadot};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot&davinci_mdio_sw {
490f126890aSEmmanuel Vadot	reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
491f126890aSEmmanuel Vadot	reset-delay-us = <2>;
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot	phy0: ethernet-phy@4 {
494f126890aSEmmanuel Vadot		reg = <4>;
495f126890aSEmmanuel Vadot		eee-broken-100tx;
496f126890aSEmmanuel Vadot		eee-broken-1000t;
497f126890aSEmmanuel Vadot	};
498f126890aSEmmanuel Vadot};
499f126890aSEmmanuel Vadot
500f126890aSEmmanuel Vadot&mac_sw {
501f126890aSEmmanuel Vadot	status = "okay";
502f126890aSEmmanuel Vadot};
503f126890aSEmmanuel Vadot
504f126890aSEmmanuel Vadot&cpsw_port1 {
505f126890aSEmmanuel Vadot	phy-handle = <&phy0>;
506f126890aSEmmanuel Vadot	phy-mode = "rgmii-rxid";
507f126890aSEmmanuel Vadot	ti,dual-emac-pvid = <1>;
508f126890aSEmmanuel Vadot};
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot&cpsw_port2 {
511f126890aSEmmanuel Vadot	status = "disabled";
512f126890aSEmmanuel Vadot};
513f126890aSEmmanuel Vadot
514f126890aSEmmanuel Vadot&ocp {
515f126890aSEmmanuel Vadot	pruss1_shmem: pruss_shmem@4b200000 {
516f126890aSEmmanuel Vadot		status = "okay";
517f126890aSEmmanuel Vadot		compatible = "ti,pruss-shmem";
518f126890aSEmmanuel Vadot		reg = <0x4b200000 0x020000>;
519f126890aSEmmanuel Vadot	};
520f126890aSEmmanuel Vadot
521f126890aSEmmanuel Vadot	pruss2_shmem: pruss_shmem@4b280000 {
522f126890aSEmmanuel Vadot		status = "okay";
523f126890aSEmmanuel Vadot		compatible = "ti,pruss-shmem";
524f126890aSEmmanuel Vadot		reg = <0x4b280000 0x020000>;
525f126890aSEmmanuel Vadot	};
526f126890aSEmmanuel Vadot};
527f126890aSEmmanuel Vadot
528f126890aSEmmanuel Vadot&mmc1 {
529f126890aSEmmanuel Vadot	status = "okay";
530f126890aSEmmanuel Vadot	vmmc-supply = <&vdd_3v3>;
531f126890aSEmmanuel Vadot	vqmmc-supply = <&vdd_sd>;
532f126890aSEmmanuel Vadot	bus-width = <4>;
533f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
534f126890aSEmmanuel Vadot
535f126890aSEmmanuel Vadot	pinctrl-names = "default";
536f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc1_pins_default>;
537f126890aSEmmanuel Vadot};
538f126890aSEmmanuel Vadot
539f126890aSEmmanuel Vadot&mmc2 {
540f126890aSEmmanuel Vadot	status = "okay";
541f126890aSEmmanuel Vadot	vmmc-supply = <&vdd_1v8>;
542f126890aSEmmanuel Vadot	vqmmc-supply = <&vdd_1v8>;
543f126890aSEmmanuel Vadot	bus-width = <8>;
544f126890aSEmmanuel Vadot	ti,non-removable;
545f126890aSEmmanuel Vadot	non-removable;
546f126890aSEmmanuel Vadot	mmc-pwrseq = <&emmc_pwrseq>;
547f126890aSEmmanuel Vadot
548f126890aSEmmanuel Vadot	ti,needs-special-reset;
549f126890aSEmmanuel Vadot	dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
550f126890aSEmmanuel Vadot	dma-names = "tx", "rx";
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot};
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot&mmc4 {
555f126890aSEmmanuel Vadot	/* DS: Default speed (DS) up to 25 MHz, including 1- and 4-bit modes (3.3 V signaling). */
556f126890aSEmmanuel Vadot	/* HS: High speed up to 50 MHz (3.3 V signaling). */
557f126890aSEmmanuel Vadot	/* SDR12: SDR up to 25 MHz (1.8 V signaling). */
558f126890aSEmmanuel Vadot	/* SDR25: SDR up to 50 MHz (1.8 V signaling). */
559f126890aSEmmanuel Vadot	/* SDR50: SDR up to 100 MHz (1.8 V signaling). */
560f126890aSEmmanuel Vadot	/* SDR104: SDR up to 208 MHz (1.8 V signaling) */
561f126890aSEmmanuel Vadot	/* DDR50: DDR up to 50 MHz (1.8 V signaling). */
562f126890aSEmmanuel Vadot	status = "okay";
563f126890aSEmmanuel Vadot
564f126890aSEmmanuel Vadot	ti,needs-special-reset;
565f126890aSEmmanuel Vadot	vmmc-supply = <&vdd_3v3>;
566f126890aSEmmanuel Vadot	cap-power-off-card;
567f126890aSEmmanuel Vadot	keep-power-in-suspend;
568f126890aSEmmanuel Vadot	bus-width = <4>;
569f126890aSEmmanuel Vadot	ti,non-removable;
570f126890aSEmmanuel Vadot	non-removable;
571f126890aSEmmanuel Vadot	no-1-8-v;
572f126890aSEmmanuel Vadot	max-frequency = <24000000>;
573f126890aSEmmanuel Vadot
574f126890aSEmmanuel Vadot	#address-cells = <1>;
575f126890aSEmmanuel Vadot	#size-cells = <0>;
576f126890aSEmmanuel Vadot	mmc-pwrseq = <&brcmf_pwrseq>;
577f126890aSEmmanuel Vadot
578f126890aSEmmanuel Vadot	brcmf: wifi@1 {
579f126890aSEmmanuel Vadot		status = "okay";
580f126890aSEmmanuel Vadot		reg = <1>;
581f126890aSEmmanuel Vadot		compatible = "brcm,bcm4329-fmac";
582f126890aSEmmanuel Vadot
583f126890aSEmmanuel Vadot		brcm,sd-head-align = <4>;
584f126890aSEmmanuel Vadot		brcm,sd_head_align = <4>;
585f126890aSEmmanuel Vadot		brcm,sd_sgentry_align = <512>;
586f126890aSEmmanuel Vadot
587f126890aSEmmanuel Vadot		interrupt-parent = <&gpio3>;
588f126890aSEmmanuel Vadot		interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
589f126890aSEmmanuel Vadot		interrupt-names = "host-wake";
590f126890aSEmmanuel Vadot	};
591f126890aSEmmanuel Vadot};
592f126890aSEmmanuel Vadot
593f126890aSEmmanuel Vadot&usb2_phy1 {
594f126890aSEmmanuel Vadot	phy-supply = <&ldousb_reg>;
595f126890aSEmmanuel Vadot};
596f126890aSEmmanuel Vadot
597f126890aSEmmanuel Vadot&usb2_phy2 {
598f126890aSEmmanuel Vadot	phy-supply = <&ldousb_reg>;
599f126890aSEmmanuel Vadot};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot&usb1 {
602f126890aSEmmanuel Vadot	status = "okay";
603f126890aSEmmanuel Vadot	dr_mode = "otg";
604f126890aSEmmanuel Vadot};
605f126890aSEmmanuel Vadot
606f126890aSEmmanuel Vadot&omap_dwc3_1 {
607f126890aSEmmanuel Vadot	extcon = <&extcon_usb1>;
608f126890aSEmmanuel Vadot};
609f126890aSEmmanuel Vadot
610f126890aSEmmanuel Vadot&usb2 {
611f126890aSEmmanuel Vadot	status = "okay";
612f126890aSEmmanuel Vadot	dr_mode = "host";
613f126890aSEmmanuel Vadot};
614f126890aSEmmanuel Vadot
615f126890aSEmmanuel Vadot&dss {
616f126890aSEmmanuel Vadot	status = "okay";
617f126890aSEmmanuel Vadot	vdda_video-supply = <&vdd_1v8_pll>;
618f126890aSEmmanuel Vadot};
619f126890aSEmmanuel Vadot
620f126890aSEmmanuel Vadot&hdmi {
621f126890aSEmmanuel Vadot	status = "okay";
622f126890aSEmmanuel Vadot	vdda-supply = <&vdd_1v8_phy_ldo4>;
623f126890aSEmmanuel Vadot
624f126890aSEmmanuel Vadot	port {
625f126890aSEmmanuel Vadot		hdmi_out: endpoint {
626f126890aSEmmanuel Vadot			remote-endpoint = <&hdmi_encoder_in>;
627f126890aSEmmanuel Vadot		};
628f126890aSEmmanuel Vadot	};
629f126890aSEmmanuel Vadot};
630f126890aSEmmanuel Vadot
631f126890aSEmmanuel Vadot&bandgap {
632f126890aSEmmanuel Vadot	status = "okay";
633f126890aSEmmanuel Vadot};
634f126890aSEmmanuel Vadot
635f126890aSEmmanuel Vadot&cpu_alert0 {
636f126890aSEmmanuel Vadot	temperature = <55000>; /* milliCelsius */
637f126890aSEmmanuel Vadot};
638f126890aSEmmanuel Vadot
639f126890aSEmmanuel Vadot&cpu_crit {
640f126890aSEmmanuel Vadot	temperature = <85000>; /* milliCelsius */
641f126890aSEmmanuel Vadot};
642f126890aSEmmanuel Vadot
643f126890aSEmmanuel Vadot&gpu_crit {
644f126890aSEmmanuel Vadot	temperature = <85000>; /* milliCelsius */
645f126890aSEmmanuel Vadot};
646f126890aSEmmanuel Vadot
647f126890aSEmmanuel Vadot&core_crit {
648f126890aSEmmanuel Vadot	temperature = <85000>; /* milliCelsius */
649f126890aSEmmanuel Vadot};
650f126890aSEmmanuel Vadot
651f126890aSEmmanuel Vadot&dspeve_crit {
652f126890aSEmmanuel Vadot	temperature = <85000>; /* milliCelsius */
653f126890aSEmmanuel Vadot};
654f126890aSEmmanuel Vadot
655f126890aSEmmanuel Vadot&iva_crit {
656f126890aSEmmanuel Vadot	temperature = <85000>; /* milliCelsius */
657f126890aSEmmanuel Vadot};
658f126890aSEmmanuel Vadot
659f126890aSEmmanuel Vadot&sata {
660f126890aSEmmanuel Vadot	status = "disabled";
661f126890aSEmmanuel Vadot};
662f126890aSEmmanuel Vadot
663f126890aSEmmanuel Vadot&sata_phy {
664f126890aSEmmanuel Vadot	status = "disabled";
665f126890aSEmmanuel Vadot};
666f126890aSEmmanuel Vadot
667f126890aSEmmanuel Vadot/* bluetooth */
668f126890aSEmmanuel Vadot&uart6 {
669f126890aSEmmanuel Vadot	status = "okay";
670f126890aSEmmanuel Vadot};
671f126890aSEmmanuel Vadot
672f126890aSEmmanuel Vadot/* cape header stuff */
673f126890aSEmmanuel Vadot&i2c4 {
674f126890aSEmmanuel Vadot	status = "okay";
675f126890aSEmmanuel Vadot	clock-frequency = <100000>;
676f126890aSEmmanuel Vadot};
677f126890aSEmmanuel Vadot
678f126890aSEmmanuel Vadot&ipu2 {
679f126890aSEmmanuel Vadot	status = "okay";
680f126890aSEmmanuel Vadot	memory-region = <&ipu2_memory_region>;
681f126890aSEmmanuel Vadot};
682f126890aSEmmanuel Vadot
683f126890aSEmmanuel Vadot&ipu1 {
684f126890aSEmmanuel Vadot	status = "okay";
685f126890aSEmmanuel Vadot	memory-region = <&ipu1_memory_region>;
686f126890aSEmmanuel Vadot};
687f126890aSEmmanuel Vadot
688f126890aSEmmanuel Vadot&dsp1 {
689f126890aSEmmanuel Vadot	status = "okay";
690f126890aSEmmanuel Vadot	memory-region = <&dsp1_memory_region>;
691f126890aSEmmanuel Vadot};
692f126890aSEmmanuel Vadot
693f126890aSEmmanuel Vadot&dsp2 {
694f126890aSEmmanuel Vadot	status = "okay";
695f126890aSEmmanuel Vadot	memory-region = <&dsp2_memory_region>;
696f126890aSEmmanuel Vadot};
697