xref: /openbmc/u-boot/arch/arm/dts/imx6qdl-sabreauto.dtsi (revision b89074f65047c4058741ed2bf3e6ff0c5af4c5bc)
1*67f165ddSAbel Vesa// SPDX-License-Identifier: GPL-2.0+
2*67f165ddSAbel Vesa//
3*67f165ddSAbel Vesa// Copyright 2012 Freescale Semiconductor, Inc.
4*67f165ddSAbel Vesa// Copyright 2011 Linaro Ltd.
5*67f165ddSAbel Vesa
6*67f165ddSAbel Vesa#include <dt-bindings/gpio/gpio.h>
7*67f165ddSAbel Vesa#include <dt-bindings/input/input.h>
8*67f165ddSAbel Vesa
9*67f165ddSAbel Vesa/ {
10*67f165ddSAbel Vesa	chosen {
11*67f165ddSAbel Vesa		stdout-path = &uart4;
12*67f165ddSAbel Vesa	};
13*67f165ddSAbel Vesa
14*67f165ddSAbel Vesa	memory@10000000 {
15*67f165ddSAbel Vesa		reg = <0x10000000 0x80000000>;
16*67f165ddSAbel Vesa	};
17*67f165ddSAbel Vesa
18*67f165ddSAbel Vesa	leds {
19*67f165ddSAbel Vesa		compatible = "gpio-leds";
20*67f165ddSAbel Vesa		pinctrl-names = "default";
21*67f165ddSAbel Vesa		pinctrl-0 = <&pinctrl_gpio_leds>;
22*67f165ddSAbel Vesa
23*67f165ddSAbel Vesa		user {
24*67f165ddSAbel Vesa			label = "debug";
25*67f165ddSAbel Vesa			gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
26*67f165ddSAbel Vesa		};
27*67f165ddSAbel Vesa	};
28*67f165ddSAbel Vesa
29*67f165ddSAbel Vesa	gpio-keys {
30*67f165ddSAbel Vesa		compatible = "gpio-keys";
31*67f165ddSAbel Vesa		pinctrl-names = "default";
32*67f165ddSAbel Vesa		pinctrl-0 = <&pinctrl_gpio_keys>;
33*67f165ddSAbel Vesa
34*67f165ddSAbel Vesa		home {
35*67f165ddSAbel Vesa			label = "Home";
36*67f165ddSAbel Vesa			gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
37*67f165ddSAbel Vesa			linux,code = <KEY_HOME>;
38*67f165ddSAbel Vesa			wakeup-source;
39*67f165ddSAbel Vesa		};
40*67f165ddSAbel Vesa
41*67f165ddSAbel Vesa		back {
42*67f165ddSAbel Vesa			label = "Back";
43*67f165ddSAbel Vesa			gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
44*67f165ddSAbel Vesa			linux,code = <KEY_BACK>;
45*67f165ddSAbel Vesa			wakeup-source;
46*67f165ddSAbel Vesa		};
47*67f165ddSAbel Vesa
48*67f165ddSAbel Vesa		program {
49*67f165ddSAbel Vesa			label = "Program";
50*67f165ddSAbel Vesa			gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
51*67f165ddSAbel Vesa			linux,code = <KEY_PROGRAM>;
52*67f165ddSAbel Vesa			wakeup-source;
53*67f165ddSAbel Vesa		};
54*67f165ddSAbel Vesa
55*67f165ddSAbel Vesa		volume-up {
56*67f165ddSAbel Vesa			label = "Volume Up";
57*67f165ddSAbel Vesa			gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
58*67f165ddSAbel Vesa			linux,code = <KEY_VOLUMEUP>;
59*67f165ddSAbel Vesa			wakeup-source;
60*67f165ddSAbel Vesa		};
61*67f165ddSAbel Vesa
62*67f165ddSAbel Vesa		volume-down {
63*67f165ddSAbel Vesa			label = "Volume Down";
64*67f165ddSAbel Vesa			gpios = <&gpio5 14 GPIO_ACTIVE_LOW>;
65*67f165ddSAbel Vesa			linux,code = <KEY_VOLUMEDOWN>;
66*67f165ddSAbel Vesa			wakeup-source;
67*67f165ddSAbel Vesa		};
68*67f165ddSAbel Vesa	};
69*67f165ddSAbel Vesa
70*67f165ddSAbel Vesa	clocks {
71*67f165ddSAbel Vesa		codec_osc: anaclk2 {
72*67f165ddSAbel Vesa			compatible = "fixed-clock";
73*67f165ddSAbel Vesa			#clock-cells = <0>;
74*67f165ddSAbel Vesa			clock-frequency = <24576000>;
75*67f165ddSAbel Vesa		};
76*67f165ddSAbel Vesa	};
77*67f165ddSAbel Vesa
78*67f165ddSAbel Vesa	regulators {
79*67f165ddSAbel Vesa		compatible = "simple-bus";
80*67f165ddSAbel Vesa		#address-cells = <1>;
81*67f165ddSAbel Vesa		#size-cells = <0>;
82*67f165ddSAbel Vesa
83*67f165ddSAbel Vesa		reg_audio: regulator@0 {
84*67f165ddSAbel Vesa			compatible = "regulator-fixed";
85*67f165ddSAbel Vesa			reg = <0>;
86*67f165ddSAbel Vesa			regulator-name = "cs42888_supply";
87*67f165ddSAbel Vesa			regulator-min-microvolt = <3300000>;
88*67f165ddSAbel Vesa			regulator-max-microvolt = <3300000>;
89*67f165ddSAbel Vesa			regulator-always-on;
90*67f165ddSAbel Vesa		};
91*67f165ddSAbel Vesa
92*67f165ddSAbel Vesa		reg_usb_h1_vbus: regulator@1 {
93*67f165ddSAbel Vesa			compatible = "regulator-fixed";
94*67f165ddSAbel Vesa			reg = <1>;
95*67f165ddSAbel Vesa			regulator-name = "usb_h1_vbus";
96*67f165ddSAbel Vesa			regulator-min-microvolt = <5000000>;
97*67f165ddSAbel Vesa			regulator-max-microvolt = <5000000>;
98*67f165ddSAbel Vesa			gpio = <&max7310_b 7 GPIO_ACTIVE_HIGH>;
99*67f165ddSAbel Vesa			enable-active-high;
100*67f165ddSAbel Vesa		};
101*67f165ddSAbel Vesa
102*67f165ddSAbel Vesa		reg_usb_otg_vbus: regulator@2 {
103*67f165ddSAbel Vesa			compatible = "regulator-fixed";
104*67f165ddSAbel Vesa			reg = <2>;
105*67f165ddSAbel Vesa			regulator-name = "usb_otg_vbus";
106*67f165ddSAbel Vesa			regulator-min-microvolt = <5000000>;
107*67f165ddSAbel Vesa			regulator-max-microvolt = <5000000>;
108*67f165ddSAbel Vesa			gpio = <&max7310_c 1 GPIO_ACTIVE_HIGH>;
109*67f165ddSAbel Vesa			enable-active-high;
110*67f165ddSAbel Vesa		};
111*67f165ddSAbel Vesa	};
112*67f165ddSAbel Vesa
113*67f165ddSAbel Vesa	sound-cs42888 {
114*67f165ddSAbel Vesa		compatible = "fsl,imx6-sabreauto-cs42888",
115*67f165ddSAbel Vesa			"fsl,imx-audio-cs42888";
116*67f165ddSAbel Vesa		model = "imx-cs42888";
117*67f165ddSAbel Vesa		audio-cpu = <&esai>;
118*67f165ddSAbel Vesa		audio-asrc = <&asrc>;
119*67f165ddSAbel Vesa		audio-codec = <&codec>;
120*67f165ddSAbel Vesa		audio-routing =
121*67f165ddSAbel Vesa			"Line Out Jack", "AOUT1L",
122*67f165ddSAbel Vesa			"Line Out Jack", "AOUT1R",
123*67f165ddSAbel Vesa			"Line Out Jack", "AOUT2L",
124*67f165ddSAbel Vesa			"Line Out Jack", "AOUT2R",
125*67f165ddSAbel Vesa			"Line Out Jack", "AOUT3L",
126*67f165ddSAbel Vesa			"Line Out Jack", "AOUT3R",
127*67f165ddSAbel Vesa			"Line Out Jack", "AOUT4L",
128*67f165ddSAbel Vesa			"Line Out Jack", "AOUT4R",
129*67f165ddSAbel Vesa			"AIN1L", "Line In Jack",
130*67f165ddSAbel Vesa			"AIN1R", "Line In Jack",
131*67f165ddSAbel Vesa			"AIN2L", "Line In Jack",
132*67f165ddSAbel Vesa			"AIN2R", "Line In Jack";
133*67f165ddSAbel Vesa	};
134*67f165ddSAbel Vesa
135*67f165ddSAbel Vesa	sound-spdif {
136*67f165ddSAbel Vesa		compatible = "fsl,imx-audio-spdif",
137*67f165ddSAbel Vesa			   "fsl,imx-sabreauto-spdif";
138*67f165ddSAbel Vesa		model = "imx-spdif";
139*67f165ddSAbel Vesa		spdif-controller = <&spdif>;
140*67f165ddSAbel Vesa		spdif-in;
141*67f165ddSAbel Vesa	};
142*67f165ddSAbel Vesa
143*67f165ddSAbel Vesa	backlight {
144*67f165ddSAbel Vesa		compatible = "pwm-backlight";
145*67f165ddSAbel Vesa		pwms = <&pwm3 0 5000000>;
146*67f165ddSAbel Vesa		brightness-levels = <0 4 8 16 32 64 128 255>;
147*67f165ddSAbel Vesa		default-brightness-level = <7>;
148*67f165ddSAbel Vesa		status = "okay";
149*67f165ddSAbel Vesa	};
150*67f165ddSAbel Vesa
151*67f165ddSAbel Vesa	i2cmux {
152*67f165ddSAbel Vesa		compatible = "i2c-mux-gpio";
153*67f165ddSAbel Vesa		#address-cells = <1>;
154*67f165ddSAbel Vesa		#size-cells = <0>;
155*67f165ddSAbel Vesa		pinctrl-names = "default";
156*67f165ddSAbel Vesa		pinctrl-0 = <&pinctrl_i2c3mux>;
157*67f165ddSAbel Vesa		mux-gpios = <&gpio5 4 0>;
158*67f165ddSAbel Vesa		i2c-parent = <&i2c3>;
159*67f165ddSAbel Vesa		idle-state = <0>;
160*67f165ddSAbel Vesa
161*67f165ddSAbel Vesa		i2c@1 {
162*67f165ddSAbel Vesa			#address-cells = <1>;
163*67f165ddSAbel Vesa			#size-cells = <0>;
164*67f165ddSAbel Vesa			reg = <1>;
165*67f165ddSAbel Vesa
166*67f165ddSAbel Vesa			adv7180: camera@21 {
167*67f165ddSAbel Vesa				compatible = "adi,adv7180";
168*67f165ddSAbel Vesa				reg = <0x21>;
169*67f165ddSAbel Vesa				powerdown-gpios = <&max7310_b 2 GPIO_ACTIVE_LOW>;
170*67f165ddSAbel Vesa				interrupt-parent = <&gpio1>;
171*67f165ddSAbel Vesa				interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
172*67f165ddSAbel Vesa
173*67f165ddSAbel Vesa				port {
174*67f165ddSAbel Vesa					adv7180_to_ipu1_csi0_mux: endpoint {
175*67f165ddSAbel Vesa						remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
176*67f165ddSAbel Vesa						bus-width = <8>;
177*67f165ddSAbel Vesa					};
178*67f165ddSAbel Vesa				};
179*67f165ddSAbel Vesa			};
180*67f165ddSAbel Vesa
181*67f165ddSAbel Vesa			max7310_a: gpio@30 {
182*67f165ddSAbel Vesa				compatible = "maxim,max7310";
183*67f165ddSAbel Vesa				reg = <0x30>;
184*67f165ddSAbel Vesa				gpio-controller;
185*67f165ddSAbel Vesa				#gpio-cells = <2>;
186*67f165ddSAbel Vesa			};
187*67f165ddSAbel Vesa
188*67f165ddSAbel Vesa			max7310_b: gpio@32 {
189*67f165ddSAbel Vesa				compatible = "maxim,max7310";
190*67f165ddSAbel Vesa				reg = <0x32>;
191*67f165ddSAbel Vesa				gpio-controller;
192*67f165ddSAbel Vesa				#gpio-cells = <2>;
193*67f165ddSAbel Vesa				pinctrl-names = "default";
194*67f165ddSAbel Vesa				pinctrl-0 = <&pinctrl_max7310>;
195*67f165ddSAbel Vesa				reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
196*67f165ddSAbel Vesa			};
197*67f165ddSAbel Vesa
198*67f165ddSAbel Vesa			max7310_c: gpio@34 {
199*67f165ddSAbel Vesa				compatible = "maxim,max7310";
200*67f165ddSAbel Vesa				reg = <0x34>;
201*67f165ddSAbel Vesa				gpio-controller;
202*67f165ddSAbel Vesa				#gpio-cells = <2>;
203*67f165ddSAbel Vesa			};
204*67f165ddSAbel Vesa
205*67f165ddSAbel Vesa			light-sensor@44 {
206*67f165ddSAbel Vesa				compatible = "isil,isl29023";
207*67f165ddSAbel Vesa				reg = <0x44>;
208*67f165ddSAbel Vesa				interrupt-parent = <&gpio5>;
209*67f165ddSAbel Vesa				interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
210*67f165ddSAbel Vesa			};
211*67f165ddSAbel Vesa
212*67f165ddSAbel Vesa			magnetometer@e {
213*67f165ddSAbel Vesa				compatible = "fsl,mag3110";
214*67f165ddSAbel Vesa				reg = <0x0e>;
215*67f165ddSAbel Vesa				interrupt-parent = <&gpio2>;
216*67f165ddSAbel Vesa				interrupts = <29 IRQ_TYPE_EDGE_RISING>;
217*67f165ddSAbel Vesa			};
218*67f165ddSAbel Vesa
219*67f165ddSAbel Vesa			accelerometer@1c {
220*67f165ddSAbel Vesa				compatible = "fsl,mma8451";
221*67f165ddSAbel Vesa				reg = <0x1c>;
222*67f165ddSAbel Vesa				interrupt-parent = <&gpio6>;
223*67f165ddSAbel Vesa				interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
224*67f165ddSAbel Vesa			};
225*67f165ddSAbel Vesa		};
226*67f165ddSAbel Vesa	};
227*67f165ddSAbel Vesa};
228*67f165ddSAbel Vesa
229*67f165ddSAbel Vesa&ipu1_csi0_from_ipu1_csi0_mux {
230*67f165ddSAbel Vesa	bus-width = <8>;
231*67f165ddSAbel Vesa};
232*67f165ddSAbel Vesa
233*67f165ddSAbel Vesa&ipu1_csi0_mux_from_parallel_sensor {
234*67f165ddSAbel Vesa	remote-endpoint = <&adv7180_to_ipu1_csi0_mux>;
235*67f165ddSAbel Vesa	bus-width = <8>;
236*67f165ddSAbel Vesa};
237*67f165ddSAbel Vesa
238*67f165ddSAbel Vesa&ipu1_csi0 {
239*67f165ddSAbel Vesa	pinctrl-names = "default";
240*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_ipu1_csi0>;
241*67f165ddSAbel Vesa};
242*67f165ddSAbel Vesa
243*67f165ddSAbel Vesa&clks {
244*67f165ddSAbel Vesa	assigned-clocks = <&clks IMX6QDL_PLL4_BYPASS_SRC>,
245*67f165ddSAbel Vesa			  <&clks IMX6QDL_PLL4_BYPASS>,
246*67f165ddSAbel Vesa			  <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
247*67f165ddSAbel Vesa			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
248*67f165ddSAbel Vesa			  <&clks IMX6QDL_CLK_PLL4_POST_DIV>;
249*67f165ddSAbel Vesa	assigned-clock-parents = <&clks IMX6QDL_CLK_LVDS2_IN>,
250*67f165ddSAbel Vesa				 <&clks IMX6QDL_PLL4_BYPASS_SRC>,
251*67f165ddSAbel Vesa				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
252*67f165ddSAbel Vesa				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
253*67f165ddSAbel Vesa	assigned-clock-rates = <0>, <0>, <0>, <0>, <24576000>;
254*67f165ddSAbel Vesa};
255*67f165ddSAbel Vesa
256*67f165ddSAbel Vesa&ecspi1 {
257*67f165ddSAbel Vesa	cs-gpios = <&gpio3 19 0>;
258*67f165ddSAbel Vesa	pinctrl-names = "default";
259*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
260*67f165ddSAbel Vesa	status = "disabled"; /* pin conflict with WEIM NOR */
261*67f165ddSAbel Vesa
262*67f165ddSAbel Vesa	flash: m25p80@0 {
263*67f165ddSAbel Vesa		#address-cells = <1>;
264*67f165ddSAbel Vesa		#size-cells = <1>;
265*67f165ddSAbel Vesa		compatible = "st,m25p32", "jedec,spi-nor";
266*67f165ddSAbel Vesa		spi-max-frequency = <20000000>;
267*67f165ddSAbel Vesa		reg = <0>;
268*67f165ddSAbel Vesa	};
269*67f165ddSAbel Vesa};
270*67f165ddSAbel Vesa
271*67f165ddSAbel Vesa&esai {
272*67f165ddSAbel Vesa	pinctrl-names = "default";
273*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_esai>;
274*67f165ddSAbel Vesa	assigned-clocks = <&clks IMX6QDL_CLK_ESAI_SEL>,
275*67f165ddSAbel Vesa			  <&clks IMX6QDL_CLK_ESAI_EXTAL>;
276*67f165ddSAbel Vesa	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL4_AUDIO_DIV>;
277*67f165ddSAbel Vesa	assigned-clock-rates = <0>, <24576000>;
278*67f165ddSAbel Vesa	status = "okay";
279*67f165ddSAbel Vesa};
280*67f165ddSAbel Vesa
281*67f165ddSAbel Vesa&fec {
282*67f165ddSAbel Vesa	pinctrl-names = "default";
283*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_enet>;
284*67f165ddSAbel Vesa	phy-mode = "rgmii";
285*67f165ddSAbel Vesa	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
286*67f165ddSAbel Vesa			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
287*67f165ddSAbel Vesa	fsl,err006687-workaround-present;
288*67f165ddSAbel Vesa	status = "okay";
289*67f165ddSAbel Vesa};
290*67f165ddSAbel Vesa
291*67f165ddSAbel Vesa&gpmi {
292*67f165ddSAbel Vesa	pinctrl-names = "default";
293*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_gpmi_nand>;
294*67f165ddSAbel Vesa	status = "okay";
295*67f165ddSAbel Vesa};
296*67f165ddSAbel Vesa
297*67f165ddSAbel Vesa&hdmi {
298*67f165ddSAbel Vesa	pinctrl-names = "default";
299*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_hdmi_cec>;
300*67f165ddSAbel Vesa	ddc-i2c-bus = <&i2c2>;
301*67f165ddSAbel Vesa	status = "okay";
302*67f165ddSAbel Vesa};
303*67f165ddSAbel Vesa
304*67f165ddSAbel Vesa&i2c2 {
305*67f165ddSAbel Vesa	clock-frequency = <100000>;
306*67f165ddSAbel Vesa	pinctrl-names = "default";
307*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_i2c2>;
308*67f165ddSAbel Vesa	status = "okay";
309*67f165ddSAbel Vesa
310*67f165ddSAbel Vesa	pmic: pfuze100@8 {
311*67f165ddSAbel Vesa		compatible = "fsl,pfuze100";
312*67f165ddSAbel Vesa		reg = <0x08>;
313*67f165ddSAbel Vesa
314*67f165ddSAbel Vesa		regulators {
315*67f165ddSAbel Vesa			sw1a_reg: sw1ab {
316*67f165ddSAbel Vesa				regulator-min-microvolt = <300000>;
317*67f165ddSAbel Vesa				regulator-max-microvolt = <1875000>;
318*67f165ddSAbel Vesa				regulator-boot-on;
319*67f165ddSAbel Vesa				regulator-always-on;
320*67f165ddSAbel Vesa				regulator-ramp-delay = <6250>;
321*67f165ddSAbel Vesa			};
322*67f165ddSAbel Vesa
323*67f165ddSAbel Vesa			sw1c_reg: sw1c {
324*67f165ddSAbel Vesa				regulator-min-microvolt = <300000>;
325*67f165ddSAbel Vesa				regulator-max-microvolt = <1875000>;
326*67f165ddSAbel Vesa				regulator-boot-on;
327*67f165ddSAbel Vesa				regulator-always-on;
328*67f165ddSAbel Vesa				regulator-ramp-delay = <6250>;
329*67f165ddSAbel Vesa			};
330*67f165ddSAbel Vesa
331*67f165ddSAbel Vesa			sw2_reg: sw2 {
332*67f165ddSAbel Vesa				regulator-min-microvolt = <800000>;
333*67f165ddSAbel Vesa				regulator-max-microvolt = <3300000>;
334*67f165ddSAbel Vesa				regulator-boot-on;
335*67f165ddSAbel Vesa				regulator-always-on;
336*67f165ddSAbel Vesa			};
337*67f165ddSAbel Vesa
338*67f165ddSAbel Vesa			sw3a_reg: sw3a {
339*67f165ddSAbel Vesa				regulator-min-microvolt = <400000>;
340*67f165ddSAbel Vesa				regulator-max-microvolt = <1975000>;
341*67f165ddSAbel Vesa				regulator-boot-on;
342*67f165ddSAbel Vesa				regulator-always-on;
343*67f165ddSAbel Vesa			};
344*67f165ddSAbel Vesa
345*67f165ddSAbel Vesa			sw3b_reg: sw3b {
346*67f165ddSAbel Vesa				regulator-min-microvolt = <400000>;
347*67f165ddSAbel Vesa				regulator-max-microvolt = <1975000>;
348*67f165ddSAbel Vesa				regulator-boot-on;
349*67f165ddSAbel Vesa				regulator-always-on;
350*67f165ddSAbel Vesa			};
351*67f165ddSAbel Vesa
352*67f165ddSAbel Vesa			sw4_reg: sw4 {
353*67f165ddSAbel Vesa				regulator-min-microvolt = <800000>;
354*67f165ddSAbel Vesa				regulator-max-microvolt = <3300000>;
355*67f165ddSAbel Vesa			};
356*67f165ddSAbel Vesa
357*67f165ddSAbel Vesa			swbst_reg: swbst {
358*67f165ddSAbel Vesa				regulator-min-microvolt = <5000000>;
359*67f165ddSAbel Vesa				regulator-max-microvolt = <5150000>;
360*67f165ddSAbel Vesa			};
361*67f165ddSAbel Vesa
362*67f165ddSAbel Vesa			snvs_reg: vsnvs {
363*67f165ddSAbel Vesa				regulator-min-microvolt = <1000000>;
364*67f165ddSAbel Vesa				regulator-max-microvolt = <3000000>;
365*67f165ddSAbel Vesa				regulator-boot-on;
366*67f165ddSAbel Vesa				regulator-always-on;
367*67f165ddSAbel Vesa			};
368*67f165ddSAbel Vesa
369*67f165ddSAbel Vesa			vref_reg: vrefddr {
370*67f165ddSAbel Vesa				regulator-boot-on;
371*67f165ddSAbel Vesa				regulator-always-on;
372*67f165ddSAbel Vesa			};
373*67f165ddSAbel Vesa
374*67f165ddSAbel Vesa			vgen1_reg: vgen1 {
375*67f165ddSAbel Vesa				regulator-min-microvolt = <800000>;
376*67f165ddSAbel Vesa				regulator-max-microvolt = <1550000>;
377*67f165ddSAbel Vesa			};
378*67f165ddSAbel Vesa
379*67f165ddSAbel Vesa			vgen2_reg: vgen2 {
380*67f165ddSAbel Vesa				regulator-min-microvolt = <800000>;
381*67f165ddSAbel Vesa				regulator-max-microvolt = <1550000>;
382*67f165ddSAbel Vesa			};
383*67f165ddSAbel Vesa
384*67f165ddSAbel Vesa			vgen3_reg: vgen3 {
385*67f165ddSAbel Vesa				regulator-min-microvolt = <1800000>;
386*67f165ddSAbel Vesa				regulator-max-microvolt = <3300000>;
387*67f165ddSAbel Vesa			};
388*67f165ddSAbel Vesa
389*67f165ddSAbel Vesa			vgen4_reg: vgen4 {
390*67f165ddSAbel Vesa				regulator-min-microvolt = <1800000>;
391*67f165ddSAbel Vesa				regulator-max-microvolt = <3300000>;
392*67f165ddSAbel Vesa				regulator-always-on;
393*67f165ddSAbel Vesa			};
394*67f165ddSAbel Vesa
395*67f165ddSAbel Vesa			vgen5_reg: vgen5 {
396*67f165ddSAbel Vesa				regulator-min-microvolt = <1800000>;
397*67f165ddSAbel Vesa				regulator-max-microvolt = <3300000>;
398*67f165ddSAbel Vesa				regulator-always-on;
399*67f165ddSAbel Vesa			};
400*67f165ddSAbel Vesa
401*67f165ddSAbel Vesa			vgen6_reg: vgen6 {
402*67f165ddSAbel Vesa				regulator-min-microvolt = <1800000>;
403*67f165ddSAbel Vesa				regulator-max-microvolt = <3300000>;
404*67f165ddSAbel Vesa				regulator-always-on;
405*67f165ddSAbel Vesa			};
406*67f165ddSAbel Vesa		};
407*67f165ddSAbel Vesa	};
408*67f165ddSAbel Vesa
409*67f165ddSAbel Vesa	codec: cs42888@48 {
410*67f165ddSAbel Vesa		compatible = "cirrus,cs42888";
411*67f165ddSAbel Vesa		reg = <0x48>;
412*67f165ddSAbel Vesa		clocks = <&codec_osc>;
413*67f165ddSAbel Vesa		clock-names = "mclk";
414*67f165ddSAbel Vesa		VA-supply = <&reg_audio>;
415*67f165ddSAbel Vesa		VD-supply = <&reg_audio>;
416*67f165ddSAbel Vesa		VLS-supply = <&reg_audio>;
417*67f165ddSAbel Vesa		VLC-supply = <&reg_audio>;
418*67f165ddSAbel Vesa	};
419*67f165ddSAbel Vesa
420*67f165ddSAbel Vesa	touchscreen@4 {
421*67f165ddSAbel Vesa		compatible = "eeti,egalax_ts";
422*67f165ddSAbel Vesa		reg = <0x04>;
423*67f165ddSAbel Vesa		pinctrl-names = "default";
424*67f165ddSAbel Vesa		pinctrl-0 = <&pinctrl_egalax_int>;
425*67f165ddSAbel Vesa		interrupt-parent = <&gpio2>;
426*67f165ddSAbel Vesa		interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
427*67f165ddSAbel Vesa		wakeup-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
428*67f165ddSAbel Vesa	};
429*67f165ddSAbel Vesa};
430*67f165ddSAbel Vesa
431*67f165ddSAbel Vesa&i2c3 {
432*67f165ddSAbel Vesa	pinctrl-names = "default";
433*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_i2c3>;
434*67f165ddSAbel Vesa	status = "okay";
435*67f165ddSAbel Vesa};
436*67f165ddSAbel Vesa
437*67f165ddSAbel Vesa&iomuxc {
438*67f165ddSAbel Vesa	pinctrl-names = "default";
439*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_hog>;
440*67f165ddSAbel Vesa
441*67f165ddSAbel Vesa	imx6qdl-sabreauto {
442*67f165ddSAbel Vesa		pinctrl_hog: hoggrp {
443*67f165ddSAbel Vesa			fsl,pins = <
444*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x80000000
445*67f165ddSAbel Vesa				MX6QDL_PAD_SD2_DAT2__GPIO1_IO13  0x80000000
446*67f165ddSAbel Vesa				MX6QDL_PAD_GPIO_18__SD3_VSELECT 0x17059
447*67f165ddSAbel Vesa			>;
448*67f165ddSAbel Vesa		};
449*67f165ddSAbel Vesa
450*67f165ddSAbel Vesa		pinctrl_ecspi1: ecspi1grp {
451*67f165ddSAbel Vesa			fsl,pins = <
452*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D17__ECSPI1_MISO		0x100b1
453*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D18__ECSPI1_MOSI		0x100b1
454*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D16__ECSPI1_SCLK		0x100b1
455*67f165ddSAbel Vesa			>;
456*67f165ddSAbel Vesa		};
457*67f165ddSAbel Vesa
458*67f165ddSAbel Vesa		pinctrl_ecspi1_cs: ecspi1cs {
459*67f165ddSAbel Vesa			fsl,pins = <
460*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
461*67f165ddSAbel Vesa			>;
462*67f165ddSAbel Vesa		};
463*67f165ddSAbel Vesa
464*67f165ddSAbel Vesa		pinctrl_egalax_int: egalax-intgrp {
465*67f165ddSAbel Vesa			fsl,pins = <
466*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_EB0__GPIO2_IO28		0xb0b1
467*67f165ddSAbel Vesa			>;
468*67f165ddSAbel Vesa		};
469*67f165ddSAbel Vesa
470*67f165ddSAbel Vesa		pinctrl_enet: enetgrp {
471*67f165ddSAbel Vesa			fsl,pins = <
472*67f165ddSAbel Vesa				MX6QDL_PAD_KEY_COL1__ENET_MDIO		0x1b0b0
473*67f165ddSAbel Vesa				MX6QDL_PAD_KEY_COL2__ENET_MDC		0x1b0b0
474*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
475*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
476*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
477*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
478*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
479*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
480*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
481*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
482*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
483*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
484*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
485*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
486*67f165ddSAbel Vesa				MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
487*67f165ddSAbel Vesa				MX6QDL_PAD_GPIO_6__ENET_IRQ		0x000b1
488*67f165ddSAbel Vesa			>;
489*67f165ddSAbel Vesa		};
490*67f165ddSAbel Vesa
491*67f165ddSAbel Vesa		pinctrl_esai: esaigrp {
492*67f165ddSAbel Vesa			fsl,pins = <
493*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_CRS_DV__ESAI_TX_CLK 0x1b030
494*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_RXD1__ESAI_TX_FS    0x1b030
495*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_TX_EN__ESAI_TX3_RX2 0x1b030
496*67f165ddSAbel Vesa				MX6QDL_PAD_GPIO_5__ESAI_TX2_RX3     0x1b030
497*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_TXD0__ESAI_TX4_RX1  0x1b030
498*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_MDC__ESAI_TX5_RX0   0x1b030
499*67f165ddSAbel Vesa				MX6QDL_PAD_GPIO_17__ESAI_TX0        0x1b030
500*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_CS3__ESAI_TX1      0x1b030
501*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_MDIO__ESAI_RX_CLK   0x1b030
502*67f165ddSAbel Vesa				MX6QDL_PAD_GPIO_9__ESAI_RX_FS       0x1b030
503*67f165ddSAbel Vesa			>;
504*67f165ddSAbel Vesa		};
505*67f165ddSAbel Vesa
506*67f165ddSAbel Vesa		pinctrl_gpio_keys: gpiokeysgrp {
507*67f165ddSAbel Vesa			fsl,pins = <
508*67f165ddSAbel Vesa				MX6QDL_PAD_SD2_CMD__GPIO1_IO11		0x1b0b0
509*67f165ddSAbel Vesa				MX6QDL_PAD_SD2_DAT3__GPIO1_IO12		0x1b0b0
510*67f165ddSAbel Vesa				MX6QDL_PAD_SD4_DAT4__GPIO2_IO12		0x1b0b0
511*67f165ddSAbel Vesa				MX6QDL_PAD_SD4_DAT7__GPIO2_IO15		0x1b0b0
512*67f165ddSAbel Vesa				MX6QDL_PAD_DISP0_DAT20__GPIO5_IO14	0x1b0b0
513*67f165ddSAbel Vesa			>;
514*67f165ddSAbel Vesa		};
515*67f165ddSAbel Vesa
516*67f165ddSAbel Vesa		pinctrl_gpio_leds: gpioledsgrp {
517*67f165ddSAbel Vesa			fsl,pins = <
518*67f165ddSAbel Vesa				MX6QDL_PAD_DISP0_DAT21__GPIO5_IO15	0x80000000
519*67f165ddSAbel Vesa			>;
520*67f165ddSAbel Vesa		};
521*67f165ddSAbel Vesa
522*67f165ddSAbel Vesa		pinctrl_gpmi_nand: gpminandgrp {
523*67f165ddSAbel Vesa			fsl,pins = <
524*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_CLE__NAND_CLE		0xb0b1
525*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_ALE__NAND_ALE		0xb0b1
526*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_WP_B__NAND_WP_B	0xb0b1
527*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_RB0__NAND_READY_B	0xb000
528*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_CS0__NAND_CE0_B	0xb0b1
529*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_CS1__NAND_CE1_B	0xb0b1
530*67f165ddSAbel Vesa				MX6QDL_PAD_SD4_CMD__NAND_RE_B		0xb0b1
531*67f165ddSAbel Vesa				MX6QDL_PAD_SD4_CLK__NAND_WE_B		0xb0b1
532*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D0__NAND_DATA00	0xb0b1
533*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D1__NAND_DATA01	0xb0b1
534*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D2__NAND_DATA02	0xb0b1
535*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D3__NAND_DATA03	0xb0b1
536*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D4__NAND_DATA04	0xb0b1
537*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D5__NAND_DATA05	0xb0b1
538*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D6__NAND_DATA06	0xb0b1
539*67f165ddSAbel Vesa				MX6QDL_PAD_NANDF_D7__NAND_DATA07	0xb0b1
540*67f165ddSAbel Vesa				MX6QDL_PAD_SD4_DAT0__NAND_DQS		0x00b1
541*67f165ddSAbel Vesa			>;
542*67f165ddSAbel Vesa		};
543*67f165ddSAbel Vesa
544*67f165ddSAbel Vesa		pinctrl_hdmi_cec: hdmicecgrp {
545*67f165ddSAbel Vesa			fsl,pins = <
546*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE	0x1f8b0
547*67f165ddSAbel Vesa			>;
548*67f165ddSAbel Vesa		};
549*67f165ddSAbel Vesa
550*67f165ddSAbel Vesa		pinctrl_i2c2: i2c2grp {
551*67f165ddSAbel Vesa			fsl,pins = <
552*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_EB2__I2C2_SCL	0x4001b8b1
553*67f165ddSAbel Vesa				MX6QDL_PAD_KEY_ROW3__I2C2_SDA	0x4001b8b1
554*67f165ddSAbel Vesa			>;
555*67f165ddSAbel Vesa		};
556*67f165ddSAbel Vesa
557*67f165ddSAbel Vesa		pinctrl_i2c3: i2c3grp {
558*67f165ddSAbel Vesa			fsl,pins = <
559*67f165ddSAbel Vesa				MX6QDL_PAD_GPIO_3__I2C3_SCL  0x4001b8b1
560*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
561*67f165ddSAbel Vesa			>;
562*67f165ddSAbel Vesa		};
563*67f165ddSAbel Vesa
564*67f165ddSAbel Vesa		pinctrl_i2c3mux: i2c3muxgrp {
565*67f165ddSAbel Vesa			fsl,pins = <
566*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x0b0b1
567*67f165ddSAbel Vesa			>;
568*67f165ddSAbel Vesa		};
569*67f165ddSAbel Vesa
570*67f165ddSAbel Vesa		pinctrl_ipu1_csi0: ipu1csi0grp {
571*67f165ddSAbel Vesa			fsl,pins = <
572*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12  0x1b0b0
573*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13  0x1b0b0
574*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14  0x1b0b0
575*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15  0x1b0b0
576*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16  0x1b0b0
577*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17  0x1b0b0
578*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18  0x1b0b0
579*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19  0x1b0b0
580*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0x1b0b0
581*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC    0x1b0b0
582*67f165ddSAbel Vesa				MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC   0x1b0b0
583*67f165ddSAbel Vesa			>;
584*67f165ddSAbel Vesa		};
585*67f165ddSAbel Vesa
586*67f165ddSAbel Vesa		pinctrl_max7310: max7310grp {
587*67f165ddSAbel Vesa			fsl,pins = <
588*67f165ddSAbel Vesa				MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x1b0b0
589*67f165ddSAbel Vesa			>;
590*67f165ddSAbel Vesa		};
591*67f165ddSAbel Vesa
592*67f165ddSAbel Vesa		pinctrl_pwm3: pwm1grp {
593*67f165ddSAbel Vesa			fsl,pins = <
594*67f165ddSAbel Vesa				MX6QDL_PAD_SD4_DAT1__PWM3_OUT		0x1b0b1
595*67f165ddSAbel Vesa			>;
596*67f165ddSAbel Vesa		};
597*67f165ddSAbel Vesa
598*67f165ddSAbel Vesa		pinctrl_gpt_input_capture0: gptinputcapture0grp {
599*67f165ddSAbel Vesa			fsl,pins = <
600*67f165ddSAbel Vesa				MX6QDL_PAD_SD1_DAT0__GPT_CAPTURE1	0x1b0b0
601*67f165ddSAbel Vesa			>;
602*67f165ddSAbel Vesa		};
603*67f165ddSAbel Vesa
604*67f165ddSAbel Vesa		pinctrl_gpt_input_capture1: gptinputcapture1grp {
605*67f165ddSAbel Vesa			fsl,pins = <
606*67f165ddSAbel Vesa				MX6QDL_PAD_SD1_DAT1__GPT_CAPTURE2	0x1b0b0
607*67f165ddSAbel Vesa			>;
608*67f165ddSAbel Vesa		};
609*67f165ddSAbel Vesa
610*67f165ddSAbel Vesa		pinctrl_spdif: spdifgrp {
611*67f165ddSAbel Vesa			fsl,pins = <
612*67f165ddSAbel Vesa				MX6QDL_PAD_KEY_COL3__SPDIF_IN 0x1b0b0
613*67f165ddSAbel Vesa			>;
614*67f165ddSAbel Vesa		};
615*67f165ddSAbel Vesa
616*67f165ddSAbel Vesa		pinctrl_uart4: uart4grp {
617*67f165ddSAbel Vesa			fsl,pins = <
618*67f165ddSAbel Vesa				MX6QDL_PAD_KEY_COL0__UART4_TX_DATA	0x1b0b1
619*67f165ddSAbel Vesa				MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA	0x1b0b1
620*67f165ddSAbel Vesa			>;
621*67f165ddSAbel Vesa		};
622*67f165ddSAbel Vesa
623*67f165ddSAbel Vesa		pinctrl_usbotg: usbotggrp {
624*67f165ddSAbel Vesa			fsl,pins = <
625*67f165ddSAbel Vesa				MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
626*67f165ddSAbel Vesa			>;
627*67f165ddSAbel Vesa		};
628*67f165ddSAbel Vesa
629*67f165ddSAbel Vesa		pinctrl_usdhc3: usdhc3grp {
630*67f165ddSAbel Vesa			fsl,pins = <
631*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
632*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
633*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
634*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
635*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
636*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
637*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT4__SD3_DATA4		0x17059
638*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x17059
639*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x17059
640*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x17059
641*67f165ddSAbel Vesa			>;
642*67f165ddSAbel Vesa		};
643*67f165ddSAbel Vesa
644*67f165ddSAbel Vesa		pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
645*67f165ddSAbel Vesa			fsl,pins = <
646*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170b9
647*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100b9
648*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170b9
649*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170b9
650*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170b9
651*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170b9
652*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT4__SD3_DATA4		0x170b9
653*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x170b9
654*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x170b9
655*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x170b9
656*67f165ddSAbel Vesa			>;
657*67f165ddSAbel Vesa		};
658*67f165ddSAbel Vesa
659*67f165ddSAbel Vesa		pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
660*67f165ddSAbel Vesa			fsl,pins = <
661*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170f9
662*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100f9
663*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170f9
664*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170f9
665*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170f9
666*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170f9
667*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT4__SD3_DATA4		0x170f9
668*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x170f9
669*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x170f9
670*67f165ddSAbel Vesa				MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x170f9
671*67f165ddSAbel Vesa			>;
672*67f165ddSAbel Vesa		};
673*67f165ddSAbel Vesa
674*67f165ddSAbel Vesa		pinctrl_weim_cs0: weimcs0grp {
675*67f165ddSAbel Vesa			fsl,pins = <
676*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_CS0__EIM_CS0_B		0xb0b1
677*67f165ddSAbel Vesa			>;
678*67f165ddSAbel Vesa		};
679*67f165ddSAbel Vesa
680*67f165ddSAbel Vesa		pinctrl_weim_nor: weimnorgrp {
681*67f165ddSAbel Vesa			fsl,pins = <
682*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_OE__EIM_OE_B		0xb0b1
683*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_RW__EIM_RW		0xb0b1
684*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_WAIT__EIM_WAIT_B		0xb060
685*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D16__EIM_DATA16		0x1b0b0
686*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D17__EIM_DATA17		0x1b0b0
687*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D18__EIM_DATA18		0x1b0b0
688*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D19__EIM_DATA19		0x1b0b0
689*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D20__EIM_DATA20		0x1b0b0
690*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D21__EIM_DATA21		0x1b0b0
691*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D22__EIM_DATA22		0x1b0b0
692*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D23__EIM_DATA23		0x1b0b0
693*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D24__EIM_DATA24		0x1b0b0
694*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D25__EIM_DATA25		0x1b0b0
695*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D26__EIM_DATA26		0x1b0b0
696*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D27__EIM_DATA27		0x1b0b0
697*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D28__EIM_DATA28		0x1b0b0
698*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D29__EIM_DATA29		0x1b0b0
699*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D30__EIM_DATA30		0x1b0b0
700*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_D31__EIM_DATA31		0x1b0b0
701*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A23__EIM_ADDR23		0xb0b1
702*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A22__EIM_ADDR22		0xb0b1
703*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A21__EIM_ADDR21		0xb0b1
704*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A20__EIM_ADDR20		0xb0b1
705*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A19__EIM_ADDR19		0xb0b1
706*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A18__EIM_ADDR18		0xb0b1
707*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A17__EIM_ADDR17		0xb0b1
708*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_A16__EIM_ADDR16		0xb0b1
709*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA15__EIM_AD15		0xb0b1
710*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA14__EIM_AD14		0xb0b1
711*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA13__EIM_AD13		0xb0b1
712*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA12__EIM_AD12		0xb0b1
713*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA11__EIM_AD11		0xb0b1
714*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA10__EIM_AD10		0xb0b1
715*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA9__EIM_AD09		0xb0b1
716*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA8__EIM_AD08		0xb0b1
717*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA7__EIM_AD07		0xb0b1
718*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA6__EIM_AD06		0xb0b1
719*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA5__EIM_AD05		0xb0b1
720*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA4__EIM_AD04		0xb0b1
721*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA3__EIM_AD03		0xb0b1
722*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA2__EIM_AD02		0xb0b1
723*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA1__EIM_AD01		0xb0b1
724*67f165ddSAbel Vesa				MX6QDL_PAD_EIM_DA0__EIM_AD00		0xb0b1
725*67f165ddSAbel Vesa			>;
726*67f165ddSAbel Vesa		};
727*67f165ddSAbel Vesa	};
728*67f165ddSAbel Vesa};
729*67f165ddSAbel Vesa
730*67f165ddSAbel Vesa&ldb {
731*67f165ddSAbel Vesa	status = "okay";
732*67f165ddSAbel Vesa
733*67f165ddSAbel Vesa	lvds-channel@0 {
734*67f165ddSAbel Vesa		fsl,data-mapping = "spwg";
735*67f165ddSAbel Vesa		fsl,data-width = <18>;
736*67f165ddSAbel Vesa		status = "okay";
737*67f165ddSAbel Vesa
738*67f165ddSAbel Vesa		display-timings {
739*67f165ddSAbel Vesa			native-mode = <&timing0>;
740*67f165ddSAbel Vesa			timing0: hsd100pxn1 {
741*67f165ddSAbel Vesa				clock-frequency = <65000000>;
742*67f165ddSAbel Vesa				hactive = <1024>;
743*67f165ddSAbel Vesa				vactive = <768>;
744*67f165ddSAbel Vesa				hback-porch = <220>;
745*67f165ddSAbel Vesa				hfront-porch = <40>;
746*67f165ddSAbel Vesa				vback-porch = <21>;
747*67f165ddSAbel Vesa				vfront-porch = <7>;
748*67f165ddSAbel Vesa				hsync-len = <60>;
749*67f165ddSAbel Vesa				vsync-len = <10>;
750*67f165ddSAbel Vesa			};
751*67f165ddSAbel Vesa		};
752*67f165ddSAbel Vesa	};
753*67f165ddSAbel Vesa};
754*67f165ddSAbel Vesa
755*67f165ddSAbel Vesa&pwm3 {
756*67f165ddSAbel Vesa	pinctrl-names = "default";
757*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_pwm3>;
758*67f165ddSAbel Vesa	status = "okay";
759*67f165ddSAbel Vesa};
760*67f165ddSAbel Vesa
761*67f165ddSAbel Vesa&spdif {
762*67f165ddSAbel Vesa	pinctrl-names = "default";
763*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_spdif>;
764*67f165ddSAbel Vesa	status = "okay";
765*67f165ddSAbel Vesa};
766*67f165ddSAbel Vesa
767*67f165ddSAbel Vesa&uart4 {
768*67f165ddSAbel Vesa	pinctrl-names = "default";
769*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_uart4>;
770*67f165ddSAbel Vesa	status = "okay";
771*67f165ddSAbel Vesa};
772*67f165ddSAbel Vesa
773*67f165ddSAbel Vesa&usbh1 {
774*67f165ddSAbel Vesa	vbus-supply = <&reg_usb_h1_vbus>;
775*67f165ddSAbel Vesa	status = "okay";
776*67f165ddSAbel Vesa};
777*67f165ddSAbel Vesa
778*67f165ddSAbel Vesa&usbotg {
779*67f165ddSAbel Vesa	vbus-supply = <&reg_usb_otg_vbus>;
780*67f165ddSAbel Vesa	pinctrl-names = "default";
781*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_usbotg>;
782*67f165ddSAbel Vesa	status = "okay";
783*67f165ddSAbel Vesa};
784*67f165ddSAbel Vesa
785*67f165ddSAbel Vesa&usdhc3 {
786*67f165ddSAbel Vesa	pinctrl-names = "default", "state_100mhz", "state_200mhz";
787*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_usdhc3>;
788*67f165ddSAbel Vesa	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
789*67f165ddSAbel Vesa	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
790*67f165ddSAbel Vesa	cd-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
791*67f165ddSAbel Vesa	wp-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
792*67f165ddSAbel Vesa	status = "okay";
793*67f165ddSAbel Vesa};
794*67f165ddSAbel Vesa
795*67f165ddSAbel Vesa&weim {
796*67f165ddSAbel Vesa	pinctrl-names = "default";
797*67f165ddSAbel Vesa	pinctrl-0 = <&pinctrl_weim_nor &pinctrl_weim_cs0>;
798*67f165ddSAbel Vesa	ranges = <0 0 0x08000000 0x08000000>;
799*67f165ddSAbel Vesa	status = "disabled"; /* pin conflict with SPI NOR */
800*67f165ddSAbel Vesa
801*67f165ddSAbel Vesa	nor@0,0 {
802*67f165ddSAbel Vesa		compatible = "cfi-flash";
803*67f165ddSAbel Vesa		reg = <0 0 0x02000000>;
804*67f165ddSAbel Vesa		#address-cells = <1>;
805*67f165ddSAbel Vesa		#size-cells = <1>;
806*67f165ddSAbel Vesa		bank-width = <2>;
807*67f165ddSAbel Vesa		fsl,weim-cs-timing = <0x00620081 0x00000001 0x1c022000
808*67f165ddSAbel Vesa				0x0000c000 0x1404a38e 0x00000000>;
809*67f165ddSAbel Vesa	};
810*67f165ddSAbel Vesa};
811