xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6dl-yapp4-common.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot//
3f126890aSEmmanuel Vadot// Copyright (C) 2015-2018 Y Soft Corporation, a.s.
4f126890aSEmmanuel Vadot
5f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	aliases: aliases {
13f126890aSEmmanuel Vadot		ethernet1 = &eth1;
14f126890aSEmmanuel Vadot		ethernet2 = &eth2;
15f126890aSEmmanuel Vadot		mmc0 = &usdhc3;
16f126890aSEmmanuel Vadot		mmc1 = &usdhc4;
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	backlight: backlight {
20f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
21f126890aSEmmanuel Vadot		pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
22f126890aSEmmanuel Vadot		brightness-levels = <0 32 64 128 255>;
23f126890aSEmmanuel Vadot		default-brightness-level = <32>;
24f126890aSEmmanuel Vadot		num-interpolated-steps = <8>;
25f126890aSEmmanuel Vadot		power-supply = <&sw2_reg>;
26f126890aSEmmanuel Vadot		status = "disabled";
27f126890aSEmmanuel Vadot	};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot	lcd_display: display {
30f126890aSEmmanuel Vadot		compatible = "fsl,imx-parallel-display";
31f126890aSEmmanuel Vadot		#address-cells = <1>;
32f126890aSEmmanuel Vadot		#size-cells = <0>;
33f126890aSEmmanuel Vadot		interface-pix-fmt = "rgb24";
34f126890aSEmmanuel Vadot		pinctrl-names = "default";
35f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_ipu1>;
36f126890aSEmmanuel Vadot		status = "disabled";
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot		port@0 {
39f126890aSEmmanuel Vadot			reg = <0>;
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot			lcd_display_in: endpoint {
42f126890aSEmmanuel Vadot				remote-endpoint = <&ipu1_di0_disp0>;
43f126890aSEmmanuel Vadot			};
44f126890aSEmmanuel Vadot		};
45f126890aSEmmanuel Vadot
46f126890aSEmmanuel Vadot		port@1 {
47f126890aSEmmanuel Vadot			reg = <1>;
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot			lcd_display_out: endpoint {
50f126890aSEmmanuel Vadot				remote-endpoint = <&lcd_panel_in>;
51f126890aSEmmanuel Vadot			};
52f126890aSEmmanuel Vadot		};
53f126890aSEmmanuel Vadot	};
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot	panel: panel {
56f126890aSEmmanuel Vadot		compatible = "dataimage,scf0700c48ggu18";
57f126890aSEmmanuel Vadot		power-supply = <&sw2_reg>;
58f126890aSEmmanuel Vadot		backlight = <&backlight>;
59f126890aSEmmanuel Vadot		status = "disabled";
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		port {
62f126890aSEmmanuel Vadot			lcd_panel_in: endpoint {
63f126890aSEmmanuel Vadot				remote-endpoint = <&lcd_display_out>;
64f126890aSEmmanuel Vadot			};
65f126890aSEmmanuel Vadot		};
66f126890aSEmmanuel Vadot	};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot	reg_pcie: regulator-pcie {
69f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
70f126890aSEmmanuel Vadot		pinctrl-names = "default";
71f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pcie_reg>;
72f126890aSEmmanuel Vadot		regulator-name = "MPCIE_3V3";
73f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
74f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
75f126890aSEmmanuel Vadot		gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>;
76f126890aSEmmanuel Vadot		enable-active-high;
77f126890aSEmmanuel Vadot		status = "disabled";
78f126890aSEmmanuel Vadot	};
79f126890aSEmmanuel Vadot
80f126890aSEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
81f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
82f126890aSEmmanuel Vadot		pinctrl-names = "default";
83f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbh1_vbus>;
84f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
85f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
86f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
87f126890aSEmmanuel Vadot		gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
88f126890aSEmmanuel Vadot		enable-active-high;
89f126890aSEmmanuel Vadot		status = "disabled";
90f126890aSEmmanuel Vadot	};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
93f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
94f126890aSEmmanuel Vadot		pinctrl-names = "default";
95f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbotg_vbus>;
96f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
97f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
98f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
99f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
100f126890aSEmmanuel Vadot		enable-active-high;
101f126890aSEmmanuel Vadot	};
102f126890aSEmmanuel Vadot};
103f126890aSEmmanuel Vadot
104f126890aSEmmanuel Vadot&fec {
105f126890aSEmmanuel Vadot	pinctrl-names = "default";
106f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
107f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
108f126890aSEmmanuel Vadot	phy-supply = <&sw2_reg>;
109f126890aSEmmanuel Vadot	status = "okay";
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot	fixed-link {
112f126890aSEmmanuel Vadot		speed = <1000>;
113f126890aSEmmanuel Vadot		full-duplex;
114f126890aSEmmanuel Vadot	};
115f126890aSEmmanuel Vadot
116f126890aSEmmanuel Vadot	mdio {
117f126890aSEmmanuel Vadot		#address-cells = <1>;
118f126890aSEmmanuel Vadot		#size-cells = <0>;
119f126890aSEmmanuel Vadot
120f126890aSEmmanuel Vadot		switch@10 {
121f126890aSEmmanuel Vadot			compatible = "qca,qca8334";
122*01950c46SEmmanuel Vadot			reg = <0x10>;
123f126890aSEmmanuel Vadot			reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot			switch_ports: ports {
126f126890aSEmmanuel Vadot				#address-cells = <1>;
127f126890aSEmmanuel Vadot				#size-cells = <0>;
128f126890aSEmmanuel Vadot
129f126890aSEmmanuel Vadot				ethphy0: port@0 {
130f126890aSEmmanuel Vadot					reg = <0>;
131f126890aSEmmanuel Vadot					label = "cpu";
132f126890aSEmmanuel Vadot					phy-mode = "rgmii-id";
133f126890aSEmmanuel Vadot					ethernet = <&fec>;
134f126890aSEmmanuel Vadot
135f126890aSEmmanuel Vadot					fixed-link {
136f126890aSEmmanuel Vadot						speed = <1000>;
137f126890aSEmmanuel Vadot						full-duplex;
138f126890aSEmmanuel Vadot					};
139f126890aSEmmanuel Vadot				};
140f126890aSEmmanuel Vadot
141f126890aSEmmanuel Vadot				eth2: port@2 {
142f126890aSEmmanuel Vadot					reg = <2>;
143f126890aSEmmanuel Vadot					label = "eth2";
144*01950c46SEmmanuel Vadot					phy-mode = "internal";
145f126890aSEmmanuel Vadot					phy-handle = <&phy_port2>;
146f126890aSEmmanuel Vadot				};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot				eth1: port@3 {
149f126890aSEmmanuel Vadot					reg = <3>;
150f126890aSEmmanuel Vadot					label = "eth1";
151*01950c46SEmmanuel Vadot					phy-mode = "internal";
152f126890aSEmmanuel Vadot					phy-handle = <&phy_port3>;
153f126890aSEmmanuel Vadot				};
154f126890aSEmmanuel Vadot			};
155*01950c46SEmmanuel Vadot
156*01950c46SEmmanuel Vadot			mdio {
157*01950c46SEmmanuel Vadot				#address-cells = <1>;
158*01950c46SEmmanuel Vadot				#size-cells = <0>;
159*01950c46SEmmanuel Vadot
160*01950c46SEmmanuel Vadot				phy_port2: ethernet-phy@1 {
161*01950c46SEmmanuel Vadot					reg = <1>;
162*01950c46SEmmanuel Vadot				};
163*01950c46SEmmanuel Vadot
164*01950c46SEmmanuel Vadot				phy_port3: ethernet-phy@2 {
165*01950c46SEmmanuel Vadot					reg = <2>;
166*01950c46SEmmanuel Vadot				};
167*01950c46SEmmanuel Vadot			};
168f126890aSEmmanuel Vadot		};
169f126890aSEmmanuel Vadot	};
170f126890aSEmmanuel Vadot};
171f126890aSEmmanuel Vadot
172f126890aSEmmanuel Vadot&hdmi {
173f126890aSEmmanuel Vadot	pinctrl-names = "default";
174f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_hdmi_cec>;
175f126890aSEmmanuel Vadot	ddc-i2c-bus = <&i2c2>;
176f126890aSEmmanuel Vadot	status = "disabled";
177f126890aSEmmanuel Vadot};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot&i2c2 {
180f126890aSEmmanuel Vadot	clock-frequency = <100000>;
181f126890aSEmmanuel Vadot	pinctrl-names = "default";
182f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
183f126890aSEmmanuel Vadot	status = "okay";
184f126890aSEmmanuel Vadot
185f126890aSEmmanuel Vadot	pmic@8 {
186f126890aSEmmanuel Vadot		compatible = "fsl,pfuze200";
187f126890aSEmmanuel Vadot		pinctrl-names = "default";
188f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
189f126890aSEmmanuel Vadot		reg = <0x8>;
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot		regulators {
192f126890aSEmmanuel Vadot			sw1a_reg: sw1ab {
193f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
194f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
195f126890aSEmmanuel Vadot				regulator-boot-on;
196f126890aSEmmanuel Vadot				regulator-always-on;
197f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
198f126890aSEmmanuel Vadot			};
199f126890aSEmmanuel Vadot
200f126890aSEmmanuel Vadot			sw2_reg: sw2 {
201f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
202f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
203f126890aSEmmanuel Vadot				regulator-boot-on;
204f126890aSEmmanuel Vadot				regulator-always-on;
205f126890aSEmmanuel Vadot			};
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot			sw3a_reg: sw3a {
208f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
209f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
210f126890aSEmmanuel Vadot				regulator-boot-on;
211f126890aSEmmanuel Vadot				regulator-always-on;
212f126890aSEmmanuel Vadot			};
213f126890aSEmmanuel Vadot
214f126890aSEmmanuel Vadot			sw3b_reg: sw3b {
215f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
216f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
217f126890aSEmmanuel Vadot				regulator-boot-on;
218f126890aSEmmanuel Vadot				regulator-always-on;
219f126890aSEmmanuel Vadot			};
220f126890aSEmmanuel Vadot
221f126890aSEmmanuel Vadot			swbst_reg: swbst {
222f126890aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
223f126890aSEmmanuel Vadot				regulator-max-microvolt = <5150000>;
224f126890aSEmmanuel Vadot			};
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot			vgen1_reg: vgen1 {
227f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
228f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
229f126890aSEmmanuel Vadot			};
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot			vgen2_reg: vgen2 {
232f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
233f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
234f126890aSEmmanuel Vadot			};
235f126890aSEmmanuel Vadot
236f126890aSEmmanuel Vadot			vgen3_reg: vgen3 {
237f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
238f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
239f126890aSEmmanuel Vadot				regulator-always-on;
240f126890aSEmmanuel Vadot			};
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot			vgen4_reg: vgen4 {
243f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
244f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
245f126890aSEmmanuel Vadot				regulator-always-on;
246f126890aSEmmanuel Vadot			};
247f126890aSEmmanuel Vadot
248f126890aSEmmanuel Vadot			vgen5_reg: vgen5 {
249f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
250f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
251f126890aSEmmanuel Vadot				regulator-always-on;
252f126890aSEmmanuel Vadot			};
253f126890aSEmmanuel Vadot
254f126890aSEmmanuel Vadot			vgen6_reg: vgen6 {
255f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
256f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
257f126890aSEmmanuel Vadot				regulator-always-on;
258f126890aSEmmanuel Vadot			};
259f126890aSEmmanuel Vadot
260f126890aSEmmanuel Vadot			vref_reg: vrefddr {
261f126890aSEmmanuel Vadot				regulator-boot-on;
262f126890aSEmmanuel Vadot				regulator-always-on;
263f126890aSEmmanuel Vadot			};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot			vsnvs_reg: vsnvs {
266f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
267f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
268f126890aSEmmanuel Vadot				regulator-boot-on;
269f126890aSEmmanuel Vadot				regulator-always-on;
270f126890aSEmmanuel Vadot			};
271f126890aSEmmanuel Vadot		};
272f126890aSEmmanuel Vadot	};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot	leds: led-controller@30 {
275f126890aSEmmanuel Vadot		compatible = "ti,lp5562";
276f126890aSEmmanuel Vadot		reg = <0x30>;
277f126890aSEmmanuel Vadot		clock-mode = /bits/ 8 <1>;
278f126890aSEmmanuel Vadot		#address-cells = <1>;
279f126890aSEmmanuel Vadot		#size-cells = <0>;
280f126890aSEmmanuel Vadot		status = "disabled";
281f126890aSEmmanuel Vadot
282f126890aSEmmanuel Vadot		led@0 {
283f126890aSEmmanuel Vadot			chan-name = "R";
284f126890aSEmmanuel Vadot			led-cur = /bits/ 8 <0x20>;
285f126890aSEmmanuel Vadot			max-cur = /bits/ 8 <0x60>;
286f126890aSEmmanuel Vadot			reg = <0>;
287f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
288f126890aSEmmanuel Vadot		};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot		led@1 {
291f126890aSEmmanuel Vadot			chan-name = "G";
292f126890aSEmmanuel Vadot			led-cur = /bits/ 8 <0x20>;
293f126890aSEmmanuel Vadot			max-cur = /bits/ 8 <0x60>;
294f126890aSEmmanuel Vadot			reg = <1>;
295f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
296f126890aSEmmanuel Vadot		};
297f126890aSEmmanuel Vadot
298f126890aSEmmanuel Vadot		led@2 {
299f126890aSEmmanuel Vadot			chan-name = "B";
300f126890aSEmmanuel Vadot			led-cur = /bits/ 8 <0x20>;
301f126890aSEmmanuel Vadot			max-cur = /bits/ 8 <0x60>;
302f126890aSEmmanuel Vadot			reg = <2>;
303f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
304f126890aSEmmanuel Vadot		};
305f126890aSEmmanuel Vadot	};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot	eeprom@57 {
308f126890aSEmmanuel Vadot		compatible = "atmel,24c128";
309f126890aSEmmanuel Vadot		reg = <0x57>;
310f126890aSEmmanuel Vadot		pagesize = <64>;
311f126890aSEmmanuel Vadot	};
312f126890aSEmmanuel Vadot
313f126890aSEmmanuel Vadot	touchscreen: touchscreen@5c {
314f126890aSEmmanuel Vadot		compatible = "pixcir,pixcir_tangoc";
315f126890aSEmmanuel Vadot		reg = <0x5c>;
316f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_touch>;
317f126890aSEmmanuel Vadot		interrupt-parent = <&gpio4>;
318f126890aSEmmanuel Vadot		interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
319f126890aSEmmanuel Vadot		attb-gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;
320f126890aSEmmanuel Vadot		reset-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
321f126890aSEmmanuel Vadot		touchscreen-size-x = <800>;
322f126890aSEmmanuel Vadot		touchscreen-size-y = <480>;
323f126890aSEmmanuel Vadot		status = "disabled";
324f126890aSEmmanuel Vadot	};
325f126890aSEmmanuel Vadot};
326f126890aSEmmanuel Vadot
327f126890aSEmmanuel Vadot&i2c3 {
328f126890aSEmmanuel Vadot	clock-frequency = <100000>;
329f126890aSEmmanuel Vadot	pinctrl-names = "default";
330f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
331f126890aSEmmanuel Vadot	status = "okay";
332f126890aSEmmanuel Vadot
333f126890aSEmmanuel Vadot	oled_1309: oled@3c {
334f126890aSEmmanuel Vadot		compatible = "solomon,ssd1309fb-i2c";
335f126890aSEmmanuel Vadot		reg = <0x3c>;
336f126890aSEmmanuel Vadot		solomon,height = <64>;
337f126890aSEmmanuel Vadot		solomon,width = <128>;
338f126890aSEmmanuel Vadot		solomon,page-offset = <0>;
339f126890aSEmmanuel Vadot		solomon,segment-no-remap;
340f126890aSEmmanuel Vadot		solomon,prechargep2 = <15>;
341f126890aSEmmanuel Vadot		reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
342f126890aSEmmanuel Vadot		vbat-supply = <&sw2_reg>;
343f126890aSEmmanuel Vadot		status = "disabled";
344f126890aSEmmanuel Vadot	};
345f126890aSEmmanuel Vadot
346f126890aSEmmanuel Vadot	oled_1305: oled@3d {
347f126890aSEmmanuel Vadot		compatible = "solomon,ssd1305fb-i2c";
348f126890aSEmmanuel Vadot		reg = <0x3d>;
349f126890aSEmmanuel Vadot		solomon,height = <64>;
350f126890aSEmmanuel Vadot		solomon,width = <128>;
351f126890aSEmmanuel Vadot		solomon,page-offset = <0>;
352f126890aSEmmanuel Vadot		solomon,col-offset = <4>;
353f126890aSEmmanuel Vadot		solomon,prechargep2 = <15>;
354f126890aSEmmanuel Vadot		reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
355f126890aSEmmanuel Vadot		vbat-supply = <&sw2_reg>;
356f126890aSEmmanuel Vadot		status = "disabled";
357f126890aSEmmanuel Vadot	};
358f126890aSEmmanuel Vadot
359f126890aSEmmanuel Vadot	gpio_oled: gpio@41 {
360f126890aSEmmanuel Vadot		compatible = "nxp,pca9536";
361f126890aSEmmanuel Vadot		gpio-controller;
362f126890aSEmmanuel Vadot		#gpio-cells = <2>;
363f126890aSEmmanuel Vadot		reg = <0x41>;
364f126890aSEmmanuel Vadot		vcc-supply = <&sw2_reg>;
365f126890aSEmmanuel Vadot		status = "disabled";
366f126890aSEmmanuel Vadot	};
367f126890aSEmmanuel Vadot
368f126890aSEmmanuel Vadot	touchkeys: keys@5a {
369f126890aSEmmanuel Vadot		compatible = "fsl,mpr121-touchkey";
370f126890aSEmmanuel Vadot		reg = <0x5a>;
371f126890aSEmmanuel Vadot		vdd-supply = <&sw2_reg>;
372f126890aSEmmanuel Vadot		autorepeat;
373f126890aSEmmanuel Vadot		linux,keycodes = <KEY_1>, <KEY_2>, <KEY_3>, <KEY_4>, <KEY_5>,
374f126890aSEmmanuel Vadot				<KEY_6>, <KEY_7>, <KEY_8>, <KEY_9>,
375f126890aSEmmanuel Vadot				<KEY_BACKSPACE>, <KEY_0>, <KEY_ENTER>;
376f126890aSEmmanuel Vadot		poll-interval = <50>;
377f126890aSEmmanuel Vadot		status = "disabled";
378f126890aSEmmanuel Vadot	};
379f126890aSEmmanuel Vadot};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot&iomuxc {
382f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
383f126890aSEmmanuel Vadot		fsl,pins = <
384f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b020
385f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b020
386f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b020
387f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b020
388f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b020
389f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b020
390f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b020
391f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b020
392f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b020
393f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b020
394f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b020
395f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b020
396f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b020
397f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b020
398f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b010
399f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x1b010
400f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25	0x1b098
401f126890aSEmmanuel Vadot		>;
402f126890aSEmmanuel Vadot	};
403f126890aSEmmanuel Vadot
404f126890aSEmmanuel Vadot	pinctrl_hdmi_cec: hdmicecgrp {
405f126890aSEmmanuel Vadot		fsl,pins = <
406f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE	0x1b898
407f126890aSEmmanuel Vadot		>;
408f126890aSEmmanuel Vadot	};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
411f126890aSEmmanuel Vadot		fsl,pins = <
412f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__I2C2_SCL	0x4001b899
413f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__I2C2_SDA	0x4001b899
414f126890aSEmmanuel Vadot		>;
415f126890aSEmmanuel Vadot	};
416f126890aSEmmanuel Vadot
417f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
418f126890aSEmmanuel Vadot		fsl,pins = <
419f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL	0x4001b899
420f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA	0x4001b899
421f126890aSEmmanuel Vadot		>;
422f126890aSEmmanuel Vadot	};
423f126890aSEmmanuel Vadot
424f126890aSEmmanuel Vadot	pinctrl_ipu1: ipu1grp {
425f126890aSEmmanuel Vadot		fsl,pins = <
426f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK	0x10
427f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02		0x10
428f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03		0x10
429f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00	0x10
430f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01	0x10
431f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02	0x10
432f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03	0x10
433f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04	0x10
434f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05	0x10
435f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06	0x10
436f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07	0x10
437f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08	0x10
438f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09	0x10
439f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10	0x10
440f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11	0x10
441f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12	0x10
442f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13	0x10
443f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14	0x10
444f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15	0x10
445f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16	0x10
446f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17	0x10
447f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18	0x10
448f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19	0x10
449f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20	0x10
450f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21	0x10
451f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22	0x10
452f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23	0x10
453f126890aSEmmanuel Vadot		>;
454f126890aSEmmanuel Vadot	};
455f126890aSEmmanuel Vadot
456f126890aSEmmanuel Vadot	pinctrl_pcie: pciegrp {
457f126890aSEmmanuel Vadot		fsl,pins = <
458f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x1b098
459f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL4__GPIO4_IO14		0x1b098
460f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20	0x1b098
461f126890aSEmmanuel Vadot		>;
462f126890aSEmmanuel Vadot	};
463f126890aSEmmanuel Vadot
464f126890aSEmmanuel Vadot	pinctrl_pcie_reg: pciereggrp {
465f126890aSEmmanuel Vadot		fsl,pins = <
466f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D19__GPIO3_IO19	0x1b098
467f126890aSEmmanuel Vadot		>;
468f126890aSEmmanuel Vadot	};
469f126890aSEmmanuel Vadot
470f126890aSEmmanuel Vadot	pinctrl_pmic: pmicgrp {
471f126890aSEmmanuel Vadot		fsl,pins = <
472f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_18__GPIO7_IO13	0x1b098
473f126890aSEmmanuel Vadot		>;
474f126890aSEmmanuel Vadot	};
475f126890aSEmmanuel Vadot
476f126890aSEmmanuel Vadot	pinctrl_pwm1: pwm1grp {
477f126890aSEmmanuel Vadot		fsl,pins = <
478f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_9__PWM1_OUT	0x8
479f126890aSEmmanuel Vadot		>;
480f126890aSEmmanuel Vadot	};
481f126890aSEmmanuel Vadot
482f126890aSEmmanuel Vadot	pinctrl_touch: touchgrp {
483f126890aSEmmanuel Vadot		fsl,pins = <
484f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_19__GPIO4_IO05	0x1b098
485f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_2__GPIO1_IO02	0x1b098
486f126890aSEmmanuel Vadot		>;
487f126890aSEmmanuel Vadot	};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
490f126890aSEmmanuel Vadot		fsl,pins = <
491f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0a8
492f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0a8
493f126890aSEmmanuel Vadot		>;
494f126890aSEmmanuel Vadot	};
495f126890aSEmmanuel Vadot
496f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
497f126890aSEmmanuel Vadot		fsl,pins = <
498f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_7__UART2_TX_DATA	0x1b098
499f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__UART2_RX_DATA	0x1b098
500f126890aSEmmanuel Vadot		>;
501f126890aSEmmanuel Vadot	};
502f126890aSEmmanuel Vadot
503f126890aSEmmanuel Vadot	pinctrl_usbh1: usbh1grp {
504f126890aSEmmanuel Vadot		fsl,pins = <
505f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__USB_H1_OC	0x1b098
506f126890aSEmmanuel Vadot		>;
507f126890aSEmmanuel Vadot	};
508f126890aSEmmanuel Vadot
509f126890aSEmmanuel Vadot	pinctrl_usbh1_vbus: usbh1-vbus {
510f126890aSEmmanuel Vadot		fsl,pins = <
511f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29	0x98
512f126890aSEmmanuel Vadot		>;
513f126890aSEmmanuel Vadot	};
514f126890aSEmmanuel Vadot
515f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
516f126890aSEmmanuel Vadot		fsl,pins = <
517f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID	0x1b098
518f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__USB_OTG_OC		0x1b098
519f126890aSEmmanuel Vadot		>;
520f126890aSEmmanuel Vadot	};
521f126890aSEmmanuel Vadot
522f126890aSEmmanuel Vadot	pinctrl_usbotg_vbus: usbotg-vbus {
523f126890aSEmmanuel Vadot		fsl,pins = <
524f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22	0x98
525f126890aSEmmanuel Vadot		>;
526f126890aSEmmanuel Vadot	};
527f126890aSEmmanuel Vadot
528f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
529f126890aSEmmanuel Vadot		fsl,pins = <
530f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A16__GPIO2_IO22	0x1b018
531f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__GPIO7_IO08	0x1b018
532f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD	0x17059
533f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK	0x10059
534f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0	0x17059
535f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1	0x17059
536f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2	0x17059
537f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3	0x17059
538f126890aSEmmanuel Vadot		>;
539f126890aSEmmanuel Vadot	};
540f126890aSEmmanuel Vadot
541f126890aSEmmanuel Vadot	pinctrl_usdhc4: usdhc4grp {
542f126890aSEmmanuel Vadot		fsl,pins = <
543f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__SD4_CMD	0x1f069
544f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__SD4_CLK	0x10069
545f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT0__SD4_DATA0	0x17069
546f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT1__SD4_DATA1	0x17069
547f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT2__SD4_DATA2	0x17069
548f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__SD4_DATA3	0x17069
549f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__SD4_DATA4	0x17069
550f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT5__SD4_DATA5	0x17069
551f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT6__SD4_DATA6	0x17069
552f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__SD4_DATA7	0x17069
553f126890aSEmmanuel Vadot		>;
554f126890aSEmmanuel Vadot	};
555f126890aSEmmanuel Vadot
556f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
557f126890aSEmmanuel Vadot		fsl,pins = <
558f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__WDOG2_B	0x1b0b0
559f126890aSEmmanuel Vadot		>;
560f126890aSEmmanuel Vadot	};
561f126890aSEmmanuel Vadot};
562f126890aSEmmanuel Vadot
563f126890aSEmmanuel Vadot&ipu1_di0_disp0 {
564f126890aSEmmanuel Vadot	remote-endpoint = <&lcd_display_in>;
565f126890aSEmmanuel Vadot};
566f126890aSEmmanuel Vadot
567f126890aSEmmanuel Vadot&pcie {
568f126890aSEmmanuel Vadot	pinctrl-names = "default";
569f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
570f126890aSEmmanuel Vadot	reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
571f126890aSEmmanuel Vadot	vpcie-supply = <&reg_pcie>;
572f126890aSEmmanuel Vadot	status = "disabled";
573f126890aSEmmanuel Vadot};
574f126890aSEmmanuel Vadot
575f126890aSEmmanuel Vadot&pwm1 {
576f126890aSEmmanuel Vadot	pinctrl-names = "default";
577f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
578f126890aSEmmanuel Vadot	status = "disabled";
579f126890aSEmmanuel Vadot};
580f126890aSEmmanuel Vadot
581f126890aSEmmanuel Vadot&uart1 {
582f126890aSEmmanuel Vadot	pinctrl-names = "default";
583f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
584f126890aSEmmanuel Vadot	status = "okay";
585f126890aSEmmanuel Vadot};
586f126890aSEmmanuel Vadot
587f126890aSEmmanuel Vadot&uart2 {
588f126890aSEmmanuel Vadot	pinctrl-names = "default";
589f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
590f126890aSEmmanuel Vadot	status = "okay";
591f126890aSEmmanuel Vadot};
592f126890aSEmmanuel Vadot
593f126890aSEmmanuel Vadot&usbh1 {
594f126890aSEmmanuel Vadot	pinctrl-names = "default";
595f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbh1>;
596f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
597f126890aSEmmanuel Vadot	over-current-active-low;
598f126890aSEmmanuel Vadot	status = "disabled";
599f126890aSEmmanuel Vadot};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot&usbotg {
602f126890aSEmmanuel Vadot	pinctrl-names = "default";
603f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
604f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
605f126890aSEmmanuel Vadot	over-current-active-low;
606f126890aSEmmanuel Vadot	srp-disable;
607f126890aSEmmanuel Vadot	hnp-disable;
608f126890aSEmmanuel Vadot	adp-disable;
609f126890aSEmmanuel Vadot	status = "okay";
610f126890aSEmmanuel Vadot};
611f126890aSEmmanuel Vadot
612f126890aSEmmanuel Vadot&usbphy1 {
613f126890aSEmmanuel Vadot	fsl,tx-d-cal = <106>;
614f126890aSEmmanuel Vadot	status = "okay";
615f126890aSEmmanuel Vadot};
616f126890aSEmmanuel Vadot
617f126890aSEmmanuel Vadot&usbphy2 {
618f126890aSEmmanuel Vadot	fsl,tx-d-cal = <109>;
619f126890aSEmmanuel Vadot	status = "disabled";
620f126890aSEmmanuel Vadot};
621f126890aSEmmanuel Vadot
622f126890aSEmmanuel Vadot&usdhc3 {
623f126890aSEmmanuel Vadot	pinctrl-names = "default";
624f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
625f126890aSEmmanuel Vadot	bus-width = <4>;
626f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 8 GPIO_ACTIVE_LOW>;
627f126890aSEmmanuel Vadot	wp-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
628f126890aSEmmanuel Vadot	no-1-8-v;
629f126890aSEmmanuel Vadot	keep-power-in-suspend;
630f126890aSEmmanuel Vadot	wakeup-source;
631f126890aSEmmanuel Vadot	vmmc-supply = <&sw2_reg>;
632f126890aSEmmanuel Vadot	status = "disabled";
633f126890aSEmmanuel Vadot};
634f126890aSEmmanuel Vadot
635f126890aSEmmanuel Vadot&usdhc4 {
636f126890aSEmmanuel Vadot	pinctrl-names = "default";
637f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc4>;
638f126890aSEmmanuel Vadot	bus-width = <8>;
639f126890aSEmmanuel Vadot	non-removable;
640f126890aSEmmanuel Vadot	no-1-8-v;
641f126890aSEmmanuel Vadot	keep-power-in-suspend;
642f126890aSEmmanuel Vadot	vmmc-supply = <&sw2_reg>;
643f126890aSEmmanuel Vadot	status = "okay";
644f126890aSEmmanuel Vadot};
645f126890aSEmmanuel Vadot
646f126890aSEmmanuel Vadot&wdog1 {
647f126890aSEmmanuel Vadot	status = "disabled";
648f126890aSEmmanuel Vadot};
649f126890aSEmmanuel Vadot
650f126890aSEmmanuel Vadot&wdog2 {
651f126890aSEmmanuel Vadot	pinctrl-names = "default";
652f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
653f126890aSEmmanuel Vadot	fsl,ext-reset-output;
654f126890aSEmmanuel Vadot	status = "okay";
655f126890aSEmmanuel Vadot};
656