xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6dl-yapp43-common.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot//
3f126890aSEmmanuel Vadot// Copyright (C) 2021 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	gpio_keys: gpio-keys {
30f126890aSEmmanuel Vadot		compatible = "gpio-keys";
31f126890aSEmmanuel Vadot		pinctrl-names = "default";
32f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_keys>;
33f126890aSEmmanuel Vadot		status = "disabled";
34f126890aSEmmanuel Vadot
35f126890aSEmmanuel Vadot		button {
36f126890aSEmmanuel Vadot			label = "Factory RESET";
37f126890aSEmmanuel Vadot			linux,code = <BTN_0>;
38f126890aSEmmanuel Vadot			gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
39f126890aSEmmanuel Vadot		};
40f126890aSEmmanuel Vadot	};
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	lcd_display: display {
43f126890aSEmmanuel Vadot		compatible = "fsl,imx-parallel-display";
44f126890aSEmmanuel Vadot		#address-cells = <1>;
45f126890aSEmmanuel Vadot		#size-cells = <0>;
46f126890aSEmmanuel Vadot		interface-pix-fmt = "rgb24";
47f126890aSEmmanuel Vadot		pinctrl-names = "default";
48f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_ipu1>;
49f126890aSEmmanuel Vadot		status = "disabled";
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		port@0 {
52f126890aSEmmanuel Vadot			reg = <0>;
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot			lcd_display_in: endpoint {
55f126890aSEmmanuel Vadot				remote-endpoint = <&ipu1_di0_disp0>;
56f126890aSEmmanuel Vadot			};
57f126890aSEmmanuel Vadot		};
58f126890aSEmmanuel Vadot
59f126890aSEmmanuel Vadot		port@1 {
60f126890aSEmmanuel Vadot			reg = <1>;
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot			lcd_display_out: endpoint {
63f126890aSEmmanuel Vadot				remote-endpoint = <&lcd_panel_in>;
64f126890aSEmmanuel Vadot			};
65f126890aSEmmanuel Vadot		};
66f126890aSEmmanuel Vadot	};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot	panel: panel {
69f126890aSEmmanuel Vadot		compatible = "dataimage,scf0700c48ggu18";
70f126890aSEmmanuel Vadot		power-supply = <&sw2_reg>;
71f126890aSEmmanuel Vadot		backlight = <&backlight>;
72f126890aSEmmanuel Vadot		enable-gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
73f126890aSEmmanuel Vadot		status = "disabled";
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot		port {
76f126890aSEmmanuel Vadot			lcd_panel_in: endpoint {
77f126890aSEmmanuel Vadot				remote-endpoint = <&lcd_display_out>;
78f126890aSEmmanuel Vadot			};
79f126890aSEmmanuel Vadot		};
80f126890aSEmmanuel Vadot	};
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
83f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
84f126890aSEmmanuel Vadot		pinctrl-names = "default";
85f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbh1_vbus>;
86f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
87f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
88f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
89f126890aSEmmanuel Vadot		gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
90f126890aSEmmanuel Vadot		enable-active-high;
91f126890aSEmmanuel Vadot		status = "disabled";
92f126890aSEmmanuel Vadot	};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
95f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
96f126890aSEmmanuel Vadot		pinctrl-names = "default";
97f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbotg_vbus>;
98f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
99f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
100f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
101f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
102f126890aSEmmanuel Vadot		enable-active-high;
103f126890aSEmmanuel Vadot	};
104f126890aSEmmanuel Vadot};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot&fec {
107f126890aSEmmanuel Vadot	pinctrl-names = "default";
108f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
109f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
110f126890aSEmmanuel Vadot	phy-supply = <&sw2_reg>;
111f126890aSEmmanuel Vadot	status = "okay";
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot	fixed-link {
114f126890aSEmmanuel Vadot		speed = <1000>;
115f126890aSEmmanuel Vadot		full-duplex;
116f126890aSEmmanuel Vadot	};
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot	mdio {
119f126890aSEmmanuel Vadot		#address-cells = <1>;
120f126890aSEmmanuel Vadot		#size-cells = <0>;
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot		switch@0 {
123f126890aSEmmanuel Vadot			compatible = "marvell,mv88e6085";
124f126890aSEmmanuel Vadot			reg = <0>;
125f126890aSEmmanuel Vadot			reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot			switch_ports: ports {
128f126890aSEmmanuel Vadot				#address-cells = <1>;
129f126890aSEmmanuel Vadot				#size-cells = <0>;
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot				ethphy0: port@0 {
132f126890aSEmmanuel Vadot					reg = <0>;
133f126890aSEmmanuel Vadot					label = "cpu";
134f126890aSEmmanuel Vadot					phy-mode = "rgmii-id";
135f126890aSEmmanuel Vadot					ethernet = <&fec>;
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot					fixed-link {
138f126890aSEmmanuel Vadot						speed = <1000>;
139f126890aSEmmanuel Vadot						full-duplex;
140f126890aSEmmanuel Vadot					};
141f126890aSEmmanuel Vadot				};
142f126890aSEmmanuel Vadot
143f126890aSEmmanuel Vadot				eth2: port@1 {
144f126890aSEmmanuel Vadot					reg = <1>;
145f126890aSEmmanuel Vadot					label = "eth2";
146f126890aSEmmanuel Vadot					phy-handle = <&phy_port1>;
147f126890aSEmmanuel Vadot				};
148f126890aSEmmanuel Vadot
149f126890aSEmmanuel Vadot				eth1: port@2 {
150f126890aSEmmanuel Vadot					reg = <2>;
151f126890aSEmmanuel Vadot					label = "eth1";
152f126890aSEmmanuel Vadot					phy-handle = <&phy_port2>;
153f126890aSEmmanuel Vadot				};
154f126890aSEmmanuel Vadot			};
155f126890aSEmmanuel Vadot
156f126890aSEmmanuel Vadot			mdio {
157f126890aSEmmanuel Vadot				#address-cells = <1>;
158f126890aSEmmanuel Vadot				#size-cells = <0>;
159f126890aSEmmanuel Vadot
160f126890aSEmmanuel Vadot				phy_port1: switchphy@11 {
161f126890aSEmmanuel Vadot					reg = <0x11>;
162f126890aSEmmanuel Vadot				};
163f126890aSEmmanuel Vadot
164f126890aSEmmanuel Vadot				phy_port2: switchphy@12 {
165f126890aSEmmanuel Vadot					reg = <0x12>;
166f126890aSEmmanuel Vadot				};
167f126890aSEmmanuel Vadot			};
168f126890aSEmmanuel Vadot		};
169f126890aSEmmanuel Vadot	};
170f126890aSEmmanuel Vadot};
171f126890aSEmmanuel Vadot
172f126890aSEmmanuel Vadot&i2c2 {
173f126890aSEmmanuel Vadot	clock-frequency = <100000>;
174f126890aSEmmanuel Vadot	pinctrl-names = "default";
175f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
176f126890aSEmmanuel Vadot	status = "okay";
177f126890aSEmmanuel Vadot
178f126890aSEmmanuel Vadot	pmic@8 {
179f126890aSEmmanuel Vadot		compatible = "fsl,pfuze200";
180f126890aSEmmanuel Vadot		pinctrl-names = "default";
181f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
182f126890aSEmmanuel Vadot		reg = <0x8>;
183f126890aSEmmanuel Vadot
184f126890aSEmmanuel Vadot		regulators {
185f126890aSEmmanuel Vadot			sw1a_reg: sw1ab {
186f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
187f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
188f126890aSEmmanuel Vadot				regulator-boot-on;
189f126890aSEmmanuel Vadot				regulator-always-on;
190f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
191f126890aSEmmanuel Vadot			};
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot			sw2_reg: sw2 {
194f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
195f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
196f126890aSEmmanuel Vadot				regulator-boot-on;
197f126890aSEmmanuel Vadot				regulator-always-on;
198f126890aSEmmanuel Vadot			};
199f126890aSEmmanuel Vadot
200f126890aSEmmanuel Vadot			sw3a_reg: sw3a {
201f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
202f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
203f126890aSEmmanuel Vadot				regulator-boot-on;
204f126890aSEmmanuel Vadot				regulator-always-on;
205f126890aSEmmanuel Vadot			};
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot			sw3b_reg: sw3b {
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			swbst_reg: swbst {
215f126890aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
216f126890aSEmmanuel Vadot				regulator-max-microvolt = <5150000>;
217f126890aSEmmanuel Vadot			};
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot			vgen1_reg: vgen1 {
220f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
221f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
222f126890aSEmmanuel Vadot			};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot			vgen2_reg: vgen2 {
225f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
226f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
227f126890aSEmmanuel Vadot			};
228f126890aSEmmanuel Vadot
229f126890aSEmmanuel Vadot			vgen3_reg: vgen3 {
230f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
231f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
232f126890aSEmmanuel Vadot				regulator-always-on;
233f126890aSEmmanuel Vadot			};
234f126890aSEmmanuel Vadot
235f126890aSEmmanuel Vadot			vgen4_reg: vgen4 {
236f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
237f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
238f126890aSEmmanuel Vadot				regulator-always-on;
239f126890aSEmmanuel Vadot			};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot			vgen5_reg: vgen5 {
242f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
243f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
244f126890aSEmmanuel Vadot				regulator-always-on;
245f126890aSEmmanuel Vadot			};
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot			vgen6_reg: vgen6 {
248f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
249f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
250f126890aSEmmanuel Vadot				regulator-always-on;
251f126890aSEmmanuel Vadot			};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot			vref_reg: vrefddr {
254f126890aSEmmanuel Vadot				regulator-boot-on;
255f126890aSEmmanuel Vadot				regulator-always-on;
256f126890aSEmmanuel Vadot			};
257f126890aSEmmanuel Vadot
258f126890aSEmmanuel Vadot			vsnvs_reg: vsnvs {
259f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
260f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
261f126890aSEmmanuel Vadot				regulator-boot-on;
262f126890aSEmmanuel Vadot				regulator-always-on;
263f126890aSEmmanuel Vadot			};
264f126890aSEmmanuel Vadot		};
265f126890aSEmmanuel Vadot	};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot	leds: led-controller@30 {
268f126890aSEmmanuel Vadot		compatible = "ti,lp5562";
269f126890aSEmmanuel Vadot		reg = <0x30>;
270f126890aSEmmanuel Vadot		clock-mode = /bits/ 8 <1>;
271f126890aSEmmanuel Vadot		#address-cells = <1>;
272f126890aSEmmanuel Vadot		#size-cells = <0>;
273f126890aSEmmanuel Vadot		status = "disabled";
274f126890aSEmmanuel Vadot
275f126890aSEmmanuel Vadot		led@0 {
276f126890aSEmmanuel Vadot			chan-name = "R";
277*0e8011faSEmmanuel Vadot			led-cur = /bits/ 8 <0x6e>;
278*0e8011faSEmmanuel Vadot			max-cur = /bits/ 8 <0xc8>;
279f126890aSEmmanuel Vadot			reg = <0>;
280f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
281f126890aSEmmanuel Vadot		};
282f126890aSEmmanuel Vadot
283f126890aSEmmanuel Vadot		led@1 {
284f126890aSEmmanuel Vadot			chan-name = "G";
285*0e8011faSEmmanuel Vadot			led-cur = /bits/ 8 <0xbe>;
286*0e8011faSEmmanuel Vadot			max-cur = /bits/ 8 <0xc8>;
287f126890aSEmmanuel Vadot			reg = <1>;
288f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
289f126890aSEmmanuel Vadot		};
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot		led@2 {
292f126890aSEmmanuel Vadot			chan-name = "B";
293*0e8011faSEmmanuel Vadot			led-cur = /bits/ 8 <0xbe>;
294*0e8011faSEmmanuel Vadot			max-cur = /bits/ 8 <0xc8>;
295f126890aSEmmanuel Vadot			reg = <2>;
296f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
297f126890aSEmmanuel Vadot		};
298f126890aSEmmanuel Vadot	};
299f126890aSEmmanuel Vadot
300f126890aSEmmanuel Vadot	eeprom@57 {
301f126890aSEmmanuel Vadot		compatible = "atmel,24c128";
302f126890aSEmmanuel Vadot		reg = <0x57>;
303f126890aSEmmanuel Vadot		pagesize = <64>;
304f126890aSEmmanuel Vadot	};
305f126890aSEmmanuel Vadot
306f126890aSEmmanuel Vadot	touchscreen: touchscreen@5c {
307f126890aSEmmanuel Vadot		compatible = "pixcir,pixcir_tangoc";
308f126890aSEmmanuel Vadot		reg = <0x5c>;
309f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_touch>;
310f126890aSEmmanuel Vadot		interrupt-parent = <&gpio4>;
311f126890aSEmmanuel Vadot		interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
312f126890aSEmmanuel Vadot		attb-gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;
313f126890aSEmmanuel Vadot		reset-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
314f126890aSEmmanuel Vadot		touchscreen-size-x = <800>;
315f126890aSEmmanuel Vadot		touchscreen-size-y = <480>;
316f126890aSEmmanuel Vadot		status = "disabled";
317f126890aSEmmanuel Vadot	};
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot	rtc: rtc@68 {
320f126890aSEmmanuel Vadot		compatible = "dallas,ds1341";
321f126890aSEmmanuel Vadot		reg = <0x68>;
322f126890aSEmmanuel Vadot	};
323f126890aSEmmanuel Vadot};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot&i2c3 {
326f126890aSEmmanuel Vadot	clock-frequency = <100000>;
327f126890aSEmmanuel Vadot	pinctrl-names = "default";
328f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
329f126890aSEmmanuel Vadot	status = "disabled";
330f126890aSEmmanuel Vadot
331f126890aSEmmanuel Vadot	oled_1309: oled@3c {
332f126890aSEmmanuel Vadot		compatible = "solomon,ssd1309fb-i2c";
333f126890aSEmmanuel Vadot		reg = <0x3c>;
334f126890aSEmmanuel Vadot		solomon,height = <64>;
335f126890aSEmmanuel Vadot		solomon,width = <128>;
336f126890aSEmmanuel Vadot		solomon,page-offset = <0>;
337f126890aSEmmanuel Vadot		solomon,segment-no-remap;
338f126890aSEmmanuel Vadot		solomon,prechargep2 = <15>;
339f126890aSEmmanuel Vadot		reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
340f126890aSEmmanuel Vadot		vbat-supply = <&sw2_reg>;
341f126890aSEmmanuel Vadot		status = "disabled";
342f126890aSEmmanuel Vadot	};
343f126890aSEmmanuel Vadot
344f126890aSEmmanuel Vadot	oled_1305: oled@3d {
345f126890aSEmmanuel Vadot		compatible = "solomon,ssd1305fb-i2c";
346f126890aSEmmanuel Vadot		reg = <0x3d>;
347f126890aSEmmanuel Vadot		solomon,height = <64>;
348f126890aSEmmanuel Vadot		solomon,width = <128>;
349f126890aSEmmanuel Vadot		solomon,page-offset = <0>;
350f126890aSEmmanuel Vadot		solomon,col-offset = <4>;
351f126890aSEmmanuel Vadot		solomon,prechargep2 = <15>;
352f126890aSEmmanuel Vadot		reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
353f126890aSEmmanuel Vadot		vbat-supply = <&sw2_reg>;
354f126890aSEmmanuel Vadot		status = "disabled";
355f126890aSEmmanuel Vadot	};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot	gpio_oled: gpio@41 {
358f126890aSEmmanuel Vadot		compatible = "nxp,pca9536";
359f126890aSEmmanuel Vadot		gpio-controller;
360f126890aSEmmanuel Vadot		#gpio-cells = <2>;
361f126890aSEmmanuel Vadot		reg = <0x41>;
362f126890aSEmmanuel Vadot		vcc-supply = <&sw2_reg>;
363f126890aSEmmanuel Vadot		status = "disabled";
364f126890aSEmmanuel Vadot	};
365f126890aSEmmanuel Vadot
366f126890aSEmmanuel Vadot	touchkeys: keys@5a {
367f126890aSEmmanuel Vadot		compatible = "fsl,mpr121-touchkey";
368f126890aSEmmanuel Vadot		pinctrl-names = "default";
369f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_touchkeys>;
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_gpio_keys: gpiokeysgrp {
405f126890aSEmmanuel Vadot		fsl,pins = <
406f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_0__GPIO1_IO00	0x1b0b0
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_EIM_DA7__GPIO3_IO07                  0x1b0b0
427f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK	0x10
428f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02		0x10
429f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03		0x10
430f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00	0x10
431f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01	0x10
432f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02	0x10
433f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03	0x10
434f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04	0x10
435f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05	0x10
436f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06	0x10
437f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07	0x10
438f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08	0x10
439f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09	0x10
440f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10	0x10
441f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11	0x10
442f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12	0x10
443f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13	0x10
444f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14	0x10
445f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15	0x10
446f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16	0x10
447f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17	0x10
448f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18	0x10
449f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19	0x10
450f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20	0x10
451f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21	0x10
452f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22	0x10
453f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23	0x10
454f126890aSEmmanuel Vadot		>;
455f126890aSEmmanuel Vadot	};
456f126890aSEmmanuel Vadot
457f126890aSEmmanuel Vadot	pinctrl_pmic: pmicgrp {
458f126890aSEmmanuel Vadot		fsl,pins = <
459f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_18__GPIO7_IO13	0x1b098
460f126890aSEmmanuel Vadot		>;
461f126890aSEmmanuel Vadot	};
462f126890aSEmmanuel Vadot
463f126890aSEmmanuel Vadot	pinctrl_pwm1: pwm1grp {
464f126890aSEmmanuel Vadot		fsl,pins = <
465f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_9__PWM1_OUT	0x8
466f126890aSEmmanuel Vadot		>;
467f126890aSEmmanuel Vadot	};
468f126890aSEmmanuel Vadot
469f126890aSEmmanuel Vadot	pinctrl_touch: touchgrp {
470f126890aSEmmanuel Vadot		fsl,pins = <
471f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_19__GPIO4_IO05	0x1b098
472f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_2__GPIO1_IO02	0x1b098
473f126890aSEmmanuel Vadot		>;
474f126890aSEmmanuel Vadot	};
475f126890aSEmmanuel Vadot
476f126890aSEmmanuel Vadot	pinctrl_touchkeys: touchkeysgrp {
477f126890aSEmmanuel Vadot		fsl,pins = <
478f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12	0x1b098
479f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_5__GPIO1_IO05	0x1b098
480f126890aSEmmanuel Vadot		>;
481f126890aSEmmanuel Vadot	};
482f126890aSEmmanuel Vadot
483f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
484f126890aSEmmanuel Vadot		fsl,pins = <
485f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0a8
486f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0a8
487f126890aSEmmanuel Vadot		>;
488f126890aSEmmanuel Vadot	};
489f126890aSEmmanuel Vadot
490f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
491f126890aSEmmanuel Vadot		fsl,pins = <
492f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_7__UART2_TX_DATA	0x1b098
493f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__UART2_RX_DATA	0x1b098
494f126890aSEmmanuel Vadot		>;
495f126890aSEmmanuel Vadot	};
496f126890aSEmmanuel Vadot
497f126890aSEmmanuel Vadot	pinctrl_usbh1: usbh1grp {
498f126890aSEmmanuel Vadot		fsl,pins = <
499f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__USB_H1_OC	0x1b098
500f126890aSEmmanuel Vadot		>;
501f126890aSEmmanuel Vadot	};
502f126890aSEmmanuel Vadot
503f126890aSEmmanuel Vadot	pinctrl_usbh1_vbus: usbh1-vbus {
504f126890aSEmmanuel Vadot		fsl,pins = <
505f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29	0x98
506f126890aSEmmanuel Vadot		>;
507f126890aSEmmanuel Vadot	};
508f126890aSEmmanuel Vadot
509f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
510f126890aSEmmanuel Vadot		fsl,pins = <
511f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID	0x1b098
512f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__USB_OTG_OC		0x1b098
513f126890aSEmmanuel Vadot		>;
514f126890aSEmmanuel Vadot	};
515f126890aSEmmanuel Vadot
516f126890aSEmmanuel Vadot	pinctrl_usbotg_vbus: usbotg-vbus {
517f126890aSEmmanuel Vadot		fsl,pins = <
518f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22	0x98
519f126890aSEmmanuel Vadot		>;
520f126890aSEmmanuel Vadot	};
521f126890aSEmmanuel Vadot
522f126890aSEmmanuel Vadot	pinctrl_usdhc4: usdhc4grp {
523f126890aSEmmanuel Vadot		fsl,pins = <
524f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__SD4_CMD	0x1f069
525f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__SD4_CLK	0x10069
526f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT0__SD4_DATA0	0x17069
527f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT1__SD4_DATA1	0x17069
528f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT2__SD4_DATA2	0x17069
529f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__SD4_DATA3	0x17069
530f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__SD4_DATA4	0x17069
531f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT5__SD4_DATA5	0x17069
532f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT6__SD4_DATA6	0x17069
533f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__SD4_DATA7	0x17069
534f126890aSEmmanuel Vadot		>;
535f126890aSEmmanuel Vadot	};
536f126890aSEmmanuel Vadot
537f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
538f126890aSEmmanuel Vadot		fsl,pins = <
539f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__WDOG2_B	0x1b0b0
540f126890aSEmmanuel Vadot		>;
541f126890aSEmmanuel Vadot	};
542f126890aSEmmanuel Vadot};
543f126890aSEmmanuel Vadot
544f126890aSEmmanuel Vadot&ipu1_di0_disp0 {
545f126890aSEmmanuel Vadot	remote-endpoint = <&lcd_display_in>;
546f126890aSEmmanuel Vadot};
547f126890aSEmmanuel Vadot
548f126890aSEmmanuel Vadot&pwm1 {
549f126890aSEmmanuel Vadot	pinctrl-names = "default";
550f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
551f126890aSEmmanuel Vadot	status = "disabled";
552f126890aSEmmanuel Vadot};
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot&uart1 {
555f126890aSEmmanuel Vadot	pinctrl-names = "default";
556f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
557f126890aSEmmanuel Vadot	status = "okay";
558f126890aSEmmanuel Vadot};
559f126890aSEmmanuel Vadot
560f126890aSEmmanuel Vadot&uart2 {
561f126890aSEmmanuel Vadot	pinctrl-names = "default";
562f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
563f126890aSEmmanuel Vadot	status = "disabled";
564f126890aSEmmanuel Vadot};
565f126890aSEmmanuel Vadot
566f126890aSEmmanuel Vadot&usbh1 {
567f126890aSEmmanuel Vadot	pinctrl-names = "default";
568f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbh1>;
569f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
570f126890aSEmmanuel Vadot	over-current-active-low;
571f126890aSEmmanuel Vadot	status = "disabled";
572f126890aSEmmanuel Vadot};
573f126890aSEmmanuel Vadot
574f126890aSEmmanuel Vadot&usbotg {
575f126890aSEmmanuel Vadot	pinctrl-names = "default";
576f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
577f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
578f126890aSEmmanuel Vadot	over-current-active-low;
579f126890aSEmmanuel Vadot	srp-disable;
580f126890aSEmmanuel Vadot	hnp-disable;
581f126890aSEmmanuel Vadot	adp-disable;
582f126890aSEmmanuel Vadot	status = "okay";
583f126890aSEmmanuel Vadot};
584f126890aSEmmanuel Vadot
585f126890aSEmmanuel Vadot&usbphy1 {
586f126890aSEmmanuel Vadot	fsl,tx-d-cal = <106>;
587f126890aSEmmanuel Vadot	status = "okay";
588f126890aSEmmanuel Vadot};
589f126890aSEmmanuel Vadot
590f126890aSEmmanuel Vadot&usbphy2 {
591f126890aSEmmanuel Vadot	fsl,tx-d-cal = <109>;
592f126890aSEmmanuel Vadot	status = "disabled";
593f126890aSEmmanuel Vadot};
594f126890aSEmmanuel Vadot
595f126890aSEmmanuel Vadot&usdhc4 {
596f126890aSEmmanuel Vadot	pinctrl-names = "default";
597f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc4>;
598f126890aSEmmanuel Vadot	bus-width = <8>;
599f126890aSEmmanuel Vadot	non-removable;
600f126890aSEmmanuel Vadot	no-1-8-v;
601f126890aSEmmanuel Vadot	keep-power-in-suspend;
602f126890aSEmmanuel Vadot	vmmc-supply = <&sw2_reg>;
603f126890aSEmmanuel Vadot	status = "okay";
604f126890aSEmmanuel Vadot};
605f126890aSEmmanuel Vadot
606f126890aSEmmanuel Vadot&wdog1 {
607f126890aSEmmanuel Vadot	status = "disabled";
608f126890aSEmmanuel Vadot};
609f126890aSEmmanuel Vadot
610f126890aSEmmanuel Vadot&wdog2 {
611f126890aSEmmanuel Vadot	pinctrl-names = "default";
612f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
613f126890aSEmmanuel Vadot	fsl,ext-reset-output;
614f126890aSEmmanuel Vadot	status = "okay";
615f126890aSEmmanuel Vadot};
616