xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/omap3-tao3530.dtsi (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 * Copyright (C) 2014 Stefan Roese <sr@denx.de>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot/dts-v1/;
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include "omap34xx.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/* Secure omaps have some devices inaccessible depending on the firmware */
11*f126890aSEmmanuel Vadot&aes1_target {
12*f126890aSEmmanuel Vadot	status = "disabled";
13*f126890aSEmmanuel Vadot};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot&aes2_target {
16*f126890aSEmmanuel Vadot	status = "disabled";
17*f126890aSEmmanuel Vadot};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot&sham {
20*f126890aSEmmanuel Vadot	status = "disabled";
21*f126890aSEmmanuel Vadot};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot/ {
24*f126890aSEmmanuel Vadot	cpus {
25*f126890aSEmmanuel Vadot		cpu@0 {
26*f126890aSEmmanuel Vadot			cpu0-supply = <&vcc>;
27*f126890aSEmmanuel Vadot		};
28*f126890aSEmmanuel Vadot	};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot	memory@80000000 {
31*f126890aSEmmanuel Vadot		device_type = "memory";
32*f126890aSEmmanuel Vadot		reg = <0x80000000 0x10000000>; /* 256 MB */
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot	/* HS USB Port 2 Power */
36*f126890aSEmmanuel Vadot	hsusb2_power: hsusb2_power_reg {
37*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
38*f126890aSEmmanuel Vadot		regulator-name = "hsusb2_vbus";
39*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
40*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
41*f126890aSEmmanuel Vadot		gpio = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;	/* GPIO LEDA */
42*f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot	/* HS USB Host PHY on PORT 2 */
46*f126890aSEmmanuel Vadot	hsusb2_phy: hsusb2-phy-pins {
47*f126890aSEmmanuel Vadot		compatible = "usb-nop-xceiv";
48*f126890aSEmmanuel Vadot		reset-gpios = <&gpio6 2 GPIO_ACTIVE_LOW>;	/* gpio_162 */
49*f126890aSEmmanuel Vadot		vcc-supply = <&hsusb2_power>;
50*f126890aSEmmanuel Vadot		#phy-cells = <0>;
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot	sound {
54*f126890aSEmmanuel Vadot		compatible = "ti,omap-twl4030";
55*f126890aSEmmanuel Vadot		ti,model = "omap3beagle";
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot		/* McBSP2 is used for onboard sound, same as on beagle */
58*f126890aSEmmanuel Vadot		ti,mcbsp = <&mcbsp2>;
59*f126890aSEmmanuel Vadot	};
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot	/* Regulator to enable/switch the vcc of the Wifi module */
62*f126890aSEmmanuel Vadot	mmc2_sdio_poweron: regulator-mmc2-sdio-poweron {
63*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
64*f126890aSEmmanuel Vadot		regulator-name = "regulator-mmc2-sdio-poweron";
65*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3150000>;
66*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3150000>;
67*f126890aSEmmanuel Vadot		gpio = <&gpio5 29 GPIO_ACTIVE_LOW>;		/* gpio_157 */
68*f126890aSEmmanuel Vadot		startup-delay-us = <10000>;
69*f126890aSEmmanuel Vadot	};
70*f126890aSEmmanuel Vadot};
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot&omap3_pmx_core {
73*f126890aSEmmanuel Vadot	hsusbb2_pins: hsusbb2-pins {
74*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
75*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)		/* etk_d10.hsusb2_clk */
76*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)		/* etk_d11.hsusb2_stp */
77*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d12.hsusb2_dir */
78*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d13.hsusb2_nxt */
79*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d14.hsusb2_data0 */
80*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d15.hsusb2_data1 */
81*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi1_cs3.hsusb2_data2 */
82*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_clk.hsusb2_data7 */
83*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_simo.hsusb2_data4 */
84*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_somi.hsusb2_data5 */
85*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs0.hsusb2_data6 */
86*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs1.hsusb2_data3 */
87*f126890aSEmmanuel Vadot		>;
88*f126890aSEmmanuel Vadot	};
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot	mmc1_pins: mmc1-pins {
91*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
92*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_clk.sdmmc1_clk */
93*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_cmd.sdmmc1_cmd */
94*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat0.sdmmc1_dat0 */
95*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat1.sdmmc1_dat1 */
96*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat2.sdmmc1_dat2 */
97*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat3.sdmmc1_dat3 */
98*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2150, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat4.sdmmc1_dat4 */
99*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2152, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat5.sdmmc1_dat5 */
100*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2154, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat6.sdmmc1_dat6 */
101*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2156, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat7.sdmmc1_dat7 */
102*f126890aSEmmanuel Vadot		>;
103*f126890aSEmmanuel Vadot	};
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot	mmc2_pins: mmc2-pins {
106*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
107*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_clk.sdmmc2_clk */
108*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_cmd.sdmmc2_cmd */
109*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat0.sdmmc2_dat0 */
110*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat1.sdmmc2_dat1 */
111*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat2.sdmmc2_dat2 */
112*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat3.sdmmc2_dat3 */
113*f126890aSEmmanuel Vadot		>;
114*f126890aSEmmanuel Vadot	};
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot	/* wlan GPIO output for WLAN_EN */
117*f126890aSEmmanuel Vadot	wlan_gpio: wlan-gpio-pins {
118*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
119*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4)	/* mcbsp1_fsr gpio_157 */
120*f126890aSEmmanuel Vadot		>;
121*f126890aSEmmanuel Vadot	};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot	uart3_pins: uart3-pins {
124*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
125*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
126*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)	/* uart3_tx_irtx.uart3_tx_irtx */
127*f126890aSEmmanuel Vadot		>;
128*f126890aSEmmanuel Vadot	};
129*f126890aSEmmanuel Vadot
130*f126890aSEmmanuel Vadot	i2c3_pins: i2c3-pins {
131*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
132*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
133*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
134*f126890aSEmmanuel Vadot		>;
135*f126890aSEmmanuel Vadot	};
136*f126890aSEmmanuel Vadot
137*f126890aSEmmanuel Vadot	mcspi1_pins: mcspi1-pins {
138*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
139*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21c8, PIN_INPUT | MUX_MODE0)	/* mcspi1_clk.mcspi1_clk */
140*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21ca, PIN_OUTPUT | MUX_MODE0)	/* mcspi1_simo.mcspi1_simo */
141*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21cc, PIN_INPUT_PULLUP | MUX_MODE0)	/* mcspi1_somi.mcspi1_somi */
142*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x21ce, PIN_OUTPUT | MUX_MODE0)	/* mcspi1_cs0.mcspi1_cs0 */
143*f126890aSEmmanuel Vadot		>;
144*f126890aSEmmanuel Vadot	};
145*f126890aSEmmanuel Vadot
146*f126890aSEmmanuel Vadot	mcspi3_pins: mcspi3-pins {
147*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
148*f126890aSEmmanuel Vadot                        OMAP3_CORE1_IOPAD(0x25dc, PIN_OUTPUT | MUX_MODE1)	/* etk_d0.mcspi3_simo gpio14 INPUT | MODE1 */
149*f126890aSEmmanuel Vadot                        OMAP3_CORE1_IOPAD(0x25de, PIN_INPUT_PULLUP | MUX_MODE1)	/* etk_d1.mcspi3_somi gpio15 INPUT | MODE1 */
150*f126890aSEmmanuel Vadot                        OMAP3_CORE1_IOPAD(0x25e0, PIN_OUTPUT | MUX_MODE1)	/* etk_d2.mcspi3_cs0 gpio16 INPUT | MODE1 */
151*f126890aSEmmanuel Vadot                        OMAP3_CORE1_IOPAD(0x25e2, PIN_INPUT | MUX_MODE1)	/* etk_d3.mcspi3_clk gpio17 INPUT | MODE1 */
152*f126890aSEmmanuel Vadot		>;
153*f126890aSEmmanuel Vadot	};
154*f126890aSEmmanuel Vadot
155*f126890aSEmmanuel Vadot	mcbsp3_pins: mcbsp3-pins {
156*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
157*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x216c, PIN_OUTPUT | MUX_MODE0)	/* mcbsp3_dx.uart2_cts */
158*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x216e, PIN_INPUT | MUX_MODE0)	/* mcbsp3_dr.uart2_rts */
159*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2170, PIN_INPUT | MUX_MODE0)	/* mcbsp3_clk.uart2_tx */
160*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE0)	/* mcbsp3_fsx.uart2_rx */
161*f126890aSEmmanuel Vadot		>;
162*f126890aSEmmanuel Vadot	};
163*f126890aSEmmanuel Vadot};
164*f126890aSEmmanuel Vadot
165*f126890aSEmmanuel Vadot/* McBSP1: mux'ed with GPIO158 as clock for HA-DSP */
166*f126890aSEmmanuel Vadot&mcbsp1 {
167*f126890aSEmmanuel Vadot	status = "disabled";
168*f126890aSEmmanuel Vadot};
169*f126890aSEmmanuel Vadot
170*f126890aSEmmanuel Vadot&mcbsp2 {
171*f126890aSEmmanuel Vadot	status = "okay";
172*f126890aSEmmanuel Vadot};
173*f126890aSEmmanuel Vadot
174*f126890aSEmmanuel Vadot&i2c1 {
175*f126890aSEmmanuel Vadot	clock-frequency = <2600000>;
176*f126890aSEmmanuel Vadot
177*f126890aSEmmanuel Vadot	twl: twl@48 {
178*f126890aSEmmanuel Vadot		reg = <0x48>;
179*f126890aSEmmanuel Vadot		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
180*f126890aSEmmanuel Vadot		interrupt-parent = <&intc>;
181*f126890aSEmmanuel Vadot
182*f126890aSEmmanuel Vadot		twl_audio: audio {
183*f126890aSEmmanuel Vadot			compatible = "ti,twl4030-audio";
184*f126890aSEmmanuel Vadot			codec {
185*f126890aSEmmanuel Vadot			};
186*f126890aSEmmanuel Vadot		};
187*f126890aSEmmanuel Vadot	};
188*f126890aSEmmanuel Vadot};
189*f126890aSEmmanuel Vadot
190*f126890aSEmmanuel Vadot&i2c3 {
191*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
192*f126890aSEmmanuel Vadot
193*f126890aSEmmanuel Vadot	pinctrl-names = "default";
194*f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c3_pins>;
195*f126890aSEmmanuel Vadot};
196*f126890aSEmmanuel Vadot
197*f126890aSEmmanuel Vadot&mcspi1 {
198*f126890aSEmmanuel Vadot	pinctrl-names = "default";
199*f126890aSEmmanuel Vadot	pinctrl-0 = <&mcspi1_pins>;
200*f126890aSEmmanuel Vadot};
201*f126890aSEmmanuel Vadot
202*f126890aSEmmanuel Vadot&mcspi3 {
203*f126890aSEmmanuel Vadot	pinctrl-names = "default";
204*f126890aSEmmanuel Vadot	pinctrl-0 = <&mcspi3_pins>;
205*f126890aSEmmanuel Vadot};
206*f126890aSEmmanuel Vadot
207*f126890aSEmmanuel Vadot#include "twl4030.dtsi"
208*f126890aSEmmanuel Vadot#include "twl4030_omap3.dtsi"
209*f126890aSEmmanuel Vadot
210*f126890aSEmmanuel Vadot&mmc1 {
211*f126890aSEmmanuel Vadot	pinctrl-names = "default";
212*f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc1_pins>;
213*f126890aSEmmanuel Vadot	vmmc-supply = <&vmmc1>;
214*f126890aSEmmanuel Vadot	vqmmc-supply = <&vsim>;
215*f126890aSEmmanuel Vadot	cd-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
216*f126890aSEmmanuel Vadot	bus-width = <8>;
217*f126890aSEmmanuel Vadot};
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot// WiFi (Marvell 88W8686) on MMC2/SDIO
220*f126890aSEmmanuel Vadot&mmc2 {
221*f126890aSEmmanuel Vadot	pinctrl-names = "default";
222*f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc2_pins>;
223*f126890aSEmmanuel Vadot	vmmc-supply = <&mmc2_sdio_poweron>;
224*f126890aSEmmanuel Vadot	non-removable;
225*f126890aSEmmanuel Vadot	bus-width = <4>;
226*f126890aSEmmanuel Vadot	cap-power-off-card;
227*f126890aSEmmanuel Vadot};
228*f126890aSEmmanuel Vadot
229*f126890aSEmmanuel Vadot&mmc3 {
230*f126890aSEmmanuel Vadot	status = "disabled";
231*f126890aSEmmanuel Vadot};
232*f126890aSEmmanuel Vadot
233*f126890aSEmmanuel Vadot&usbhshost {
234*f126890aSEmmanuel Vadot	port2-mode = "ehci-phy";
235*f126890aSEmmanuel Vadot};
236*f126890aSEmmanuel Vadot
237*f126890aSEmmanuel Vadot&usbhsehci {
238*f126890aSEmmanuel Vadot	phys = <0 &hsusb2_phy>;
239*f126890aSEmmanuel Vadot};
240*f126890aSEmmanuel Vadot
241*f126890aSEmmanuel Vadot&twl_gpio {
242*f126890aSEmmanuel Vadot	ti,use-leds;
243*f126890aSEmmanuel Vadot	/* pullups: BIT(1) */
244*f126890aSEmmanuel Vadot	ti,pullups = <0x000002>;
245*f126890aSEmmanuel Vadot	/*
246*f126890aSEmmanuel Vadot	 * pulldowns:
247*f126890aSEmmanuel Vadot	 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
248*f126890aSEmmanuel Vadot	 * BIT(15), BIT(16), BIT(17)
249*f126890aSEmmanuel Vadot	 */
250*f126890aSEmmanuel Vadot	ti,pulldowns = <0x03a1c4>;
251*f126890aSEmmanuel Vadot};
252*f126890aSEmmanuel Vadot
253*f126890aSEmmanuel Vadot&uart3 {
254*f126890aSEmmanuel Vadot	pinctrl-names = "default";
255*f126890aSEmmanuel Vadot	pinctrl-0 = <&uart3_pins>;
256*f126890aSEmmanuel Vadot};
257*f126890aSEmmanuel Vadot
258*f126890aSEmmanuel Vadot&mcbsp3 {
259*f126890aSEmmanuel Vadot	status = "okay";
260*f126890aSEmmanuel Vadot	pinctrl-names = "default";
261*f126890aSEmmanuel Vadot	pinctrl-0 = <&mcbsp3_pins>;
262*f126890aSEmmanuel Vadot};
263*f126890aSEmmanuel Vadot
264*f126890aSEmmanuel Vadot&gpmc {
265*f126890aSEmmanuel Vadot	ranges = <0 0 0x30000000 0x01000000>;	/* CS0: 16MB for NAND */
266*f126890aSEmmanuel Vadot
267*f126890aSEmmanuel Vadot	nand@0,0 {
268*f126890aSEmmanuel Vadot		compatible = "ti,omap2-nand";
269*f126890aSEmmanuel Vadot		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
270*f126890aSEmmanuel Vadot		interrupt-parent = <&gpmc>;
271*f126890aSEmmanuel Vadot		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
272*f126890aSEmmanuel Vadot			     <1 IRQ_TYPE_NONE>;	/* termcount */
273*f126890aSEmmanuel Vadot		nand-bus-width = <16>;
274*f126890aSEmmanuel Vadot		gpmc,device-width = <2>;	/* GPMC_DEVWIDTH_16BIT */
275*f126890aSEmmanuel Vadot		ti,nand-ecc-opt = "sw";
276*f126890aSEmmanuel Vadot
277*f126890aSEmmanuel Vadot		gpmc,cs-on-ns = <0>;
278*f126890aSEmmanuel Vadot		gpmc,cs-rd-off-ns = <36>;
279*f126890aSEmmanuel Vadot		gpmc,cs-wr-off-ns = <36>;
280*f126890aSEmmanuel Vadot		gpmc,adv-on-ns = <6>;
281*f126890aSEmmanuel Vadot		gpmc,adv-rd-off-ns = <24>;
282*f126890aSEmmanuel Vadot		gpmc,adv-wr-off-ns = <36>;
283*f126890aSEmmanuel Vadot		gpmc,oe-on-ns = <6>;
284*f126890aSEmmanuel Vadot		gpmc,oe-off-ns = <48>;
285*f126890aSEmmanuel Vadot		gpmc,we-on-ns = <6>;
286*f126890aSEmmanuel Vadot		gpmc,we-off-ns = <30>;
287*f126890aSEmmanuel Vadot		gpmc,rd-cycle-ns = <72>;
288*f126890aSEmmanuel Vadot		gpmc,wr-cycle-ns = <72>;
289*f126890aSEmmanuel Vadot		gpmc,access-ns = <54>;
290*f126890aSEmmanuel Vadot		gpmc,wr-access-ns = <30>;
291*f126890aSEmmanuel Vadot
292*f126890aSEmmanuel Vadot		#address-cells = <1>;
293*f126890aSEmmanuel Vadot		#size-cells = <1>;
294*f126890aSEmmanuel Vadot
295*f126890aSEmmanuel Vadot		x-loader@0 {
296*f126890aSEmmanuel Vadot			label = "X-Loader";
297*f126890aSEmmanuel Vadot			reg = <0 0x80000>;
298*f126890aSEmmanuel Vadot		};
299*f126890aSEmmanuel Vadot
300*f126890aSEmmanuel Vadot		bootloaders@80000 {
301*f126890aSEmmanuel Vadot			label = "U-Boot";
302*f126890aSEmmanuel Vadot			reg = <0x80000 0x1e0000>;
303*f126890aSEmmanuel Vadot		};
304*f126890aSEmmanuel Vadot
305*f126890aSEmmanuel Vadot		bootloaders_env@260000 {
306*f126890aSEmmanuel Vadot			label = "U-Boot Env";
307*f126890aSEmmanuel Vadot			reg = <0x260000 0x20000>;
308*f126890aSEmmanuel Vadot		};
309*f126890aSEmmanuel Vadot
310*f126890aSEmmanuel Vadot		kernel@280000 {
311*f126890aSEmmanuel Vadot			label = "Kernel";
312*f126890aSEmmanuel Vadot			reg = <0x280000 0x400000>;
313*f126890aSEmmanuel Vadot		};
314*f126890aSEmmanuel Vadot
315*f126890aSEmmanuel Vadot		filesystem@680000 {
316*f126890aSEmmanuel Vadot			label = "File System";
317*f126890aSEmmanuel Vadot			reg = <0x680000 0xf980000>;
318*f126890aSEmmanuel Vadot		};
319*f126890aSEmmanuel Vadot	};
320*f126890aSEmmanuel Vadot};
321*f126890aSEmmanuel Vadot
322*f126890aSEmmanuel Vadot&usb_otg_hs {
323*f126890aSEmmanuel Vadot	interface-type = <0>;
324*f126890aSEmmanuel Vadot	usb-phy = <&usb2_phy>;
325*f126890aSEmmanuel Vadot	phys = <&usb2_phy>;
326*f126890aSEmmanuel Vadot	phy-names = "usb2-phy";
327*f126890aSEmmanuel Vadot	mode = <3>;
328*f126890aSEmmanuel Vadot	power = <50>;
329*f126890aSEmmanuel Vadot};
330*f126890aSEmmanuel Vadot
331*f126890aSEmmanuel Vadot&vaux2 {
332*f126890aSEmmanuel Vadot	regulator-name = "vdd_ehci";
333*f126890aSEmmanuel Vadot	regulator-min-microvolt = <1800000>;
334*f126890aSEmmanuel Vadot	regulator-max-microvolt = <1800000>;
335*f126890aSEmmanuel Vadot	regulator-always-on;
336*f126890aSEmmanuel Vadot};
337