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