xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap3-beagle.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot/dts-v1/;
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot#include "omap34xx.dtsi"
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	model = "TI OMAP3 BeagleBoard";
11*f126890aSEmmanuel Vadot	compatible = "ti,omap3-beagle", "ti,omap3430", "ti,omap3";
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	cpus {
14*f126890aSEmmanuel Vadot		cpu@0 {
15*f126890aSEmmanuel Vadot			cpu0-supply = <&vcc>;
16*f126890aSEmmanuel Vadot		};
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	memory@80000000 {
20*f126890aSEmmanuel Vadot		device_type = "memory";
21*f126890aSEmmanuel Vadot		reg = <0x80000000 0x10000000>; /* 256 MB */
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	aliases {
25*f126890aSEmmanuel Vadot		display0 = &dvi0;
26*f126890aSEmmanuel Vadot		display1 = &tv0;
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	leds {
30*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
31*f126890aSEmmanuel Vadot		led-pmu-stat {
32*f126890aSEmmanuel Vadot			label = "beagleboard::pmu_stat";
33*f126890aSEmmanuel Vadot			gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
34*f126890aSEmmanuel Vadot		};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot		led-heartbeat {
37*f126890aSEmmanuel Vadot			label = "beagleboard::usr0";
38*f126890aSEmmanuel Vadot			gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
39*f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
40*f126890aSEmmanuel Vadot		};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot		led-mmc {
43*f126890aSEmmanuel Vadot			label = "beagleboard::usr1";
44*f126890aSEmmanuel Vadot			gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
45*f126890aSEmmanuel Vadot			linux,default-trigger = "mmc0";
46*f126890aSEmmanuel Vadot		};
47*f126890aSEmmanuel Vadot	};
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot	/* HS USB Port 2 Power */
50*f126890aSEmmanuel Vadot	hsusb2_power: hsusb2_power_reg {
51*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
52*f126890aSEmmanuel Vadot		regulator-name = "hsusb2_vbus";
53*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
54*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
55*f126890aSEmmanuel Vadot		gpio = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;	/* GPIO LEDA */
56*f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
57*f126890aSEmmanuel Vadot	};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot	/* HS USB Host PHY on PORT 2 */
60*f126890aSEmmanuel Vadot	hsusb2_phy: hsusb2-phy-pins {
61*f126890aSEmmanuel Vadot		compatible = "usb-nop-xceiv";
62*f126890aSEmmanuel Vadot		reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>;	/* gpio_147 */
63*f126890aSEmmanuel Vadot		vcc-supply = <&hsusb2_power>;
64*f126890aSEmmanuel Vadot		#phy-cells = <0>;
65*f126890aSEmmanuel Vadot	};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot	sound {
68*f126890aSEmmanuel Vadot		compatible = "ti,omap-twl4030";
69*f126890aSEmmanuel Vadot		ti,model = "omap3beagle";
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot		ti,mcbsp = <&mcbsp2>;
72*f126890aSEmmanuel Vadot	};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot	gpio_keys {
75*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
76*f126890aSEmmanuel Vadot
77*f126890aSEmmanuel Vadot		user {
78*f126890aSEmmanuel Vadot			label = "user";
79*f126890aSEmmanuel Vadot			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
80*f126890aSEmmanuel Vadot			linux,code = <0x114>;
81*f126890aSEmmanuel Vadot			wakeup-source;
82*f126890aSEmmanuel Vadot		};
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot	};
85*f126890aSEmmanuel Vadot
86*f126890aSEmmanuel Vadot	tfp410: encoder0 {
87*f126890aSEmmanuel Vadot		compatible = "ti,tfp410";
88*f126890aSEmmanuel Vadot		powerdown-gpios = <&gpio6 10 GPIO_ACTIVE_LOW>;	/* gpio_170 */
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot		pinctrl-names = "default";
91*f126890aSEmmanuel Vadot		pinctrl-0 = <&tfp410_pins>;
92*f126890aSEmmanuel Vadot
93*f126890aSEmmanuel Vadot		ports {
94*f126890aSEmmanuel Vadot			#address-cells = <1>;
95*f126890aSEmmanuel Vadot			#size-cells = <0>;
96*f126890aSEmmanuel Vadot
97*f126890aSEmmanuel Vadot			port@0 {
98*f126890aSEmmanuel Vadot				reg = <0>;
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot				tfp410_in: endpoint {
101*f126890aSEmmanuel Vadot					remote-endpoint = <&dpi_out>;
102*f126890aSEmmanuel Vadot				};
103*f126890aSEmmanuel Vadot			};
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot			port@1 {
106*f126890aSEmmanuel Vadot				reg = <1>;
107*f126890aSEmmanuel Vadot
108*f126890aSEmmanuel Vadot				tfp410_out: endpoint {
109*f126890aSEmmanuel Vadot					remote-endpoint = <&dvi_connector_in>;
110*f126890aSEmmanuel Vadot				};
111*f126890aSEmmanuel Vadot			};
112*f126890aSEmmanuel Vadot		};
113*f126890aSEmmanuel Vadot	};
114*f126890aSEmmanuel Vadot
115*f126890aSEmmanuel Vadot	dvi0: connector0 {
116*f126890aSEmmanuel Vadot		compatible = "dvi-connector";
117*f126890aSEmmanuel Vadot		label = "dvi";
118*f126890aSEmmanuel Vadot
119*f126890aSEmmanuel Vadot		digital;
120*f126890aSEmmanuel Vadot
121*f126890aSEmmanuel Vadot		ddc-i2c-bus = <&i2c3>;
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot		port {
124*f126890aSEmmanuel Vadot			dvi_connector_in: endpoint {
125*f126890aSEmmanuel Vadot				remote-endpoint = <&tfp410_out>;
126*f126890aSEmmanuel Vadot			};
127*f126890aSEmmanuel Vadot		};
128*f126890aSEmmanuel Vadot	};
129*f126890aSEmmanuel Vadot
130*f126890aSEmmanuel Vadot	tv0: connector1 {
131*f126890aSEmmanuel Vadot		compatible = "svideo-connector";
132*f126890aSEmmanuel Vadot		label = "tv";
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot		port {
135*f126890aSEmmanuel Vadot			tv_connector_in: endpoint {
136*f126890aSEmmanuel Vadot				remote-endpoint = <&venc_out>;
137*f126890aSEmmanuel Vadot			};
138*f126890aSEmmanuel Vadot		};
139*f126890aSEmmanuel Vadot	};
140*f126890aSEmmanuel Vadot
141*f126890aSEmmanuel Vadot	etb@540000000 {
142*f126890aSEmmanuel Vadot		compatible = "arm,coresight-etb10", "arm,primecell";
143*f126890aSEmmanuel Vadot		reg = <0x5401b000 0x1000>;
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot		clocks = <&emu_src_ck>;
146*f126890aSEmmanuel Vadot		clock-names = "apb_pclk";
147*f126890aSEmmanuel Vadot		in-ports {
148*f126890aSEmmanuel Vadot			port {
149*f126890aSEmmanuel Vadot				etb_in: endpoint {
150*f126890aSEmmanuel Vadot					remote-endpoint = <&etm_out>;
151*f126890aSEmmanuel Vadot				};
152*f126890aSEmmanuel Vadot			};
153*f126890aSEmmanuel Vadot		};
154*f126890aSEmmanuel Vadot	};
155*f126890aSEmmanuel Vadot
156*f126890aSEmmanuel Vadot	etm@54010000 {
157*f126890aSEmmanuel Vadot		compatible = "arm,coresight-etm3x", "arm,primecell";
158*f126890aSEmmanuel Vadot		reg = <0x54010000 0x1000>;
159*f126890aSEmmanuel Vadot
160*f126890aSEmmanuel Vadot		clocks = <&emu_src_ck>;
161*f126890aSEmmanuel Vadot		clock-names = "apb_pclk";
162*f126890aSEmmanuel Vadot		out-ports {
163*f126890aSEmmanuel Vadot			port {
164*f126890aSEmmanuel Vadot				etm_out: endpoint {
165*f126890aSEmmanuel Vadot					remote-endpoint = <&etb_in>;
166*f126890aSEmmanuel Vadot				};
167*f126890aSEmmanuel Vadot			};
168*f126890aSEmmanuel Vadot		};
169*f126890aSEmmanuel Vadot	};
170*f126890aSEmmanuel Vadot};
171*f126890aSEmmanuel Vadot
172*f126890aSEmmanuel Vadot&omap3_pmx_wkup {
173*f126890aSEmmanuel Vadot	gpio1_pins: gpio1-pins {
174*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
175*f126890aSEmmanuel Vadot			OMAP3_WKUP_IOPAD(0x2a14, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
176*f126890aSEmmanuel Vadot		>;
177*f126890aSEmmanuel Vadot	};
178*f126890aSEmmanuel Vadot};
179*f126890aSEmmanuel Vadot
180*f126890aSEmmanuel Vadot&omap3_pmx_core {
181*f126890aSEmmanuel Vadot	pinctrl-names = "default";
182*f126890aSEmmanuel Vadot	pinctrl-0 = <
183*f126890aSEmmanuel Vadot			&hsusb2_pins
184*f126890aSEmmanuel Vadot	>;
185*f126890aSEmmanuel Vadot
186*f126890aSEmmanuel Vadot	hsusb2_pins: hsusb2-pins {
187*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
188*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi1_cs3.hsusb2_data2 */
189*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_clk.hsusb2_data7 */
190*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_simo.hsusb2_data4 */
191*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_somi.hsusb2_data5 */
192*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs0.hsusb2_data6 */
193*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs1.hsusb2_data3 */
194*f126890aSEmmanuel Vadot		>;
195*f126890aSEmmanuel Vadot	};
196*f126890aSEmmanuel Vadot
197*f126890aSEmmanuel Vadot	uart3_pins: uart3-pins {
198*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
199*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
200*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
201*f126890aSEmmanuel Vadot		>;
202*f126890aSEmmanuel Vadot	};
203*f126890aSEmmanuel Vadot
204*f126890aSEmmanuel Vadot	tfp410_pins: tfp410-pins {
205*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
206*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21c6, PIN_OUTPUT | MUX_MODE4)	/* hdq_sio.gpio_170 */
207*f126890aSEmmanuel Vadot		>;
208*f126890aSEmmanuel Vadot	};
209*f126890aSEmmanuel Vadot
210*f126890aSEmmanuel Vadot	dss_dpi_pins: dss-dpi-pins {
211*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
212*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0)   /* dss_pclk.dss_pclk */
213*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0)   /* dss_hsync.dss_hsync */
214*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0)   /* dss_vsync.dss_vsync */
215*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0)   /* dss_acbias.dss_acbias */
216*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0)   /* dss_data0.dss_data0 */
217*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0)   /* dss_data1.dss_data1 */
218*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0)   /* dss_data2.dss_data2 */
219*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0)   /* dss_data3.dss_data3 */
220*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0)   /* dss_data4.dss_data4 */
221*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0)   /* dss_data5.dss_data5 */
222*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0)   /* dss_data6.dss_data6 */
223*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0)   /* dss_data7.dss_data7 */
224*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0)   /* dss_data8.dss_data8 */
225*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0)   /* dss_data9.dss_data9 */
226*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0)   /* dss_data10.dss_data10 */
227*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0)   /* dss_data11.dss_data11 */
228*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0)   /* dss_data12.dss_data12 */
229*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0)   /* dss_data13.dss_data13 */
230*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0)   /* dss_data14.dss_data14 */
231*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0)   /* dss_data15.dss_data15 */
232*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0)   /* dss_data16.dss_data16 */
233*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0)   /* dss_data17.dss_data17 */
234*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0)   /* dss_data18.dss_data18 */
235*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0)   /* dss_data19.dss_data19 */
236*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0)   /* dss_data20.dss_data20 */
237*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0)   /* dss_data21.dss_data21 */
238*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0)   /* dss_data22.dss_data22 */
239*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)   /* dss_data23.dss_data23 */
240*f126890aSEmmanuel Vadot		>;
241*f126890aSEmmanuel Vadot	};
242*f126890aSEmmanuel Vadot};
243*f126890aSEmmanuel Vadot
244*f126890aSEmmanuel Vadot&omap3_pmx_core2 {
245*f126890aSEmmanuel Vadot	pinctrl-names = "default";
246*f126890aSEmmanuel Vadot	pinctrl-0 = <
247*f126890aSEmmanuel Vadot			&hsusb2_2_pins
248*f126890aSEmmanuel Vadot	>;
249*f126890aSEmmanuel Vadot
250*f126890aSEmmanuel Vadot	hsusb2_2_pins: hsusb2-2-pins {
251*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
252*f126890aSEmmanuel Vadot			OMAP3430_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)		/* etk_d10.hsusb2_clk */
253*f126890aSEmmanuel Vadot			OMAP3430_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)		/* etk_d11.hsusb2_stp */
254*f126890aSEmmanuel Vadot			OMAP3430_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d12.hsusb2_dir */
255*f126890aSEmmanuel Vadot			OMAP3430_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d13.hsusb2_nxt */
256*f126890aSEmmanuel Vadot			OMAP3430_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d14.hsusb2_data0 */
257*f126890aSEmmanuel Vadot			OMAP3430_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d15.hsusb2_data1 */
258*f126890aSEmmanuel Vadot		>;
259*f126890aSEmmanuel Vadot	};
260*f126890aSEmmanuel Vadot};
261*f126890aSEmmanuel Vadot
262*f126890aSEmmanuel Vadot&i2c1 {
263*f126890aSEmmanuel Vadot	clock-frequency = <2600000>;
264*f126890aSEmmanuel Vadot
265*f126890aSEmmanuel Vadot	twl: twl@48 {
266*f126890aSEmmanuel Vadot		reg = <0x48>;
267*f126890aSEmmanuel Vadot		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
268*f126890aSEmmanuel Vadot		interrupt-parent = <&intc>;
269*f126890aSEmmanuel Vadot
270*f126890aSEmmanuel Vadot		twl_audio: audio {
271*f126890aSEmmanuel Vadot			compatible = "ti,twl4030-audio";
272*f126890aSEmmanuel Vadot			codec {
273*f126890aSEmmanuel Vadot			};
274*f126890aSEmmanuel Vadot		};
275*f126890aSEmmanuel Vadot	};
276*f126890aSEmmanuel Vadot};
277*f126890aSEmmanuel Vadot
278*f126890aSEmmanuel Vadot#include "twl4030.dtsi"
279*f126890aSEmmanuel Vadot#include "twl4030_omap3.dtsi"
280*f126890aSEmmanuel Vadot
281*f126890aSEmmanuel Vadot&i2c3 {
282*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
283*f126890aSEmmanuel Vadot};
284*f126890aSEmmanuel Vadot
285*f126890aSEmmanuel Vadot&mmc1 {
286*f126890aSEmmanuel Vadot	vmmc-supply = <&vmmc1>;
287*f126890aSEmmanuel Vadot	vqmmc-supply = <&vsim>;
288*f126890aSEmmanuel Vadot	bus-width = <8>;
289*f126890aSEmmanuel Vadot};
290*f126890aSEmmanuel Vadot
291*f126890aSEmmanuel Vadot&mmc2 {
292*f126890aSEmmanuel Vadot	status = "disabled";
293*f126890aSEmmanuel Vadot};
294*f126890aSEmmanuel Vadot
295*f126890aSEmmanuel Vadot&mmc3 {
296*f126890aSEmmanuel Vadot	status = "disabled";
297*f126890aSEmmanuel Vadot};
298*f126890aSEmmanuel Vadot
299*f126890aSEmmanuel Vadot&usbhshost {
300*f126890aSEmmanuel Vadot	port2-mode = "ehci-phy";
301*f126890aSEmmanuel Vadot};
302*f126890aSEmmanuel Vadot
303*f126890aSEmmanuel Vadot&usbhsehci {
304*f126890aSEmmanuel Vadot	phys = <0 &hsusb2_phy>;
305*f126890aSEmmanuel Vadot};
306*f126890aSEmmanuel Vadot
307*f126890aSEmmanuel Vadot&twl_gpio {
308*f126890aSEmmanuel Vadot	ti,use-leds;
309*f126890aSEmmanuel Vadot	/* pullups: BIT(1) */
310*f126890aSEmmanuel Vadot	ti,pullups = <0x000002>;
311*f126890aSEmmanuel Vadot	/*
312*f126890aSEmmanuel Vadot	 * pulldowns:
313*f126890aSEmmanuel Vadot	 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
314*f126890aSEmmanuel Vadot	 * BIT(15), BIT(16), BIT(17)
315*f126890aSEmmanuel Vadot	 */
316*f126890aSEmmanuel Vadot	ti,pulldowns = <0x03a1c4>;
317*f126890aSEmmanuel Vadot};
318*f126890aSEmmanuel Vadot
319*f126890aSEmmanuel Vadot&uart3 {
320*f126890aSEmmanuel Vadot	pinctrl-names = "default";
321*f126890aSEmmanuel Vadot	pinctrl-0 = <&uart3_pins>;
322*f126890aSEmmanuel Vadot	interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
323*f126890aSEmmanuel Vadot};
324*f126890aSEmmanuel Vadot
325*f126890aSEmmanuel Vadot&gpio1 {
326*f126890aSEmmanuel Vadot	pinctrl-names = "default";
327*f126890aSEmmanuel Vadot	pinctrl-0 = <&gpio1_pins>;
328*f126890aSEmmanuel Vadot};
329*f126890aSEmmanuel Vadot
330*f126890aSEmmanuel Vadot&usb_otg_hs {
331*f126890aSEmmanuel Vadot	interface-type = <0>;
332*f126890aSEmmanuel Vadot	usb-phy = <&usb2_phy>;
333*f126890aSEmmanuel Vadot	phys = <&usb2_phy>;
334*f126890aSEmmanuel Vadot	phy-names = "usb2-phy";
335*f126890aSEmmanuel Vadot	mode = <3>;
336*f126890aSEmmanuel Vadot	power = <50>;
337*f126890aSEmmanuel Vadot};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot&vaux2 {
340*f126890aSEmmanuel Vadot	regulator-name = "vdd_ehci";
341*f126890aSEmmanuel Vadot	regulator-min-microvolt = <1800000>;
342*f126890aSEmmanuel Vadot	regulator-max-microvolt = <1800000>;
343*f126890aSEmmanuel Vadot	regulator-always-on;
344*f126890aSEmmanuel Vadot};
345*f126890aSEmmanuel Vadot
346*f126890aSEmmanuel Vadot&mcbsp2 {
347*f126890aSEmmanuel Vadot	status = "okay";
348*f126890aSEmmanuel Vadot};
349*f126890aSEmmanuel Vadot
350*f126890aSEmmanuel Vadot/* Needed to power the DPI pins */
351*f126890aSEmmanuel Vadot&vpll2 {
352*f126890aSEmmanuel Vadot	regulator-always-on;
353*f126890aSEmmanuel Vadot};
354*f126890aSEmmanuel Vadot
355*f126890aSEmmanuel Vadot&dss {
356*f126890aSEmmanuel Vadot	status = "okay";
357*f126890aSEmmanuel Vadot
358*f126890aSEmmanuel Vadot	pinctrl-names = "default";
359*f126890aSEmmanuel Vadot	pinctrl-0 = <&dss_dpi_pins>;
360*f126890aSEmmanuel Vadot
361*f126890aSEmmanuel Vadot	port {
362*f126890aSEmmanuel Vadot		dpi_out: endpoint {
363*f126890aSEmmanuel Vadot			remote-endpoint = <&tfp410_in>;
364*f126890aSEmmanuel Vadot			data-lines = <24>;
365*f126890aSEmmanuel Vadot		};
366*f126890aSEmmanuel Vadot	};
367*f126890aSEmmanuel Vadot};
368*f126890aSEmmanuel Vadot
369*f126890aSEmmanuel Vadot&venc {
370*f126890aSEmmanuel Vadot	status = "okay";
371*f126890aSEmmanuel Vadot
372*f126890aSEmmanuel Vadot	vdda-supply = <&vdac>;
373*f126890aSEmmanuel Vadot
374*f126890aSEmmanuel Vadot	port {
375*f126890aSEmmanuel Vadot		venc_out: endpoint {
376*f126890aSEmmanuel Vadot			remote-endpoint = <&tv_connector_in>;
377*f126890aSEmmanuel Vadot			ti,channels = <2>;
378*f126890aSEmmanuel Vadot		};
379*f126890aSEmmanuel Vadot	};
380*f126890aSEmmanuel Vadot};
381*f126890aSEmmanuel Vadot
382*f126890aSEmmanuel Vadot&gpmc {
383*f126890aSEmmanuel Vadot	status = "okay";
384*f126890aSEmmanuel Vadot	ranges = <0 0 0x30000000 0x1000000>;	/* CS0 space, 16MB */
385*f126890aSEmmanuel Vadot
386*f126890aSEmmanuel Vadot	/* Chip select 0 */
387*f126890aSEmmanuel Vadot	nand@0,0 {
388*f126890aSEmmanuel Vadot		compatible = "ti,omap2-nand";
389*f126890aSEmmanuel Vadot		reg = <0 0 4>;		/* NAND I/O window, 4 bytes */
390*f126890aSEmmanuel Vadot		interrupt-parent = <&gpmc>;
391*f126890aSEmmanuel Vadot		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
392*f126890aSEmmanuel Vadot			     <1 IRQ_TYPE_NONE>;	/* termcount */
393*f126890aSEmmanuel Vadot		ti,nand-ecc-opt = "ham1";
394*f126890aSEmmanuel Vadot		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
395*f126890aSEmmanuel Vadot		nand-bus-width = <16>;
396*f126890aSEmmanuel Vadot		#address-cells = <1>;
397*f126890aSEmmanuel Vadot		#size-cells = <1>;
398*f126890aSEmmanuel Vadot
399*f126890aSEmmanuel Vadot		gpmc,device-width = <2>;
400*f126890aSEmmanuel Vadot		gpmc,cs-on-ns = <0>;
401*f126890aSEmmanuel Vadot		gpmc,cs-rd-off-ns = <36>;
402*f126890aSEmmanuel Vadot		gpmc,cs-wr-off-ns = <36>;
403*f126890aSEmmanuel Vadot		gpmc,adv-on-ns = <6>;
404*f126890aSEmmanuel Vadot		gpmc,adv-rd-off-ns = <24>;
405*f126890aSEmmanuel Vadot		gpmc,adv-wr-off-ns = <36>;
406*f126890aSEmmanuel Vadot		gpmc,oe-on-ns = <6>;
407*f126890aSEmmanuel Vadot		gpmc,oe-off-ns = <48>;
408*f126890aSEmmanuel Vadot		gpmc,we-on-ns = <6>;
409*f126890aSEmmanuel Vadot		gpmc,we-off-ns = <30>;
410*f126890aSEmmanuel Vadot		gpmc,rd-cycle-ns = <72>;
411*f126890aSEmmanuel Vadot		gpmc,wr-cycle-ns = <72>;
412*f126890aSEmmanuel Vadot		gpmc,access-ns = <54>;
413*f126890aSEmmanuel Vadot		gpmc,wr-access-ns = <30>;
414*f126890aSEmmanuel Vadot
415*f126890aSEmmanuel Vadot		partition@0 {
416*f126890aSEmmanuel Vadot			label = "X-Loader";
417*f126890aSEmmanuel Vadot			reg = <0 0x80000>;
418*f126890aSEmmanuel Vadot		};
419*f126890aSEmmanuel Vadot		partition@80000 {
420*f126890aSEmmanuel Vadot			label = "U-Boot";
421*f126890aSEmmanuel Vadot			reg = <0x80000 0x1e0000>;
422*f126890aSEmmanuel Vadot		};
423*f126890aSEmmanuel Vadot		partition@1c0000 {
424*f126890aSEmmanuel Vadot			label = "U-Boot Env";
425*f126890aSEmmanuel Vadot			reg = <0x260000 0x20000>;
426*f126890aSEmmanuel Vadot		};
427*f126890aSEmmanuel Vadot		partition@280000 {
428*f126890aSEmmanuel Vadot			label = "Kernel";
429*f126890aSEmmanuel Vadot			reg = <0x280000 0x400000>;
430*f126890aSEmmanuel Vadot		};
431*f126890aSEmmanuel Vadot		partition@780000 {
432*f126890aSEmmanuel Vadot			label = "Filesystem";
433*f126890aSEmmanuel Vadot			reg = <0x680000 0xf980000>;
434*f126890aSEmmanuel Vadot		};
435*f126890aSEmmanuel Vadot	};
436*f126890aSEmmanuel Vadot};
437