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