xref: /linux/arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts (revision 9f2967e41cdee8239ce00765e7e78ee83f888dd9)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/*
3*9f2967e4SNishanth Menon * Copyright (C) 2014-2019 Texas Instruments Incorporated - https://www.ti.com/
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring
8724ba675SRob Herring#include "dra74x.dtsi"
9724ba675SRob Herring#include "am57xx-commercial-grade.dtsi"
10724ba675SRob Herring#include "dra74x-mmc-iodelay.dtsi"
11724ba675SRob Herring#include "dra74-ipu-dsp-common.dtsi"
12724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
13724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
14724ba675SRob Herring#include <dt-bindings/pinctrl/dra.h>
15724ba675SRob Herring
16724ba675SRob Herring/ {
17724ba675SRob Herring	model = "BeagleBoard.org BeagleBone AI";
18724ba675SRob Herring	compatible = "beagle,am5729-beagleboneai", "ti,am5728",
19724ba675SRob Herring		     "ti,dra742", "ti,dra74", "ti,dra7";
20724ba675SRob Herring
21724ba675SRob Herring	aliases {
22724ba675SRob Herring		rtc0 = &tps659038_rtc;
23724ba675SRob Herring		rtc1 = &rtc;
24724ba675SRob Herring		display0 = &hdmi_conn;
25724ba675SRob Herring	};
26724ba675SRob Herring
27724ba675SRob Herring	chosen {
28724ba675SRob Herring		stdout-path = &uart1;
29724ba675SRob Herring	};
30724ba675SRob Herring
31724ba675SRob Herring	memory@0 {
32724ba675SRob Herring		device_type = "memory";
33724ba675SRob Herring		reg = <0x0 0x80000000 0x0 0x40000000>;
34724ba675SRob Herring	};
35724ba675SRob Herring
36724ba675SRob Herring	reserved-memory {
37724ba675SRob Herring		#address-cells = <2>;
38724ba675SRob Herring		#size-cells = <2>;
39724ba675SRob Herring		ranges;
40724ba675SRob Herring
41724ba675SRob Herring		ipu2_memory_region: ipu2-memory@95800000 {
42724ba675SRob Herring			compatible = "shared-dma-pool";
43724ba675SRob Herring			reg = <0x0 0x95800000 0x0 0x3800000>;
44724ba675SRob Herring			reusable;
45724ba675SRob Herring			status = "okay";
46724ba675SRob Herring		};
47724ba675SRob Herring
48724ba675SRob Herring		dsp1_memory_region: dsp1-memory@99000000 {
49724ba675SRob Herring			compatible = "shared-dma-pool";
50724ba675SRob Herring			reg = <0x0 0x99000000 0x0 0x4000000>;
51724ba675SRob Herring			reusable;
52724ba675SRob Herring			status = "okay";
53724ba675SRob Herring		};
54724ba675SRob Herring
55724ba675SRob Herring		ipu1_memory_region: ipu1-memory@9d000000 {
56724ba675SRob Herring			compatible = "shared-dma-pool";
57724ba675SRob Herring			reg = <0x0 0x9d000000 0x0 0x2000000>;
58724ba675SRob Herring			reusable;
59724ba675SRob Herring			status = "okay";
60724ba675SRob Herring		};
61724ba675SRob Herring
62724ba675SRob Herring		dsp2_memory_region: dsp2-memory@9f000000 {
63724ba675SRob Herring			compatible = "shared-dma-pool";
64724ba675SRob Herring			reg = <0x0 0x9f000000 0x0 0x800000>;
65724ba675SRob Herring			reusable;
66724ba675SRob Herring			status = "okay";
67724ba675SRob Herring		};
68724ba675SRob Herring
69724ba675SRob Herring	};
70724ba675SRob Herring
71724ba675SRob Herring	vdd_adc: gpioregulator-vdd_adc {
72724ba675SRob Herring		compatible = "regulator-gpio";
73724ba675SRob Herring		regulator-name = "vdd_adc";
74724ba675SRob Herring		vin-supply = <&vdd_5v>;
75724ba675SRob Herring		regulator-min-microvolt = <1800000>;
76724ba675SRob Herring		regulator-max-microvolt = <3300000>;
77724ba675SRob Herring		regulator-always-on;
78724ba675SRob Herring		regulator-boot-on;
79724ba675SRob Herring		gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
80724ba675SRob Herring		states = <1800000 0
81724ba675SRob Herring			3300000 1>;
82724ba675SRob Herring	};
83724ba675SRob Herring
84724ba675SRob Herring	vdd_5v: fixedregulator-vdd_5v {
85724ba675SRob Herring		compatible = "regulator-fixed";
86724ba675SRob Herring		regulator-name = "vdd_5v";
87724ba675SRob Herring		regulator-min-microvolt = <5000000>;
88724ba675SRob Herring		regulator-max-microvolt = <5000000>;
89724ba675SRob Herring		regulator-always-on;
90724ba675SRob Herring		regulator-boot-on;
91724ba675SRob Herring	};
92724ba675SRob Herring
93724ba675SRob Herring	vtt_fixed: fixedregulator-vtt {
94724ba675SRob Herring		/* TPS51200 */
95724ba675SRob Herring		compatible = "regulator-fixed";
96724ba675SRob Herring		regulator-name = "vtt_fixed";
97724ba675SRob Herring		vin-supply = <&vdd_ddr>;
98724ba675SRob Herring		regulator-min-microvolt = <3300000>;
99724ba675SRob Herring		regulator-max-microvolt = <3300000>;
100724ba675SRob Herring		regulator-always-on;
101724ba675SRob Herring		regulator-boot-on;
102724ba675SRob Herring	};
103724ba675SRob Herring
104724ba675SRob Herring	leds {
105724ba675SRob Herring		compatible = "gpio-leds";
106724ba675SRob Herring
107724ba675SRob Herring		led0 {
108724ba675SRob Herring			label = "beaglebone:green:usr0";
109724ba675SRob Herring			gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
110724ba675SRob Herring			linux,default-trigger = "heartbeat";
111724ba675SRob Herring			default-state = "off";
112724ba675SRob Herring		};
113724ba675SRob Herring
114724ba675SRob Herring		led1 {
115724ba675SRob Herring			label = "beaglebone:green:usr1";
116724ba675SRob Herring			gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
117724ba675SRob Herring			linux,default-trigger = "mmc0";
118724ba675SRob Herring			default-state = "off";
119724ba675SRob Herring		};
120724ba675SRob Herring
121724ba675SRob Herring		led2 {
122724ba675SRob Herring			label = "beaglebone:green:usr2";
123724ba675SRob Herring			gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
124724ba675SRob Herring			linux,default-trigger = "cpu";
125724ba675SRob Herring			default-state = "off";
126724ba675SRob Herring		};
127724ba675SRob Herring
128724ba675SRob Herring		led3 {
129724ba675SRob Herring			label = "beaglebone:green:usr3";
130724ba675SRob Herring			gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
131724ba675SRob Herring			linux,default-trigger = "mmc1";
132724ba675SRob Herring			default-state = "off";
133724ba675SRob Herring		};
134724ba675SRob Herring
135724ba675SRob Herring		led4 {
136724ba675SRob Herring			label = "beaglebone:green:usr4";
137724ba675SRob Herring			gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
138724ba675SRob Herring			linux,default-trigger = "netdev";
139724ba675SRob Herring			default-state = "off";
140724ba675SRob Herring		};
141724ba675SRob Herring	};
142724ba675SRob Herring
143724ba675SRob Herring	hdmi_conn: connector@0 {
144724ba675SRob Herring		compatible = "hdmi-connector";
145724ba675SRob Herring		label = "hdmi";
146724ba675SRob Herring		type = "a";
147724ba675SRob Herring
148724ba675SRob Herring		port {
149724ba675SRob Herring			hdmi_connector_in: endpoint {
150724ba675SRob Herring				remote-endpoint = <&hdmi_encoder_out>;
151724ba675SRob Herring			};
152724ba675SRob Herring		};
153724ba675SRob Herring	};
154724ba675SRob Herring
155724ba675SRob Herring	hdmi_enc: encoder@0 {
156724ba675SRob Herring		/* "ti,tpd12s016" software compatible with "ti,tpd12s015"
157724ba675SRob Herring		 *  no need for individual driver
158724ba675SRob Herring		 */
159724ba675SRob Herring		compatible = "ti,tpd12s015";
160724ba675SRob Herring		gpios = <0>,
161724ba675SRob Herring			<0>,
162724ba675SRob Herring			<&gpio7 12 GPIO_ACTIVE_HIGH>;
163724ba675SRob Herring
164724ba675SRob Herring		ports {
165724ba675SRob Herring			#address-cells = <0x1>;
166724ba675SRob Herring			#size-cells = <0x0>;
167724ba675SRob Herring
168724ba675SRob Herring			port@0 {
169724ba675SRob Herring				reg = <0x0>;
170724ba675SRob Herring
171724ba675SRob Herring				hdmi_encoder_in: endpoint@0 {
172724ba675SRob Herring					remote-endpoint = <&hdmi_out>;
173724ba675SRob Herring				};
174724ba675SRob Herring			};
175724ba675SRob Herring
176724ba675SRob Herring			port@1 {
177724ba675SRob Herring				reg = <0x1>;
178724ba675SRob Herring
179724ba675SRob Herring				hdmi_encoder_out: endpoint@0 {
180724ba675SRob Herring					remote-endpoint = <&hdmi_connector_in>;
181724ba675SRob Herring				};
182724ba675SRob Herring			};
183724ba675SRob Herring		};
184724ba675SRob Herring	};
185724ba675SRob Herring
186724ba675SRob Herring	emmc_pwrseq: emmc_pwrseq {
187724ba675SRob Herring		compatible = "mmc-pwrseq-emmc";
188724ba675SRob Herring		reset-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
189724ba675SRob Herring	};
190724ba675SRob Herring
191724ba675SRob Herring	brcmf_pwrseq: brcmf_pwrseq {
192724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
193724ba675SRob Herring		reset-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>,	/* BT-REG-ON */
194724ba675SRob Herring				<&gpio3 18 GPIO_ACTIVE_LOW>;	/* WL-REG-ON */
195724ba675SRob Herring	};
196724ba675SRob Herring
197724ba675SRob Herring	extcon_usb1: extcon_usb1 {
198724ba675SRob Herring		compatible = "linux,extcon-usb-gpio";
199724ba675SRob Herring		ti,enable-id-detection;
2003a40640dSAlexander Stein		id-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
201724ba675SRob Herring	};
202724ba675SRob Herring};
203724ba675SRob Herring
204724ba675SRob Herring&i2c1 {
205724ba675SRob Herring	status = "okay";
206724ba675SRob Herring	clock-frequency = <400000>;
207724ba675SRob Herring
208724ba675SRob Herring	tps659038: tps659038@58 {
209724ba675SRob Herring		compatible = "ti,tps659038";
210724ba675SRob Herring		reg = <0x58>;
211724ba675SRob Herring		interrupt-parent = <&gpio6>;
212724ba675SRob Herring		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
213724ba675SRob Herring
214724ba675SRob Herring		#interrupt-cells = <2>;
215724ba675SRob Herring		interrupt-controller;
216724ba675SRob Herring
217724ba675SRob Herring		ti,system-power-controller;
218724ba675SRob Herring		ti,palmas-override-powerhold;
219724ba675SRob Herring
220724ba675SRob Herring		tps659038_pmic {
221724ba675SRob Herring			compatible = "ti,tps659038-pmic";
222724ba675SRob Herring
223724ba675SRob Herring			smps12-in-supply = <&vdd_5v>;
224724ba675SRob Herring			smps3-in-supply = <&vdd_5v>;
225724ba675SRob Herring			smps45-in-supply = <&vdd_5v>;
226724ba675SRob Herring			smps6-in-supply = <&vdd_5v>;
227724ba675SRob Herring			smps7-in-supply = <&vdd_5v>;
228724ba675SRob Herring			mps3-in-supply = <&vdd_5v>;
229724ba675SRob Herring			smps8-in-supply = <&vdd_5v>;
230724ba675SRob Herring			smps9-in-supply = <&vdd_5v>;
231724ba675SRob Herring			ldo1-in-supply = <&vdd_5v>;
232724ba675SRob Herring			ldo2-in-supply = <&vdd_5v>;
233724ba675SRob Herring			ldo3-in-supply = <&vdd_5v>;
234724ba675SRob Herring			ldo4-in-supply = <&vdd_5v>;
235724ba675SRob Herring			ldo9-in-supply = <&vdd_5v>;
236724ba675SRob Herring			ldoln-in-supply = <&vdd_5v>;
237724ba675SRob Herring			ldousb-in-supply = <&vdd_5v>;
238724ba675SRob Herring			ldortc-in-supply = <&vdd_5v>;
239724ba675SRob Herring
240724ba675SRob Herring			regulators {
241724ba675SRob Herring				vdd_mpu: smps12 {
242724ba675SRob Herring					/* VDD_MPU */
243724ba675SRob Herring					regulator-name = "smps12";
244724ba675SRob Herring					regulator-min-microvolt = <850000>;
245724ba675SRob Herring					regulator-max-microvolt = <1250000>;
246724ba675SRob Herring					regulator-always-on;
247724ba675SRob Herring					regulator-boot-on;
248724ba675SRob Herring				};
249724ba675SRob Herring
250724ba675SRob Herring				vdd_ddr: smps3 {
251724ba675SRob Herring					/* VDD_DDR EMIF1 EMIF2 */
252724ba675SRob Herring					regulator-name = "smps3";
253724ba675SRob Herring					regulator-min-microvolt = <1350000>;
254724ba675SRob Herring					regulator-max-microvolt = <1350000>;
255724ba675SRob Herring					regulator-always-on;
256724ba675SRob Herring					regulator-boot-on;
257724ba675SRob Herring				};
258724ba675SRob Herring
259724ba675SRob Herring				vdd_dspeve: smps45 {
260724ba675SRob Herring					/* VDD_DSPEVE on AM572 */
261724ba675SRob Herring					regulator-name = "smps45";
262724ba675SRob Herring					regulator-min-microvolt = < 850000>;
263724ba675SRob Herring					regulator-max-microvolt = <1250000>;
264724ba675SRob Herring					regulator-always-on;
265724ba675SRob Herring					regulator-boot-on;
266724ba675SRob Herring				};
267724ba675SRob Herring
268724ba675SRob Herring				vdd_gpu: smps6 {
269724ba675SRob Herring					/* VDD_GPU */
270724ba675SRob Herring					regulator-name = "smps6";
271724ba675SRob Herring					regulator-min-microvolt = < 850000>;
272724ba675SRob Herring					regulator-max-microvolt = <1250000>;
273724ba675SRob Herring					regulator-always-on;
274724ba675SRob Herring					regulator-boot-on;
275724ba675SRob Herring				};
276724ba675SRob Herring
277724ba675SRob Herring				vdd_core: smps7 {
278724ba675SRob Herring					/* VDD_CORE */
279724ba675SRob Herring					regulator-name = "smps7";
280724ba675SRob Herring					regulator-min-microvolt = < 850000>;	/*** 1.15V */
281724ba675SRob Herring					regulator-max-microvolt = <1150000>;
282724ba675SRob Herring					regulator-always-on;
283724ba675SRob Herring					regulator-boot-on;
284724ba675SRob Herring				};
285724ba675SRob Herring
286724ba675SRob Herring				vdd_iva: smps8 {
287724ba675SRob Herring					/* VDD_IVAHD */				/*** 1.06V */
288724ba675SRob Herring					regulator-name = "smps8";
289724ba675SRob Herring				};
290724ba675SRob Herring
291724ba675SRob Herring				vdd_3v3: smps9 {
292724ba675SRob Herring					/* VDD_3V3 */
293724ba675SRob Herring					regulator-name = "smps9";
294724ba675SRob Herring					regulator-min-microvolt = <3300000>;
295724ba675SRob Herring					regulator-max-microvolt = <3300000>;
296724ba675SRob Herring					regulator-always-on;
297724ba675SRob Herring					regulator-boot-on;
298724ba675SRob Herring				};
299724ba675SRob Herring
300724ba675SRob Herring				vdd_sd: ldo1 {
301724ba675SRob Herring					/* VDDSHV8 - VSDMMC  */
302724ba675SRob Herring					regulator-name = "ldo1";
303724ba675SRob Herring					regulator-min-microvolt = <1800000>;
304724ba675SRob Herring					regulator-max-microvolt = <3300000>;
305724ba675SRob Herring					regulator-boot-on;
306724ba675SRob Herring					regulator-always-on;
307724ba675SRob Herring				};
308724ba675SRob Herring
309724ba675SRob Herring				vdd_1v8: ldo2 {
310724ba675SRob Herring					/* VDDSH18V */
311724ba675SRob Herring					regulator-name = "ldo2";
312724ba675SRob Herring					regulator-min-microvolt = <1800000>;
313724ba675SRob Herring					regulator-max-microvolt = <1800000>;
314724ba675SRob Herring					regulator-always-on;
315724ba675SRob Herring					regulator-boot-on;
316724ba675SRob Herring				};
317724ba675SRob Herring
318724ba675SRob Herring				vdd_1v8_phy_ldo3: ldo3 {
319724ba675SRob Herring					/* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
320724ba675SRob Herring					regulator-name = "ldo3";
321724ba675SRob Herring					regulator-min-microvolt = <1800000>;
322724ba675SRob Herring					regulator-max-microvolt = <1800000>;
323724ba675SRob Herring					regulator-always-on;
324724ba675SRob Herring					regulator-boot-on;
325724ba675SRob Herring				};
326724ba675SRob Herring
327724ba675SRob Herring				vdd_1v8_phy_ldo4: ldo4 {
328724ba675SRob Herring					/* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
329724ba675SRob Herring					regulator-name = "ldo4";
330724ba675SRob Herring					regulator-min-microvolt = <1800000>;
331724ba675SRob Herring					regulator-max-microvolt = <1800000>;
332724ba675SRob Herring					regulator-always-on;
333724ba675SRob Herring					regulator-boot-on;
334724ba675SRob Herring				};
335724ba675SRob Herring
336724ba675SRob Herring				/* LDO5-8 unused */
337724ba675SRob Herring
338724ba675SRob Herring				vdd_rtc: ldo9 {
339724ba675SRob Herring					/* VDD_RTC  */
340724ba675SRob Herring					regulator-name = "ldo9";
341724ba675SRob Herring					regulator-min-microvolt = < 840000>;
342724ba675SRob Herring					regulator-max-microvolt = <1160000>;
343724ba675SRob Herring					regulator-always-on;
344724ba675SRob Herring					regulator-boot-on;
345724ba675SRob Herring				};
346724ba675SRob Herring
347724ba675SRob Herring				vdd_1v8_pll: ldoln {
348724ba675SRob Herring					/* VDDA_1V8_PLL */
349724ba675SRob Herring					regulator-name = "ldoln";
350724ba675SRob Herring					regulator-min-microvolt = <1800000>;
351724ba675SRob Herring					regulator-max-microvolt = <1800000>;
352724ba675SRob Herring					regulator-always-on;
353724ba675SRob Herring					regulator-boot-on;
354724ba675SRob Herring				};
355724ba675SRob Herring
356724ba675SRob Herring				ldousb_reg: ldousb {
357724ba675SRob Herring					/* VDDA_3V_USB: VDDA_USBHS33 */
358724ba675SRob Herring					regulator-name = "ldousb";
359724ba675SRob Herring					regulator-min-microvolt = <3300000>;
360724ba675SRob Herring					regulator-max-microvolt = <3300000>;
361724ba675SRob Herring					regulator-always-on;
362724ba675SRob Herring					regulator-boot-on;
363724ba675SRob Herring				};
364724ba675SRob Herring
365724ba675SRob Herring				ldortc_reg: ldortc {
366724ba675SRob Herring					/* VDDA_RTC  */
367724ba675SRob Herring					regulator-name = "ldortc";
368724ba675SRob Herring					regulator-min-microvolt = <1800000>;
369724ba675SRob Herring					regulator-max-microvolt = <1800000>;
370724ba675SRob Herring					regulator-always-on;
371724ba675SRob Herring					regulator-boot-on;
372724ba675SRob Herring				};
373724ba675SRob Herring
374724ba675SRob Herring				regen1: regen1 {
375724ba675SRob Herring					/* VDD_3V3_ON */
376724ba675SRob Herring					regulator-name = "regen1";
377724ba675SRob Herring					regulator-boot-on;
378724ba675SRob Herring					regulator-always-on;
379724ba675SRob Herring				};
380724ba675SRob Herring
381724ba675SRob Herring				regen2: regen2 {
382724ba675SRob Herring					/* Needed for PMIC internal resource */
383724ba675SRob Herring					regulator-name = "regen2";
384724ba675SRob Herring					regulator-boot-on;
385724ba675SRob Herring					regulator-always-on;
386724ba675SRob Herring				};
387724ba675SRob Herring			};
388724ba675SRob Herring		};
389724ba675SRob Herring
390724ba675SRob Herring		tps659038_rtc: tps659038_rtc {
391724ba675SRob Herring			compatible = "ti,palmas-rtc";
392724ba675SRob Herring			interrupt-parent = <&tps659038>;
393724ba675SRob Herring			interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
394724ba675SRob Herring			wakeup-source;
395724ba675SRob Herring		};
396724ba675SRob Herring
397724ba675SRob Herring		tps659038_pwr_button: tps659038_pwr_button {
398724ba675SRob Herring			compatible = "ti,palmas-pwrbutton";
399724ba675SRob Herring			interrupt-parent = <&tps659038>;
400724ba675SRob Herring			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
401724ba675SRob Herring			wakeup-source;
402724ba675SRob Herring			ti,palmas-long-press-seconds = <12>;
403724ba675SRob Herring		};
404724ba675SRob Herring
405724ba675SRob Herring		tps659038_gpio: tps659038_gpio {
406724ba675SRob Herring			compatible = "ti,palmas-gpio";
407724ba675SRob Herring			gpio-controller;
408724ba675SRob Herring			#gpio-cells = <2>;
409724ba675SRob Herring		};
410724ba675SRob Herring	};
411724ba675SRob Herring
412724ba675SRob Herring	/* STMPE811 touch screen controller */
413724ba675SRob Herring	stmpe811@41 {
414724ba675SRob Herring		compatible = "st,stmpe811";
415724ba675SRob Herring		reg = <0x41>;
416724ba675SRob Herring		interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
417724ba675SRob Herring		interrupt-parent = <&gpio2>;
418724ba675SRob Herring		interrupt-controller;
419724ba675SRob Herring		id = <0>;
420724ba675SRob Herring		blocks = <0x5>;
421724ba675SRob Herring		irq-trigger = <0x1>;
422724ba675SRob Herring		st,mod-12b = <1>; /* 12-bit ADC */
423724ba675SRob Herring		st,ref-sel = <0>; /* internal ADC reference */
424724ba675SRob Herring		st,adc-freq = <1>; /* 3.25 MHz ADC clock speed */
425724ba675SRob Herring		st,sample-time = <4>; /* ADC converstion time: 80 clocks */
426724ba675SRob Herring
427724ba675SRob Herring		stmpe_adc {
428724ba675SRob Herring			compatible = "st,stmpe-adc";
429724ba675SRob Herring			st,norequest-mask = <0x00>; /* mask any channels to be used by touchscreen */
430724ba675SRob Herring			adc0: iio-device@0 {
431724ba675SRob Herring				#io-channel-cells = <1>;
432724ba675SRob Herring				iio-channels = <&adc0 4>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>;
433724ba675SRob Herring				iio-channel-names = "AIN0_P9_39", "AIN1_P9_40", "AIN2_P9_37", "AIN3_P9_38",
434724ba675SRob Herring					"AIN4_P9_33", "AIN5_P9_36", "AIN6_P9_35";
435724ba675SRob Herring			};
436724ba675SRob Herring		};
437724ba675SRob Herring
438724ba675SRob Herring		stmpe_touchscreen {
439724ba675SRob Herring			status = "disabled";
440724ba675SRob Herring			compatible = "st,stmpe-ts";
441724ba675SRob Herring			/* 8 sample average control */
442724ba675SRob Herring			st,ave-ctrl = <3>;
443724ba675SRob Herring			/* 7 length fractional part in z */
444724ba675SRob Herring			st,fraction-z = <7>;
445724ba675SRob Herring			/*
446724ba675SRob Herring			 * 50 mA typical 80 mA max touchscreen drivers
447724ba675SRob Herring			 * current limit value
448724ba675SRob Herring			 */
449724ba675SRob Herring			st,i-drive = <1>;
450724ba675SRob Herring			/* 1 ms panel driver settling time */
451724ba675SRob Herring			st,settling = <3>;
452724ba675SRob Herring			/* 5 ms touch detect interrupt delay */
453724ba675SRob Herring			st,touch-det-delay = <5>;
454724ba675SRob Herring		};
455724ba675SRob Herring
456724ba675SRob Herring		stmpe_gpio {
457724ba675SRob Herring			compatible = "st,stmpe-gpio";
458724ba675SRob Herring		};
459724ba675SRob Herring
460724ba675SRob Herring		stmpe_pwm {
461724ba675SRob Herring			compatible = "st,stmpe-pwm";
462724ba675SRob Herring			#pwm-cells = <2>;
463724ba675SRob Herring		};
464724ba675SRob Herring	};
465724ba675SRob Herring};
466724ba675SRob Herring
467724ba675SRob Herring&mcspi3 {
468724ba675SRob Herring	status = "okay";
469724ba675SRob Herring	ti,pindir-d0-out-d1-in;
470724ba675SRob Herring
471724ba675SRob Herring	sn65hvs882: sn65hvs882@0 {
472724ba675SRob Herring		compatible = "pisosr-gpio";
473724ba675SRob Herring		gpio-controller;
474724ba675SRob Herring		#gpio-cells = <2>;
475724ba675SRob Herring
476724ba675SRob Herring		reg = <0>;
477724ba675SRob Herring		spi-max-frequency = <1000000>;
478724ba675SRob Herring		spi-cpol;
479724ba675SRob Herring	};
480724ba675SRob Herring};
481724ba675SRob Herring
482724ba675SRob Herring&cpu0 {
483724ba675SRob Herring	vdd-supply = <&vdd_mpu>;
484724ba675SRob Herring	voltage-tolerance = <1>;
485724ba675SRob Herring};
486724ba675SRob Herring
487724ba675SRob Herring&uart1 {
488724ba675SRob Herring	status = "okay";
489724ba675SRob Herring};
490724ba675SRob Herring
491724ba675SRob Herring&davinci_mdio_sw {
492724ba675SRob Herring	reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
493724ba675SRob Herring	reset-delay-us = <2>;
494724ba675SRob Herring
495724ba675SRob Herring	phy0: ethernet-phy@4 {
496724ba675SRob Herring		reg = <4>;
497724ba675SRob Herring		eee-broken-100tx;
498724ba675SRob Herring		eee-broken-1000t;
499724ba675SRob Herring	};
500724ba675SRob Herring};
501724ba675SRob Herring
502724ba675SRob Herring&mac_sw {
503724ba675SRob Herring	status = "okay";
504724ba675SRob Herring};
505724ba675SRob Herring
506724ba675SRob Herring&cpsw_port1 {
507724ba675SRob Herring	phy-handle = <&phy0>;
508724ba675SRob Herring	phy-mode = "rgmii-rxid";
509724ba675SRob Herring	ti,dual-emac-pvid = <1>;
510724ba675SRob Herring};
511724ba675SRob Herring
512724ba675SRob Herring&cpsw_port2 {
513724ba675SRob Herring	status = "disabled";
514724ba675SRob Herring};
515724ba675SRob Herring
516724ba675SRob Herring&ocp {
517724ba675SRob Herring	pruss1_shmem: pruss_shmem@4b200000 {
518724ba675SRob Herring		status = "okay";
519724ba675SRob Herring		compatible = "ti,pruss-shmem";
520724ba675SRob Herring		reg = <0x4b200000 0x020000>;
521724ba675SRob Herring	};
522724ba675SRob Herring
523724ba675SRob Herring	pruss2_shmem: pruss_shmem@4b280000 {
524724ba675SRob Herring		status = "okay";
525724ba675SRob Herring		compatible = "ti,pruss-shmem";
526724ba675SRob Herring		reg = <0x4b280000 0x020000>;
527724ba675SRob Herring	};
528724ba675SRob Herring};
529724ba675SRob Herring
530724ba675SRob Herring&mmc1 {
531724ba675SRob Herring	status = "okay";
532724ba675SRob Herring	vmmc-supply = <&vdd_3v3>;
533724ba675SRob Herring	vqmmc-supply = <&vdd_sd>;
534724ba675SRob Herring	bus-width = <4>;
535724ba675SRob Herring	cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
536724ba675SRob Herring
537724ba675SRob Herring	pinctrl-names = "default";
538724ba675SRob Herring	pinctrl-0 = <&mmc1_pins_default>;
539724ba675SRob Herring};
540724ba675SRob Herring
541724ba675SRob Herring&mmc2 {
542724ba675SRob Herring	status = "okay";
543724ba675SRob Herring	vmmc-supply = <&vdd_1v8>;
544724ba675SRob Herring	vqmmc-supply = <&vdd_1v8>;
545724ba675SRob Herring	bus-width = <8>;
546724ba675SRob Herring	ti,non-removable;
547724ba675SRob Herring	non-removable;
548724ba675SRob Herring	mmc-pwrseq = <&emmc_pwrseq>;
549724ba675SRob Herring
550724ba675SRob Herring	ti,needs-special-reset;
551724ba675SRob Herring	dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
552724ba675SRob Herring	dma-names = "tx", "rx";
553724ba675SRob Herring
554724ba675SRob Herring};
555724ba675SRob Herring
556724ba675SRob Herring&mmc4 {
557724ba675SRob Herring	/* DS: Default speed (DS) up to 25 MHz, including 1- and 4-bit modes (3.3 V signaling). */
558724ba675SRob Herring	/* HS: High speed up to 50 MHz (3.3 V signaling). */
559724ba675SRob Herring	/* SDR12: SDR up to 25 MHz (1.8 V signaling). */
560724ba675SRob Herring	/* SDR25: SDR up to 50 MHz (1.8 V signaling). */
561724ba675SRob Herring	/* SDR50: SDR up to 100 MHz (1.8 V signaling). */
562724ba675SRob Herring	/* SDR104: SDR up to 208 MHz (1.8 V signaling) */
563724ba675SRob Herring	/* DDR50: DDR up to 50 MHz (1.8 V signaling). */
564724ba675SRob Herring	status = "okay";
565724ba675SRob Herring
566724ba675SRob Herring	ti,needs-special-reset;
567724ba675SRob Herring	vmmc-supply = <&vdd_3v3>;
568724ba675SRob Herring	cap-power-off-card;
569724ba675SRob Herring	keep-power-in-suspend;
570724ba675SRob Herring	bus-width = <4>;
571724ba675SRob Herring	ti,non-removable;
572724ba675SRob Herring	non-removable;
573724ba675SRob Herring	no-1-8-v;
574724ba675SRob Herring	max-frequency = <24000000>;
575724ba675SRob Herring
576724ba675SRob Herring	#address-cells = <1>;
577724ba675SRob Herring	#size-cells = <0>;
578724ba675SRob Herring	mmc-pwrseq = <&brcmf_pwrseq>;
579724ba675SRob Herring
580724ba675SRob Herring	brcmf: wifi@1 {
581724ba675SRob Herring		status = "okay";
582724ba675SRob Herring		reg = <1>;
583724ba675SRob Herring		compatible = "brcm,bcm4329-fmac";
584724ba675SRob Herring
585724ba675SRob Herring		brcm,sd-head-align = <4>;
586724ba675SRob Herring		brcm,sd_head_align = <4>;
587724ba675SRob Herring		brcm,sd_sgentry_align = <512>;
588724ba675SRob Herring
589724ba675SRob Herring		interrupt-parent = <&gpio3>;
590724ba675SRob Herring		interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
591724ba675SRob Herring		interrupt-names = "host-wake";
592724ba675SRob Herring	};
593724ba675SRob Herring};
594724ba675SRob Herring
595724ba675SRob Herring&usb2_phy1 {
596724ba675SRob Herring	phy-supply = <&ldousb_reg>;
597724ba675SRob Herring};
598724ba675SRob Herring
599724ba675SRob Herring&usb2_phy2 {
600724ba675SRob Herring	phy-supply = <&ldousb_reg>;
601724ba675SRob Herring};
602724ba675SRob Herring
603724ba675SRob Herring&usb1 {
604724ba675SRob Herring	status = "okay";
605724ba675SRob Herring	dr_mode = "otg";
606724ba675SRob Herring};
607724ba675SRob Herring
608724ba675SRob Herring&omap_dwc3_1 {
609724ba675SRob Herring	extcon = <&extcon_usb1>;
610724ba675SRob Herring};
611724ba675SRob Herring
612724ba675SRob Herring&usb2 {
613724ba675SRob Herring	status = "okay";
614724ba675SRob Herring	dr_mode = "host";
615724ba675SRob Herring};
616724ba675SRob Herring
617724ba675SRob Herring&dss {
618724ba675SRob Herring	status = "okay";
619724ba675SRob Herring	vdda_video-supply = <&vdd_1v8_pll>;
620724ba675SRob Herring};
621724ba675SRob Herring
622724ba675SRob Herring&hdmi {
623724ba675SRob Herring	status = "okay";
624724ba675SRob Herring	vdda-supply = <&vdd_1v8_phy_ldo4>;
625724ba675SRob Herring
626724ba675SRob Herring	port {
627724ba675SRob Herring		hdmi_out: endpoint {
628724ba675SRob Herring			remote-endpoint = <&hdmi_encoder_in>;
629724ba675SRob Herring		};
630724ba675SRob Herring	};
631724ba675SRob Herring};
632724ba675SRob Herring
633724ba675SRob Herring&bandgap {
634724ba675SRob Herring	status = "okay";
635724ba675SRob Herring};
636724ba675SRob Herring
637724ba675SRob Herring&cpu_alert0 {
638724ba675SRob Herring	temperature = <55000>; /* milliCelsius */
639724ba675SRob Herring};
640724ba675SRob Herring
641724ba675SRob Herring&cpu_crit {
642724ba675SRob Herring	temperature = <85000>; /* milliCelsius */
643724ba675SRob Herring};
644724ba675SRob Herring
645724ba675SRob Herring&gpu_crit {
646724ba675SRob Herring	temperature = <85000>; /* milliCelsius */
647724ba675SRob Herring};
648724ba675SRob Herring
649724ba675SRob Herring&core_crit {
650724ba675SRob Herring	temperature = <85000>; /* milliCelsius */
651724ba675SRob Herring};
652724ba675SRob Herring
653724ba675SRob Herring&dspeve_crit {
654724ba675SRob Herring	temperature = <85000>; /* milliCelsius */
655724ba675SRob Herring};
656724ba675SRob Herring
657724ba675SRob Herring&iva_crit {
658724ba675SRob Herring	temperature = <85000>; /* milliCelsius */
659724ba675SRob Herring};
660724ba675SRob Herring
661724ba675SRob Herring&sata {
662724ba675SRob Herring	status = "disabled";
663724ba675SRob Herring};
664724ba675SRob Herring
665724ba675SRob Herring&sata_phy {
666724ba675SRob Herring	status = "disabled";
667724ba675SRob Herring};
668724ba675SRob Herring
669724ba675SRob Herring/* bluetooth */
670724ba675SRob Herring&uart6 {
671724ba675SRob Herring	status = "okay";
672724ba675SRob Herring};
673724ba675SRob Herring
674724ba675SRob Herring/* cape header stuff */
675724ba675SRob Herring&i2c4 {
676724ba675SRob Herring	status = "okay";
677724ba675SRob Herring	clock-frequency = <100000>;
678724ba675SRob Herring};
679724ba675SRob Herring
680724ba675SRob Herring&ipu2 {
681724ba675SRob Herring	status = "okay";
682724ba675SRob Herring	memory-region = <&ipu2_memory_region>;
683724ba675SRob Herring};
684724ba675SRob Herring
685724ba675SRob Herring&ipu1 {
686724ba675SRob Herring	status = "okay";
687724ba675SRob Herring	memory-region = <&ipu1_memory_region>;
688724ba675SRob Herring};
689724ba675SRob Herring
690724ba675SRob Herring&dsp1 {
691724ba675SRob Herring	status = "okay";
692724ba675SRob Herring	memory-region = <&dsp1_memory_region>;
693724ba675SRob Herring};
694724ba675SRob Herring
695724ba675SRob Herring&dsp2 {
696724ba675SRob Herring	status = "okay";
697724ba675SRob Herring	memory-region = <&dsp2_memory_region>;
698724ba675SRob Herring};
699