xref: /linux/arch/arm/boot/dts/nxp/imx/imx53-tx53.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring/*
2*724ba675SRob Herring * Copyright 2012-2017 <LW@KARO-electronics.de>
3*724ba675SRob Herring * based on imx53-qsb.dts
4*724ba675SRob Herring *   Copyright 2011 Freescale Semiconductor, Inc.
5*724ba675SRob Herring *   Copyright 2011 Linaro Ltd.
6*724ba675SRob Herring *
7*724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms
8*724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual
9*724ba675SRob Herring * licensing only applies to this file, and not this project as a
10*724ba675SRob Herring * whole.
11*724ba675SRob Herring *
12*724ba675SRob Herring *  a) This file is free software; you can redistribute it and/or
13*724ba675SRob Herring *     modify it under the terms of the GNU General Public License
14*724ba675SRob Herring *     version 2 as published by the Free Software Foundation.
15*724ba675SRob Herring *
16*724ba675SRob Herring *     This file is distributed in the hope that it will be useful,
17*724ba675SRob Herring *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18*724ba675SRob Herring *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*724ba675SRob Herring *     GNU General Public License for more details.
20*724ba675SRob Herring *
21*724ba675SRob Herring * Or, alternatively,
22*724ba675SRob Herring *
23*724ba675SRob Herring *  b) Permission is hereby granted, free of charge, to any person
24*724ba675SRob Herring *     obtaining a copy of this software and associated documentation
25*724ba675SRob Herring *     files (the "Software"), to deal in the Software without
26*724ba675SRob Herring *     restriction, including without limitation the rights to use,
27*724ba675SRob Herring *     copy, modify, merge, publish, distribute, sublicense, and/or
28*724ba675SRob Herring *     sell copies of the Software, and to permit persons to whom the
29*724ba675SRob Herring *     Software is furnished to do so, subject to the following
30*724ba675SRob Herring *     conditions:
31*724ba675SRob Herring *
32*724ba675SRob Herring *     The above copyright notice and this permission notice shall be
33*724ba675SRob Herring *     included in all copies or substantial portions of the Software.
34*724ba675SRob Herring *
35*724ba675SRob Herring *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36*724ba675SRob Herring *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37*724ba675SRob Herring *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38*724ba675SRob Herring *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39*724ba675SRob Herring *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40*724ba675SRob Herring *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41*724ba675SRob Herring *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42*724ba675SRob Herring *     OTHER DEALINGS IN THE SOFTWARE.
43*724ba675SRob Herring */
44*724ba675SRob Herring
45*724ba675SRob Herring#include "imx53.dtsi"
46*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
47*724ba675SRob Herring
48*724ba675SRob Herring/ {
49*724ba675SRob Herring	model = "Ka-Ro electronics TX53 module";
50*724ba675SRob Herring	compatible = "karo,tx53", "fsl,imx53";
51*724ba675SRob Herring
52*724ba675SRob Herring	/* Will be filled by the bootloader */
53*724ba675SRob Herring	memory@70000000 {
54*724ba675SRob Herring		device_type = "memory";
55*724ba675SRob Herring		reg = <0x70000000 0>;
56*724ba675SRob Herring	};
57*724ba675SRob Herring
58*724ba675SRob Herring	aliases {
59*724ba675SRob Herring		can0 = &can2; /* Make the can interface indices consistent with TX28/TX48 modules */
60*724ba675SRob Herring		can1 = &can1;
61*724ba675SRob Herring		ipu = &ipu;
62*724ba675SRob Herring		reg-can-xcvr = &reg_can_xcvr;
63*724ba675SRob Herring		usbh1 = &usbh1;
64*724ba675SRob Herring		usbotg = &usbotg;
65*724ba675SRob Herring	};
66*724ba675SRob Herring
67*724ba675SRob Herring	clocks {
68*724ba675SRob Herring		ckih1 {
69*724ba675SRob Herring			clock-frequency = <0>;
70*724ba675SRob Herring		};
71*724ba675SRob Herring	};
72*724ba675SRob Herring
73*724ba675SRob Herring	mclk: clock-mclk {
74*724ba675SRob Herring		compatible = "fixed-clock";
75*724ba675SRob Herring		#clock-cells = <0>;
76*724ba675SRob Herring		clock-frequency = <26000000>;
77*724ba675SRob Herring	};
78*724ba675SRob Herring
79*724ba675SRob Herring	gpio-keys {
80*724ba675SRob Herring		compatible = "gpio-keys";
81*724ba675SRob Herring		pinctrl-names = "default";
82*724ba675SRob Herring		pinctrl-0 = <&pinctrl_gpio_key>;
83*724ba675SRob Herring
84*724ba675SRob Herring		key-power {
85*724ba675SRob Herring			label = "Power Button";
86*724ba675SRob Herring			gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
87*724ba675SRob Herring			linux,code = <116>; /* KEY_POWER */
88*724ba675SRob Herring			wakeup-source;
89*724ba675SRob Herring		};
90*724ba675SRob Herring	};
91*724ba675SRob Herring
92*724ba675SRob Herring	leds {
93*724ba675SRob Herring		compatible = "gpio-leds";
94*724ba675SRob Herring		pinctrl-names = "default";
95*724ba675SRob Herring		pinctrl-0 = <&pinctrl_stk5led>;
96*724ba675SRob Herring
97*724ba675SRob Herring		led-user {
98*724ba675SRob Herring			label = "Heartbeat";
99*724ba675SRob Herring			gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
100*724ba675SRob Herring			linux,default-trigger = "heartbeat";
101*724ba675SRob Herring		};
102*724ba675SRob Herring	};
103*724ba675SRob Herring
104*724ba675SRob Herring	reg_2v5: regulator-2v5 {
105*724ba675SRob Herring		compatible = "regulator-fixed";
106*724ba675SRob Herring		regulator-name = "2V5";
107*724ba675SRob Herring		regulator-min-microvolt = <2500000>;
108*724ba675SRob Herring		regulator-max-microvolt = <2500000>;
109*724ba675SRob Herring	};
110*724ba675SRob Herring
111*724ba675SRob Herring	reg_3v3: regulator-3v3 {
112*724ba675SRob Herring		compatible = "regulator-fixed";
113*724ba675SRob Herring		regulator-name = "3V3";
114*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
115*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
116*724ba675SRob Herring	};
117*724ba675SRob Herring
118*724ba675SRob Herring	reg_can_xcvr: regulator-can-xcvr {
119*724ba675SRob Herring		compatible = "regulator-fixed";
120*724ba675SRob Herring		regulator-name = "CAN XCVR";
121*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
122*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
123*724ba675SRob Herring		pinctrl-names = "default";
124*724ba675SRob Herring		pinctrl-0 = <&pinctrl_can_xcvr>;
125*724ba675SRob Herring		gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
126*724ba675SRob Herring	};
127*724ba675SRob Herring
128*724ba675SRob Herring	reg_usbh1_vbus: regulator-usbh1-vbus {
129*724ba675SRob Herring		compatible = "regulator-fixed";
130*724ba675SRob Herring		regulator-name = "usbh1_vbus";
131*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
132*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
133*724ba675SRob Herring		pinctrl-names = "default";
134*724ba675SRob Herring		pinctrl-0 = <&pinctrl_usbh1_vbus>;
135*724ba675SRob Herring		gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
136*724ba675SRob Herring		enable-active-high;
137*724ba675SRob Herring	};
138*724ba675SRob Herring
139*724ba675SRob Herring	reg_usbotg_vbus: regulator-usbotg-vbus {
140*724ba675SRob Herring		compatible = "regulator-fixed";
141*724ba675SRob Herring		regulator-name = "usbotg_vbus";
142*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
143*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
144*724ba675SRob Herring		pinctrl-names = "default";
145*724ba675SRob Herring		pinctrl-0 = <&pinctrl_usbotg_vbus>;
146*724ba675SRob Herring		gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
147*724ba675SRob Herring		enable-active-high;
148*724ba675SRob Herring	};
149*724ba675SRob Herring
150*724ba675SRob Herring	sound {
151*724ba675SRob Herring		compatible = "karo,tx53-audio-sgtl5000", "fsl,imx-audio-sgtl5000";
152*724ba675SRob Herring		model = "tx53-audio-sgtl5000";
153*724ba675SRob Herring		ssi-controller = <&ssi1>;
154*724ba675SRob Herring		audio-codec = <&sgtl5000>;
155*724ba675SRob Herring		audio-routing =
156*724ba675SRob Herring			"MIC_IN", "Mic Jack",
157*724ba675SRob Herring			"Mic Jack", "Mic Bias",
158*724ba675SRob Herring			"Headphone Jack", "HP_OUT";
159*724ba675SRob Herring		/* '1' based port numbers according to datasheet names */
160*724ba675SRob Herring		mux-int-port = <1>;
161*724ba675SRob Herring		mux-ext-port = <5>;
162*724ba675SRob Herring	};
163*724ba675SRob Herring};
164*724ba675SRob Herring
165*724ba675SRob Herring&audmux {
166*724ba675SRob Herring	pinctrl-names = "default";
167*724ba675SRob Herring	pinctrl-0 = <&pinctrl_ssi1>;
168*724ba675SRob Herring	status = "okay";
169*724ba675SRob Herring};
170*724ba675SRob Herring
171*724ba675SRob Herring&can1 {
172*724ba675SRob Herring	pinctrl-names = "default";
173*724ba675SRob Herring	pinctrl-0 = <&pinctrl_can1>;
174*724ba675SRob Herring	xceiver-supply = <&reg_can_xcvr>;
175*724ba675SRob Herring	status = "okay";
176*724ba675SRob Herring};
177*724ba675SRob Herring
178*724ba675SRob Herring&can2 {
179*724ba675SRob Herring	pinctrl-names = "default";
180*724ba675SRob Herring	pinctrl-0 = <&pinctrl_can2>;
181*724ba675SRob Herring	xceiver-supply = <&reg_can_xcvr>;
182*724ba675SRob Herring	status = "okay";
183*724ba675SRob Herring};
184*724ba675SRob Herring
185*724ba675SRob Herring&ecspi1 {
186*724ba675SRob Herring	pinctrl-names = "default";
187*724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi1>;
188*724ba675SRob Herring	status = "okay";
189*724ba675SRob Herring
190*724ba675SRob Herring	cs-gpios = <
191*724ba675SRob Herring		&gpio2 30 GPIO_ACTIVE_HIGH
192*724ba675SRob Herring		&gpio3 19 GPIO_ACTIVE_HIGH
193*724ba675SRob Herring	>;
194*724ba675SRob Herring
195*724ba675SRob Herring};
196*724ba675SRob Herring
197*724ba675SRob Herring&esdhc1 {
198*724ba675SRob Herring	cd-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
199*724ba675SRob Herring	fsl,wp-controller;
200*724ba675SRob Herring	pinctrl-names = "default";
201*724ba675SRob Herring	pinctrl-0 = <&pinctrl_esdhc1>;
202*724ba675SRob Herring	status = "okay";
203*724ba675SRob Herring};
204*724ba675SRob Herring
205*724ba675SRob Herring&esdhc2 {
206*724ba675SRob Herring	cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
207*724ba675SRob Herring	fsl,wp-controller;
208*724ba675SRob Herring	pinctrl-names = "default";
209*724ba675SRob Herring	pinctrl-0 = <&pinctrl_esdhc2>;
210*724ba675SRob Herring	status = "okay";
211*724ba675SRob Herring};
212*724ba675SRob Herring
213*724ba675SRob Herring&fec {
214*724ba675SRob Herring	pinctrl-names = "default";
215*724ba675SRob Herring	pinctrl-0 = <&pinctrl_fec>;
216*724ba675SRob Herring	phy-mode = "rmii";
217*724ba675SRob Herring	phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
218*724ba675SRob Herring	phy-handle = <&phy0>;
219*724ba675SRob Herring	mac-address = [000000000000]; /* placeholder; will be overwritten by bootloader */
220*724ba675SRob Herring	status = "okay";
221*724ba675SRob Herring
222*724ba675SRob Herring	mdio {
223*724ba675SRob Herring		#address-cells = <1>;
224*724ba675SRob Herring		#size-cells = <0>;
225*724ba675SRob Herring
226*724ba675SRob Herring		phy0: ethernet-phy@0 {
227*724ba675SRob Herring			reg = <0>;
228*724ba675SRob Herring			interrupt-parent = <&gpio2>;
229*724ba675SRob Herring			interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
230*724ba675SRob Herring			device_type = "ethernet-phy";
231*724ba675SRob Herring		};
232*724ba675SRob Herring	};
233*724ba675SRob Herring};
234*724ba675SRob Herring
235*724ba675SRob Herring&i2c1 {
236*724ba675SRob Herring	pinctrl-names = "default", "gpio";
237*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
238*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1_gpio>;
239*724ba675SRob Herring	scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
240*724ba675SRob Herring	sda-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
241*724ba675SRob Herring	clock-frequency = <400000>;
242*724ba675SRob Herring	status = "okay";
243*724ba675SRob Herring
244*724ba675SRob Herring	rtc1: rtc@68 {
245*724ba675SRob Herring		compatible = "dallas,ds1339";
246*724ba675SRob Herring		reg = <0x68>;
247*724ba675SRob Herring		pinctrl-names = "default";
248*724ba675SRob Herring		pinctrl-0 = <&pinctrl_ds1339>;
249*724ba675SRob Herring		interrupt-parent = <&gpio4>;
250*724ba675SRob Herring		interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
251*724ba675SRob Herring		trickle-resistor-ohms = <250>;
252*724ba675SRob Herring		trickle-diode-disable;
253*724ba675SRob Herring	};
254*724ba675SRob Herring};
255*724ba675SRob Herring
256*724ba675SRob Herring&iomuxc {
257*724ba675SRob Herring	pinctrl-names = "default";
258*724ba675SRob Herring	pinctrl-0 = <&pinctrl_hog>;
259*724ba675SRob Herring
260*724ba675SRob Herring	imx53-tx53 {
261*724ba675SRob Herring		pinctrl_hog: hoggrp {
262*724ba675SRob Herring			/* pins not in use by any device on the Starterkit board series */
263*724ba675SRob Herring			fsl,pins = <
264*724ba675SRob Herring				/* CMOS Sensor Interface */
265*724ba675SRob Herring				MX53_PAD_CSI0_DAT12__GPIO5_30 0x1f4
266*724ba675SRob Herring				MX53_PAD_CSI0_DAT13__GPIO5_31 0x1f4
267*724ba675SRob Herring				MX53_PAD_CSI0_DAT14__GPIO6_0 0x1f4
268*724ba675SRob Herring				MX53_PAD_CSI0_DAT15__GPIO6_1 0x1f4
269*724ba675SRob Herring				MX53_PAD_CSI0_DAT16__GPIO6_2 0x1f4
270*724ba675SRob Herring				MX53_PAD_CSI0_DAT17__GPIO6_3 0x1f4
271*724ba675SRob Herring				MX53_PAD_CSI0_DAT18__GPIO6_4 0x1f4
272*724ba675SRob Herring				MX53_PAD_CSI0_DAT19__GPIO6_5 0x1f4
273*724ba675SRob Herring				MX53_PAD_CSI0_MCLK__GPIO5_19 0x1f4
274*724ba675SRob Herring				MX53_PAD_CSI0_VSYNC__GPIO5_21 0x1f4
275*724ba675SRob Herring				MX53_PAD_CSI0_PIXCLK__GPIO5_18 0x1f4
276*724ba675SRob Herring				MX53_PAD_GPIO_0__GPIO1_0 0x1f4
277*724ba675SRob Herring				/* Module Specific Signal */
278*724ba675SRob Herring				/* MX53_PAD_NANDF_CS2__GPIO6_15 0x1f4 maybe used by EDT-FT5x06 */
279*724ba675SRob Herring				/* MX53_PAD_EIM_A16__GPIO2_22 0x1f4 maybe used by EDT-FT5x06 */
280*724ba675SRob Herring				MX53_PAD_EIM_D29__GPIO3_29 0x1f4
281*724ba675SRob Herring				MX53_PAD_EIM_EB3__GPIO2_31 0x1f4
282*724ba675SRob Herring				/* MX53_PAD_EIM_A17__GPIO2_21 0x1f4 maybe used by EDT-FT5x06 */
283*724ba675SRob Herring				/* MX53_PAD_EIM_A18__GPIO2_20 0x1f4 used by LED */
284*724ba675SRob Herring				MX53_PAD_EIM_A19__GPIO2_19 0x1f4
285*724ba675SRob Herring				MX53_PAD_EIM_A20__GPIO2_18 0x1f4
286*724ba675SRob Herring				MX53_PAD_EIM_A21__GPIO2_17 0x1f4
287*724ba675SRob Herring				MX53_PAD_EIM_A22__GPIO2_16 0x1f4
288*724ba675SRob Herring				MX53_PAD_EIM_A23__GPIO6_6 0x1f4
289*724ba675SRob Herring				MX53_PAD_EIM_A24__GPIO5_4 0x1f4
290*724ba675SRob Herring				MX53_PAD_CSI0_DAT8__GPIO5_26 0x1f4
291*724ba675SRob Herring				MX53_PAD_CSI0_DAT9__GPIO5_27 0x1f4
292*724ba675SRob Herring				MX53_PAD_CSI0_DAT10__GPIO5_28 0x1f4
293*724ba675SRob Herring				MX53_PAD_CSI0_DAT11__GPIO5_29 0x1f4
294*724ba675SRob Herring				/* MX53_PAD_EIM_D22__GPIO3_22 0x1f4 maybe used by EETI touchpanel driver */
295*724ba675SRob Herring				/* MX53_PAD_EIM_D23__GPIO3_23 0x1f4 maybe used by EETI touchpanel driver */
296*724ba675SRob Herring				MX53_PAD_GPIO_13__GPIO4_3 0x1f4
297*724ba675SRob Herring				MX53_PAD_EIM_CS0__GPIO2_23 0x1f4
298*724ba675SRob Herring				MX53_PAD_EIM_CS1__GPIO2_24 0x1f4
299*724ba675SRob Herring				MX53_PAD_CSI0_DATA_EN__GPIO5_20 0x1f4
300*724ba675SRob Herring				MX53_PAD_EIM_WAIT__GPIO5_0 0x1f4
301*724ba675SRob Herring				MX53_PAD_EIM_EB0__GPIO2_28 0x1f4
302*724ba675SRob Herring				MX53_PAD_EIM_EB1__GPIO2_29 0x1f4
303*724ba675SRob Herring				MX53_PAD_EIM_OE__GPIO2_25 0x1f4
304*724ba675SRob Herring				MX53_PAD_EIM_LBA__GPIO2_27 0x1f4
305*724ba675SRob Herring				MX53_PAD_EIM_RW__GPIO2_26 0x1f4
306*724ba675SRob Herring				MX53_PAD_EIM_DA8__GPIO3_8 0x1f4
307*724ba675SRob Herring				MX53_PAD_EIM_DA9__GPIO3_9 0x1f4
308*724ba675SRob Herring				MX53_PAD_EIM_DA10__GPIO3_10 0x1f4
309*724ba675SRob Herring				MX53_PAD_EIM_DA11__GPIO3_11 0x1f4
310*724ba675SRob Herring				MX53_PAD_EIM_DA12__GPIO3_12 0x1f4
311*724ba675SRob Herring				MX53_PAD_EIM_DA13__GPIO3_13 0x1f4
312*724ba675SRob Herring				MX53_PAD_EIM_DA14__GPIO3_14 0x1f4
313*724ba675SRob Herring				MX53_PAD_EIM_DA15__GPIO3_15 0x1f4
314*724ba675SRob Herring				>;
315*724ba675SRob Herring		};
316*724ba675SRob Herring
317*724ba675SRob Herring		pinctrl_can1: can1grp {
318*724ba675SRob Herring			fsl,pins = <
319*724ba675SRob Herring				MX53_PAD_GPIO_7__CAN1_TXCAN		0x80000000
320*724ba675SRob Herring				MX53_PAD_GPIO_8__CAN1_RXCAN		0x80000000
321*724ba675SRob Herring			>;
322*724ba675SRob Herring		};
323*724ba675SRob Herring
324*724ba675SRob Herring		pinctrl_can2: can2grp {
325*724ba675SRob Herring			fsl,pins = <
326*724ba675SRob Herring				MX53_PAD_KEY_COL4__CAN2_TXCAN		0x80000000
327*724ba675SRob Herring				MX53_PAD_KEY_ROW4__CAN2_RXCAN		0x80000000
328*724ba675SRob Herring			>;
329*724ba675SRob Herring		};
330*724ba675SRob Herring
331*724ba675SRob Herring		pinctrl_can_xcvr: can-xcvrgrp {
332*724ba675SRob Herring			fsl,pins = <MX53_PAD_DISP0_DAT0__GPIO4_21 0xe0>; /* Flexcan XCVR enable */
333*724ba675SRob Herring		};
334*724ba675SRob Herring
335*724ba675SRob Herring		pinctrl_ds1339: ds1339grp {
336*724ba675SRob Herring			fsl,pins = <MX53_PAD_DI0_PIN4__GPIO4_20 0xe0>;
337*724ba675SRob Herring		};
338*724ba675SRob Herring
339*724ba675SRob Herring		pinctrl_ecspi1: ecspi1grp {
340*724ba675SRob Herring			fsl,pins = <
341*724ba675SRob Herring				MX53_PAD_GPIO_19__ECSPI1_RDY		0x80000000
342*724ba675SRob Herring				MX53_PAD_EIM_EB2__ECSPI1_SS0		0x80000000
343*724ba675SRob Herring				MX53_PAD_EIM_D16__ECSPI1_SCLK		0x80000000
344*724ba675SRob Herring				MX53_PAD_EIM_D17__ECSPI1_MISO		0x80000000
345*724ba675SRob Herring				MX53_PAD_EIM_D18__ECSPI1_MOSI		0x80000000
346*724ba675SRob Herring				MX53_PAD_EIM_D19__ECSPI1_SS1		0x80000000
347*724ba675SRob Herring			>;
348*724ba675SRob Herring		};
349*724ba675SRob Herring
350*724ba675SRob Herring		pinctrl_esdhc1: esdhc1grp {
351*724ba675SRob Herring			fsl,pins = <
352*724ba675SRob Herring				MX53_PAD_SD1_DATA0__ESDHC1_DAT0		0x1d5
353*724ba675SRob Herring				MX53_PAD_SD1_DATA1__ESDHC1_DAT1		0x1d5
354*724ba675SRob Herring				MX53_PAD_SD1_DATA2__ESDHC1_DAT2		0x1d5
355*724ba675SRob Herring				MX53_PAD_SD1_DATA3__ESDHC1_DAT3		0x1d5
356*724ba675SRob Herring				MX53_PAD_SD1_CMD__ESDHC1_CMD		0x1d5
357*724ba675SRob Herring				MX53_PAD_SD1_CLK__ESDHC1_CLK		0x1d5
358*724ba675SRob Herring				MX53_PAD_EIM_D24__GPIO3_24 0x1f0
359*724ba675SRob Herring			>;
360*724ba675SRob Herring		};
361*724ba675SRob Herring
362*724ba675SRob Herring		pinctrl_esdhc2: esdhc2grp {
363*724ba675SRob Herring			fsl,pins = <
364*724ba675SRob Herring				MX53_PAD_SD2_CMD__ESDHC2_CMD		0x1d5
365*724ba675SRob Herring				MX53_PAD_SD2_CLK__ESDHC2_CLK		0x1d5
366*724ba675SRob Herring				MX53_PAD_SD2_DATA0__ESDHC2_DAT0		0x1d5
367*724ba675SRob Herring				MX53_PAD_SD2_DATA1__ESDHC2_DAT1		0x1d5
368*724ba675SRob Herring				MX53_PAD_SD2_DATA2__ESDHC2_DAT2		0x1d5
369*724ba675SRob Herring				MX53_PAD_SD2_DATA3__ESDHC2_DAT3		0x1d5
370*724ba675SRob Herring				MX53_PAD_EIM_D25__GPIO3_25 0x1f0
371*724ba675SRob Herring			>;
372*724ba675SRob Herring		};
373*724ba675SRob Herring
374*724ba675SRob Herring		pinctrl_fec: fecgrp {
375*724ba675SRob Herring			fsl,pins = <
376*724ba675SRob Herring				MX53_PAD_FEC_MDC__FEC_MDC		0x80000000
377*724ba675SRob Herring				MX53_PAD_FEC_MDIO__FEC_MDIO		0x80000000
378*724ba675SRob Herring				MX53_PAD_FEC_REF_CLK__FEC_TX_CLK	0x80000000
379*724ba675SRob Herring				MX53_PAD_FEC_RX_ER__FEC_RX_ER		0x80000000
380*724ba675SRob Herring				MX53_PAD_FEC_CRS_DV__FEC_RX_DV		0x80000000
381*724ba675SRob Herring				MX53_PAD_FEC_RXD1__FEC_RDATA_1		0x80000000
382*724ba675SRob Herring				MX53_PAD_FEC_RXD0__FEC_RDATA_0		0x80000000
383*724ba675SRob Herring				MX53_PAD_FEC_TX_EN__FEC_TX_EN		0x80000000
384*724ba675SRob Herring				MX53_PAD_FEC_TXD1__FEC_TDATA_1		0x80000000
385*724ba675SRob Herring				MX53_PAD_FEC_TXD0__FEC_TDATA_0		0x80000000
386*724ba675SRob Herring			>;
387*724ba675SRob Herring		};
388*724ba675SRob Herring
389*724ba675SRob Herring		pinctrl_gpio_key: gpio-keygrp {
390*724ba675SRob Herring			fsl,pins = <MX53_PAD_EIM_A25__GPIO5_2 0x1f4>;
391*724ba675SRob Herring		};
392*724ba675SRob Herring
393*724ba675SRob Herring		pinctrl_i2c1: i2c1grp {
394*724ba675SRob Herring			fsl,pins = <
395*724ba675SRob Herring				MX53_PAD_EIM_D21__I2C1_SCL		0x400001e4
396*724ba675SRob Herring				MX53_PAD_EIM_D28__I2C1_SDA		0x400001e4
397*724ba675SRob Herring			>;
398*724ba675SRob Herring		};
399*724ba675SRob Herring
400*724ba675SRob Herring		pinctrl_i2c1_gpio: i2c1-gpiogrp {
401*724ba675SRob Herring			fsl,pins = <
402*724ba675SRob Herring				MX53_PAD_EIM_D21__GPIO3_21		0x400001e6
403*724ba675SRob Herring				MX53_PAD_EIM_D28__GPIO3_28		0x400001e6
404*724ba675SRob Herring			>;
405*724ba675SRob Herring		};
406*724ba675SRob Herring
407*724ba675SRob Herring		pinctrl_i2c3: i2c3grp {
408*724ba675SRob Herring			fsl,pins = <
409*724ba675SRob Herring				MX53_PAD_GPIO_3__I2C3_SCL		0x400001e4
410*724ba675SRob Herring				MX53_PAD_GPIO_6__I2C3_SDA		0x400001e4
411*724ba675SRob Herring			>;
412*724ba675SRob Herring		};
413*724ba675SRob Herring
414*724ba675SRob Herring		pinctrl_i2c3_gpio: i2c3-gpiogrp {
415*724ba675SRob Herring			fsl,pins = <
416*724ba675SRob Herring				MX53_PAD_GPIO_3__GPIO1_3		0x400001e6
417*724ba675SRob Herring				MX53_PAD_GPIO_6__GPIO1_6		0x400001e6
418*724ba675SRob Herring			>;
419*724ba675SRob Herring		};
420*724ba675SRob Herring
421*724ba675SRob Herring		pinctrl_nand: nandgrp {
422*724ba675SRob Herring			fsl,pins = <
423*724ba675SRob Herring				MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B	0x4
424*724ba675SRob Herring				MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B	0x4
425*724ba675SRob Herring				MX53_PAD_NANDF_CLE__EMI_NANDF_CLE	0x4
426*724ba675SRob Herring				MX53_PAD_NANDF_ALE__EMI_NANDF_ALE	0x4
427*724ba675SRob Herring				MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B	0xe0
428*724ba675SRob Herring				MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0	0xe0
429*724ba675SRob Herring				MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0	0x4
430*724ba675SRob Herring				MX53_PAD_EIM_DA0__EMI_NAND_WEIM_DA_0	0xa4
431*724ba675SRob Herring				MX53_PAD_EIM_DA1__EMI_NAND_WEIM_DA_1	0xa4
432*724ba675SRob Herring				MX53_PAD_EIM_DA2__EMI_NAND_WEIM_DA_2	0xa4
433*724ba675SRob Herring				MX53_PAD_EIM_DA3__EMI_NAND_WEIM_DA_3	0xa4
434*724ba675SRob Herring				MX53_PAD_EIM_DA4__EMI_NAND_WEIM_DA_4	0xa4
435*724ba675SRob Herring				MX53_PAD_EIM_DA5__EMI_NAND_WEIM_DA_5	0xa4
436*724ba675SRob Herring				MX53_PAD_EIM_DA6__EMI_NAND_WEIM_DA_6	0xa4
437*724ba675SRob Herring				MX53_PAD_EIM_DA7__EMI_NAND_WEIM_DA_7	0xa4
438*724ba675SRob Herring			>;
439*724ba675SRob Herring		};
440*724ba675SRob Herring
441*724ba675SRob Herring		pinctrl_pwm2: pwm2grp {
442*724ba675SRob Herring			fsl,pins = <
443*724ba675SRob Herring				MX53_PAD_GPIO_1__PWM2_PWMO		0x80000000
444*724ba675SRob Herring			>;
445*724ba675SRob Herring		};
446*724ba675SRob Herring
447*724ba675SRob Herring		pinctrl_ssi1: ssi1grp {
448*724ba675SRob Herring			fsl,pins = <
449*724ba675SRob Herring				MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC	0x80000000
450*724ba675SRob Herring				MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD	0x80000000
451*724ba675SRob Herring				MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS	0x80000000
452*724ba675SRob Herring				MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD	0x80000000
453*724ba675SRob Herring			>;
454*724ba675SRob Herring		};
455*724ba675SRob Herring
456*724ba675SRob Herring		pinctrl_ssi2: ssi2grp {
457*724ba675SRob Herring			fsl,pins = <
458*724ba675SRob Herring				MX53_PAD_CSI0_DAT4__AUDMUX_AUD3_TXC	0x80000000
459*724ba675SRob Herring				MX53_PAD_CSI0_DAT5__AUDMUX_AUD3_TXD	0x80000000
460*724ba675SRob Herring				MX53_PAD_CSI0_DAT6__AUDMUX_AUD3_TXFS	0x80000000
461*724ba675SRob Herring				MX53_PAD_CSI0_DAT7__AUDMUX_AUD3_RXD	0x80000000
462*724ba675SRob Herring				MX53_PAD_EIM_D27__GPIO3_27 0x1f0
463*724ba675SRob Herring			>;
464*724ba675SRob Herring		};
465*724ba675SRob Herring
466*724ba675SRob Herring		pinctrl_stk5led: stk5ledgrp {
467*724ba675SRob Herring			fsl,pins = <MX53_PAD_EIM_A18__GPIO2_20 0xc0>;
468*724ba675SRob Herring		};
469*724ba675SRob Herring
470*724ba675SRob Herring		pinctrl_uart1: uart1grp {
471*724ba675SRob Herring			fsl,pins = <
472*724ba675SRob Herring				MX53_PAD_PATA_DIOW__UART1_TXD_MUX	0x1e4
473*724ba675SRob Herring				MX53_PAD_PATA_DMACK__UART1_RXD_MUX	0x1e4
474*724ba675SRob Herring				MX53_PAD_PATA_RESET_B__UART1_CTS	0x1c5
475*724ba675SRob Herring				MX53_PAD_PATA_IORDY__UART1_RTS		0x1c5
476*724ba675SRob Herring			>;
477*724ba675SRob Herring		};
478*724ba675SRob Herring
479*724ba675SRob Herring		pinctrl_uart2: uart2grp {
480*724ba675SRob Herring			fsl,pins = <
481*724ba675SRob Herring				MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX	0x1c5
482*724ba675SRob Herring				MX53_PAD_PATA_DMARQ__UART2_TXD_MUX	0x1c5
483*724ba675SRob Herring				MX53_PAD_PATA_DIOR__UART2_RTS		0x1c5
484*724ba675SRob Herring				MX53_PAD_PATA_INTRQ__UART2_CTS		0x1c5
485*724ba675SRob Herring			>;
486*724ba675SRob Herring		};
487*724ba675SRob Herring
488*724ba675SRob Herring		pinctrl_uart3: uart3grp {
489*724ba675SRob Herring			fsl,pins = <
490*724ba675SRob Herring				MX53_PAD_PATA_CS_0__UART3_TXD_MUX	0x1e4
491*724ba675SRob Herring				MX53_PAD_PATA_CS_1__UART3_RXD_MUX	0x1e4
492*724ba675SRob Herring				MX53_PAD_PATA_DA_1__UART3_CTS		0x1e4
493*724ba675SRob Herring				MX53_PAD_PATA_DA_2__UART3_RTS		0x1e4
494*724ba675SRob Herring			>;
495*724ba675SRob Herring		};
496*724ba675SRob Herring
497*724ba675SRob Herring		pinctrl_usbh1: usbh1grp {
498*724ba675SRob Herring			fsl,pins = <
499*724ba675SRob Herring				MX53_PAD_EIM_D30__GPIO3_30 0x100 /* OC */
500*724ba675SRob Herring			>;
501*724ba675SRob Herring		};
502*724ba675SRob Herring
503*724ba675SRob Herring		pinctrl_usbh1_vbus: usbh1-vbusgrp {
504*724ba675SRob Herring			fsl,pins = <
505*724ba675SRob Herring				MX53_PAD_EIM_D31__GPIO3_31 0xe0 /* VBUS ENABLE */
506*724ba675SRob Herring			>;
507*724ba675SRob Herring		};
508*724ba675SRob Herring
509*724ba675SRob Herring		pinctrl_usbotg_vbus: usbotg-vbusgrp {
510*724ba675SRob Herring			fsl,pins = <
511*724ba675SRob Herring				MX53_PAD_GPIO_7__GPIO1_7 0xe0 /* VBUS ENABLE */
512*724ba675SRob Herring				MX53_PAD_GPIO_8__GPIO1_8 0x100 /* OC */
513*724ba675SRob Herring			>;
514*724ba675SRob Herring		};
515*724ba675SRob Herring	};
516*724ba675SRob Herring};
517*724ba675SRob Herring
518*724ba675SRob Herring&ipu {
519*724ba675SRob Herring	status = "okay";
520*724ba675SRob Herring};
521*724ba675SRob Herring
522*724ba675SRob Herring&nfc {
523*724ba675SRob Herring	pinctrl-names = "default";
524*724ba675SRob Herring	pinctrl-0 = <&pinctrl_nand>;
525*724ba675SRob Herring	nand-bus-width = <8>;
526*724ba675SRob Herring	nand-ecc-mode = "hw";
527*724ba675SRob Herring	nand-on-flash-bbt;
528*724ba675SRob Herring	status = "okay";
529*724ba675SRob Herring};
530*724ba675SRob Herring
531*724ba675SRob Herring&pwm2 {
532*724ba675SRob Herring	pinctrl-names = "default";
533*724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm2>;
534*724ba675SRob Herring};
535*724ba675SRob Herring
536*724ba675SRob Herring&sdma {
537*724ba675SRob Herring	fsl,sdma-ram-script-name = "sdma-imx53.bin";
538*724ba675SRob Herring};
539*724ba675SRob Herring
540*724ba675SRob Herring&ssi1 {
541*724ba675SRob Herring	status = "okay";
542*724ba675SRob Herring};
543*724ba675SRob Herring
544*724ba675SRob Herring&ssi2 {
545*724ba675SRob Herring	status = "disabled";
546*724ba675SRob Herring};
547*724ba675SRob Herring
548*724ba675SRob Herring&uart1 {
549*724ba675SRob Herring	pinctrl-names = "default";
550*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
551*724ba675SRob Herring	uart-has-rtscts;
552*724ba675SRob Herring	status = "okay";
553*724ba675SRob Herring};
554*724ba675SRob Herring
555*724ba675SRob Herring&uart2 {
556*724ba675SRob Herring	pinctrl-names = "default";
557*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
558*724ba675SRob Herring	uart-has-rtscts;
559*724ba675SRob Herring	status = "okay";
560*724ba675SRob Herring};
561*724ba675SRob Herring
562*724ba675SRob Herring&uart3 {
563*724ba675SRob Herring	pinctrl-names = "default";
564*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart3>;
565*724ba675SRob Herring	uart-has-rtscts;
566*724ba675SRob Herring	status = "okay";
567*724ba675SRob Herring};
568*724ba675SRob Herring
569*724ba675SRob Herring&usbh1 {
570*724ba675SRob Herring	pinctrl-names = "default";
571*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbh1>;
572*724ba675SRob Herring	phy_type = "utmi";
573*724ba675SRob Herring	disable-over-current;
574*724ba675SRob Herring	vbus-supply = <&reg_usbh1_vbus>;
575*724ba675SRob Herring	status = "okay";
576*724ba675SRob Herring};
577*724ba675SRob Herring
578*724ba675SRob Herring&usbotg {
579*724ba675SRob Herring	phy_type = "utmi";
580*724ba675SRob Herring	dr_mode = "peripheral";
581*724ba675SRob Herring	disable-over-current;
582*724ba675SRob Herring	vbus-supply = <&reg_usbotg_vbus>;
583*724ba675SRob Herring	status = "okay";
584*724ba675SRob Herring};
585