xref: /linux/arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dts (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/*
3724ba675SRob Herring * Support for the i.MX6-based Bosch ACC board.
4724ba675SRob Herring *
5724ba675SRob Herring * Copyright (C) 2016 Garz & Fricke GmbH
6724ba675SRob Herring * Copyright (C) 2018 DENX Software Engineering GmbH, Heiko Schocher <hs@denx.de>
7724ba675SRob Herring * Copyright (C) 2018 DENX Software Engineering GmbH, Niel Fourie <lusus@denx.de>
8724ba675SRob Herring * Copyright (C) 2019-2021 Bosch Thermotechnik GmbH, Matthias Winker <matthias.winker@bosch.com>
9724ba675SRob Herring * Copyright (C) 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
10724ba675SRob Herring */
11724ba675SRob Herring
12724ba675SRob Herring/dts-v1/;
13724ba675SRob Herring
14724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
15724ba675SRob Herring#include <dt-bindings/leds/common.h>
16724ba675SRob Herring#include "imx6q.dtsi"
17724ba675SRob Herring
18724ba675SRob Herring/ {
19724ba675SRob Herring	model = "Bosch ACC";
20724ba675SRob Herring	compatible = "bosch,imx6q-acc", "fsl,imx6q";
21724ba675SRob Herring
22724ba675SRob Herring	aliases {
23724ba675SRob Herring		i2c0 = &i2c1;
24724ba675SRob Herring		i2c1 = &i2c2;
25724ba675SRob Herring		i2c2 = &i2c3;
26724ba675SRob Herring		mmc0 = &usdhc4;
27724ba675SRob Herring		mmc1 = &usdhc2;
28724ba675SRob Herring		serial0 = &uart2;
29724ba675SRob Herring		serial1 = &uart1;
30724ba675SRob Herring	};
31724ba675SRob Herring
32724ba675SRob Herring	memory@10000000 {
33724ba675SRob Herring		device_type = "memory";
34724ba675SRob Herring		reg = <0x10000000 0x40000000>;
35724ba675SRob Herring	};
36724ba675SRob Herring
37724ba675SRob Herring	backlight_lvds: backlight-lvds {
38724ba675SRob Herring		compatible = "pwm-backlight";
39*fa86e545SUwe Kleine-König		pwms = <&pwm1 0 200000 0>;
40724ba675SRob Herring		brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>;
41724ba675SRob Herring		num-interpolated-steps = <10>;
42724ba675SRob Herring		default-brightness-level = <60>;
43724ba675SRob Herring		power-supply = <&reg_lcd>;
44724ba675SRob Herring	};
45724ba675SRob Herring
46724ba675SRob Herring	panel {
47724ba675SRob Herring		compatible = "dataimage,fg1001l0dsswmg01";
48724ba675SRob Herring		backlight = <&backlight_lvds>;
49724ba675SRob Herring
50724ba675SRob Herring		port {
51724ba675SRob Herring			panel_in: endpoint {
52724ba675SRob Herring				remote-endpoint = <&lvds0_out>;
53724ba675SRob Herring			};
54724ba675SRob Herring		};
55724ba675SRob Herring	};
56724ba675SRob Herring
57724ba675SRob Herring	refclk: refclk {
58724ba675SRob Herring		compatible = "fixed-factor-clock";
59724ba675SRob Herring		#clock-cells = <0>;
60724ba675SRob Herring		clocks = <&clks IMX6QDL_CLK_CKO2>;
61724ba675SRob Herring		clock-div = <1>;
62724ba675SRob Herring		clock-mult = <1>;
63724ba675SRob Herring		clock-output-names = "12mhz_refclk";
64724ba675SRob Herring		assigned-clocks = <&clks IMX6QDL_CLK_CKO>,
65724ba675SRob Herring				  <&clks IMX6QDL_CLK_CKO2>,
66724ba675SRob Herring				  <&clks IMX6QDL_CLK_CKO2_SEL>;
67724ba675SRob Herring		assigned-clock-parents = <&clks IMX6QDL_CLK_CKO2>,
68724ba675SRob Herring					 <&clks IMX6QDL_CLK_CKO2_PODF>,
69724ba675SRob Herring					 <&clks IMX6QDL_CLK_OSC>;
70724ba675SRob Herring		assigned-clock-rates = <0>, <12000000>, <0>;
71724ba675SRob Herring	};
72724ba675SRob Herring
73724ba675SRob Herring	cpus {
74724ba675SRob Herring		cpu0: cpu@0 {
75724ba675SRob Herring			operating-points = <
76724ba675SRob Herring				/* kHz    uV */
77724ba675SRob Herring				1200000 1275000
78724ba675SRob Herring				996000  1225000
79724ba675SRob Herring				852000  1225000
80724ba675SRob Herring				792000  1150000
81724ba675SRob Herring				396000  950000
82724ba675SRob Herring			>;
83724ba675SRob Herring			fsl,soc-operating-points = <
84724ba675SRob Herring				/* ARM kHz  SOC-PU uV */
85724ba675SRob Herring				1200000 1225000
86724ba675SRob Herring				996000	1175000
87724ba675SRob Herring				852000	1175000
88724ba675SRob Herring				792000	1150000
89724ba675SRob Herring				396000	1150000
90724ba675SRob Herring			>;
91724ba675SRob Herring		};
92724ba675SRob Herring
93724ba675SRob Herring		cpu1: cpu@1 {
94724ba675SRob Herring			operating-points = <
95724ba675SRob Herring				/* kHz    uV */
96724ba675SRob Herring				1200000 1275000
97724ba675SRob Herring				996000  1225000
98724ba675SRob Herring				852000  1225000
99724ba675SRob Herring				792000  1150000
100724ba675SRob Herring				396000  950000
101724ba675SRob Herring			>;
102724ba675SRob Herring			fsl,soc-operating-points = <
103724ba675SRob Herring				/* ARM kHz  SOC-PU uV */
104724ba675SRob Herring				1200000 1225000
105724ba675SRob Herring				996000	1175000
106724ba675SRob Herring				852000	1175000
107724ba675SRob Herring				792000	1150000
108724ba675SRob Herring				396000	1150000
109724ba675SRob Herring			>;
110724ba675SRob Herring		};
111724ba675SRob Herring	};
112724ba675SRob Herring
113724ba675SRob Herring	pwm-leds {
114724ba675SRob Herring		compatible = "pwm-leds";
115724ba675SRob Herring
116724ba675SRob Herring		led_red: led-0 {
117724ba675SRob Herring			color = <LED_COLOR_ID_RED>;
118724ba675SRob Herring			max-brightness = <248>;
119724ba675SRob Herring			default-state = "off";
120*fa86e545SUwe Kleine-König			pwms = <&pwm2 0 500000 0>;
121724ba675SRob Herring		};
122724ba675SRob Herring
123724ba675SRob Herring		led_white: led-1 {
124724ba675SRob Herring			color = <LED_COLOR_ID_WHITE>;
125724ba675SRob Herring			max-brightness = <248>;
126724ba675SRob Herring			default-state = "off";
127*fa86e545SUwe Kleine-König			pwms = <&pwm3 0 500000 0>;
128724ba675SRob Herring			linux,default-trigger = "heartbeat";
129724ba675SRob Herring		};
130724ba675SRob Herring	};
131724ba675SRob Herring
132724ba675SRob Herring	gpio-leds {
133724ba675SRob Herring		compatible = "gpio-leds";
134724ba675SRob Herring		pinctrl-names = "default";
135724ba675SRob Herring		pinctrl-0 = <&pinctrl_reset_gpio_led>;
136724ba675SRob Herring
137724ba675SRob Herring		led-2 {
138724ba675SRob Herring			color = <LED_COLOR_ID_RED>;
139724ba675SRob Herring			gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
140724ba675SRob Herring			default-state = "off";
141724ba675SRob Herring		};
142724ba675SRob Herring	};
143724ba675SRob Herring
144724ba675SRob Herring	reg_5p0: regulator-5p0 {
145724ba675SRob Herring		compatible = "regulator-fixed";
146724ba675SRob Herring		regulator-name = "5p0";
147724ba675SRob Herring	};
148724ba675SRob Herring
149724ba675SRob Herring	reg_vin: regulator-vin {
150724ba675SRob Herring		compatible = "regulator-fixed";
151724ba675SRob Herring		regulator-name = "VIN";
152724ba675SRob Herring		regulator-min-microvolt = <4500000>;
153724ba675SRob Herring		regulator-max-microvolt = <4500000>;
154724ba675SRob Herring		regulator-always-on;
155724ba675SRob Herring		vin-supply = <&reg_5p0>;
156724ba675SRob Herring	};
157724ba675SRob Herring
158724ba675SRob Herring	reg_usb_otg_vbus: regulator-usb-otg-vbus {
159724ba675SRob Herring		compatible = "regulator-fixed";
160724ba675SRob Herring		regulator-name = "usb_otg_vbus";
161724ba675SRob Herring		regulator-min-microvolt = <5000000>;
162724ba675SRob Herring		regulator-max-microvolt = <5000000>;
163724ba675SRob Herring	};
164724ba675SRob Herring
165724ba675SRob Herring	reg_usb_h1_vbus: regulator-usb-h1-vbus {
166724ba675SRob Herring		compatible = "regulator-fixed";
167724ba675SRob Herring		regulator-name = "usb_h1_vbus";
168724ba675SRob Herring		regulator-min-microvolt = <5000000>;
169724ba675SRob Herring		regulator-max-microvolt = <5000000>;
170724ba675SRob Herring		regulator-always-on;
171724ba675SRob Herring		vin-supply = <&reg_5p0>;
172724ba675SRob Herring	};
173724ba675SRob Herring
174724ba675SRob Herring	reg_usb_h2_vbus: regulator-usb-h2-vbus {
175724ba675SRob Herring		compatible = "regulator-fixed";
176724ba675SRob Herring		regulator-name = "usb_h2_vbus";
177724ba675SRob Herring		regulator-min-microvolt = <5000000>;
178724ba675SRob Herring		regulator-max-microvolt = <5000000>;
179724ba675SRob Herring		vin-supply = <&reg_5p0> ;
180724ba675SRob Herring		regulator-always-on;
181724ba675SRob Herring	};
182724ba675SRob Herring
183724ba675SRob Herring	reg_vsnvs: regulator-vsnvs {
184724ba675SRob Herring		compatible = "regulator-fixed";
185724ba675SRob Herring		regulator-name = "VSNVS_3V0";
186724ba675SRob Herring		regulator-min-microvolt = <3000000>;
187724ba675SRob Herring		regulator-max-microvolt = <3000000>;
188724ba675SRob Herring		regulator-always-on;
189724ba675SRob Herring		vin-supply = <&reg_5p0>;
190724ba675SRob Herring	};
191724ba675SRob Herring
192724ba675SRob Herring	reg_lcd: regulator-lcd {
193724ba675SRob Herring		compatible = "regulator-fixed";
194724ba675SRob Herring		regulator-name = "LCD0 POWER";
195724ba675SRob Herring		regulator-min-microvolt = <5000000>;
196724ba675SRob Herring		regulator-max-microvolt = <5000000>;
197724ba675SRob Herring		pinctrl-names = "default";
198724ba675SRob Herring		pinctrl-0 = <&pinctrl_lcd_enable>;
199724ba675SRob Herring		gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>;
200724ba675SRob Herring		enable-active-high;
201724ba675SRob Herring		regulator-boot-on;
202724ba675SRob Herring	};
203724ba675SRob Herring
204724ba675SRob Herring	reg_dac: regulator-dac {
205724ba675SRob Herring		compatible = "regulator-fixed";
206724ba675SRob Herring		regulator-name = "vref_dac";
207724ba675SRob Herring		regulator-min-microvolt = <20000>;
208724ba675SRob Herring		regulator-max-microvolt = <20000>;
209724ba675SRob Herring		vin-supply = <&reg_5p0> ;
210724ba675SRob Herring		regulator-boot-on;
211724ba675SRob Herring	};
212724ba675SRob Herring
213724ba675SRob Herring	reg_sw4: regulator-sw4 {
214724ba675SRob Herring		compatible = "regulator-fixed";
215724ba675SRob Herring		regulator-name = "SW4_3V3";
216724ba675SRob Herring		regulator-min-microvolt = <3300000>;
217724ba675SRob Herring		regulator-max-microvolt = <3300000>;
218724ba675SRob Herring		regulator-always-on;
219724ba675SRob Herring		vin-supply = <&reg_5p0>;
220724ba675SRob Herring	};
221724ba675SRob Herring
222724ba675SRob Herring	reg_sys: regulator-sys {
223724ba675SRob Herring		compatible = "regulator-fixed";
224724ba675SRob Herring		regulator-name = "SYS_4V2";
225724ba675SRob Herring		regulator-min-microvolt = <4200000>;
226724ba675SRob Herring		regulator-max-microvolt = <4200000>;
227724ba675SRob Herring		regulator-always-on;
228724ba675SRob Herring		vin-supply = <&reg_5p0>;
229724ba675SRob Herring	};
230724ba675SRob Herring};
231724ba675SRob Herring
232724ba675SRob Herring&reg_arm {
233724ba675SRob Herring	vin-supply = <&sw2_reg>;
234724ba675SRob Herring};
235724ba675SRob Herring
236724ba675SRob Herring&reg_soc {
237724ba675SRob Herring	vin-supply = <&sw1c_reg>;
238724ba675SRob Herring};
239724ba675SRob Herring
240724ba675SRob Herring&reg_vdd1p1 {
241724ba675SRob Herring	vin-supply = <&reg_vsnvs>;
242724ba675SRob Herring};
243724ba675SRob Herring
244724ba675SRob Herring&reg_vdd2p5 {
245724ba675SRob Herring	vin-supply = <&reg_vsnvs>;
246724ba675SRob Herring};
247724ba675SRob Herring
248724ba675SRob Herring&reg_vdd3p0 {
249724ba675SRob Herring	vin-supply = <&reg_vsnvs>;
250724ba675SRob Herring};
251724ba675SRob Herring
252724ba675SRob Herring&fec {
253724ba675SRob Herring	pinctrl-names = "default";
254724ba675SRob Herring	pinctrl-0 = <&pinctrl_enet>;
255724ba675SRob Herring	clocks = <&clks IMX6QDL_CLK_ENET>,
256724ba675SRob Herring		<&clks IMX6QDL_CLK_ENET>,
257724ba675SRob Herring		<&clks IMX6QDL_CLK_ENET>,
258724ba675SRob Herring		<&clks IMX6QDL_CLK_ENET_REF>;
259724ba675SRob Herring	clock-names = "ipg", "ahb", "ptp", "enet_out";
260724ba675SRob Herring	phy-mode = "rmii";
261724ba675SRob Herring	phy-supply = <&reg_sw4>;
262724ba675SRob Herring	phy-handle = <&ethphy>;
263724ba675SRob Herring	status = "okay";
264724ba675SRob Herring
265724ba675SRob Herring	mdio {
266724ba675SRob Herring		#address-cells = <1>;
267724ba675SRob Herring		#size-cells = <0>;
268724ba675SRob Herring
269724ba675SRob Herring		ethphy: ethernet-phy@0 {
270724ba675SRob Herring			compatible = "ethernet-phy-ieee802.3-c22";
271724ba675SRob Herring			reg = <0>;
272724ba675SRob Herring			interrupt-parent = <&gpio1>;
273724ba675SRob Herring			interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
274724ba675SRob Herring			smsc,disable-energy-detect;
275724ba675SRob Herring		};
276724ba675SRob Herring	};
277724ba675SRob Herring};
278724ba675SRob Herring
279724ba675SRob Herring&gpu_vg {
280724ba675SRob Herring	status = "disabled";
281724ba675SRob Herring};
282724ba675SRob Herring
283724ba675SRob Herring&gpu_2d {
284724ba675SRob Herring	status = "disabled";
285724ba675SRob Herring};
286724ba675SRob Herring
287724ba675SRob Herring&i2c1 {
288724ba675SRob Herring	pinctrl-names = "default";
289724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
290724ba675SRob Herring	clock-frequency = <400000>;
291724ba675SRob Herring	status = "okay";
292724ba675SRob Herring
293724ba675SRob Herring	pmic: pmic@8 {
294724ba675SRob Herring		compatible = "fsl,pfuze100";
295724ba675SRob Herring		reg = <0x08>;
296724ba675SRob Herring
297724ba675SRob Herring		regulators {
298724ba675SRob Herring			sw1c_reg: sw1c {
299724ba675SRob Herring				regulator-name = "VDD_SOC (sw1abc)";
300724ba675SRob Herring				regulator-min-microvolt = <1275000>;
301724ba675SRob Herring				regulator-max-microvolt = <1500000>;
302724ba675SRob Herring				regulator-boot-on;
303724ba675SRob Herring				regulator-always-on;
304724ba675SRob Herring				regulator-ramp-delay = <6250>;
305724ba675SRob Herring			};
306724ba675SRob Herring
307724ba675SRob Herring			sw2_reg: sw2 {
308724ba675SRob Herring				regulator-name = "VDD_ARM (sw2)";
309724ba675SRob Herring				regulator-min-microvolt = <1050000>;
310724ba675SRob Herring				regulator-max-microvolt = <1500000>;
311724ba675SRob Herring				regulator-boot-on;
312724ba675SRob Herring				regulator-always-on;
313724ba675SRob Herring				regulator-ramp-delay = <6250>;
314724ba675SRob Herring			};
315724ba675SRob Herring
316724ba675SRob Herring			sw3a_reg: sw3a {
317724ba675SRob Herring				regulator-name = "DDR_1V5a";
318724ba675SRob Herring				regulator-boot-on;
319724ba675SRob Herring				regulator-always-on;
320724ba675SRob Herring
321724ba675SRob Herring			};
322724ba675SRob Herring
323724ba675SRob Herring			sw3b_reg: sw3b {
324724ba675SRob Herring				regulator-name = "DDR_1V5b";
325724ba675SRob Herring				regulator-boot-on;
326724ba675SRob Herring				regulator-always-on;
327724ba675SRob Herring
328724ba675SRob Herring			};
329724ba675SRob Herring
330724ba675SRob Herring			sw4_reg: sw4 {
331724ba675SRob Herring				regulator-name = "AUX 3V15 (sw4)";
332724ba675SRob Herring				regulator-min-microvolt = <800000>;
333724ba675SRob Herring				regulator-max-microvolt = <3300000>;
334724ba675SRob Herring			};
335724ba675SRob Herring
336724ba675SRob Herring			swbst_reg: swbst {
337724ba675SRob Herring				regulator-min-microvolt = <5000000>;
338724ba675SRob Herring				regulator-max-microvolt = <5150000>;
339724ba675SRob Herring				regulator-boot-on;
340724ba675SRob Herring				regulator-always-on;
341724ba675SRob Herring				status = "disabled";
342724ba675SRob Herring			};
343724ba675SRob Herring
344724ba675SRob Herring			snvs_reg: vsnvs {
345724ba675SRob Herring				regulator-min-microvolt = <1200000>;
346724ba675SRob Herring				regulator-max-microvolt = <3000000>;
347724ba675SRob Herring				regulator-boot-on;
348724ba675SRob Herring				regulator-always-on;
349724ba675SRob Herring			};
350724ba675SRob Herring
351724ba675SRob Herring			vref_reg: vrefddr {
352724ba675SRob Herring				regulator-boot-on;
353724ba675SRob Herring				regulator-always-on;
354724ba675SRob Herring			};
355724ba675SRob Herring
356724ba675SRob Herring			vgen1_reg: vgen1 {
357724ba675SRob Herring				regulator-min-microvolt = <800000>;
358724ba675SRob Herring				regulator-max-microvolt = <1550000>;
359724ba675SRob Herring				regulator-always-on;
360724ba675SRob Herring			};
361724ba675SRob Herring
362724ba675SRob Herring			vgen2_reg: vgen2 {
363724ba675SRob Herring				regulator-min-microvolt = <800000>;
364724ba675SRob Herring				regulator-max-microvolt = <1550000>;
365724ba675SRob Herring				regulator-always-on;
366724ba675SRob Herring			};
367724ba675SRob Herring
368724ba675SRob Herring			vgen3_reg: vgen3 {
369724ba675SRob Herring				regulator-min-microvolt = <1800000>;
370724ba675SRob Herring				regulator-max-microvolt = <3300000>;
371724ba675SRob Herring				regulator-always-on;
372724ba675SRob Herring			};
373724ba675SRob Herring
374724ba675SRob Herring			vgen4_reg: vgen4 {
375724ba675SRob Herring				regulator-min-microvolt = <1800000>;
376724ba675SRob Herring				regulator-max-microvolt = <3300000>;
377724ba675SRob Herring				regulator-always-on;
378724ba675SRob Herring				regulator-boot-on;
379724ba675SRob Herring			};
380724ba675SRob Herring
381724ba675SRob Herring			vgen5_reg: vgen5 {
382724ba675SRob Herring				regulator-min-microvolt = <1800000>;
383724ba675SRob Herring				regulator-max-microvolt = <3300000>;
384724ba675SRob Herring				regulator-always-on;
385724ba675SRob Herring				regulator-boot-on;
386724ba675SRob Herring			};
387724ba675SRob Herring
388724ba675SRob Herring			vgen6_reg: vgen6 {
389724ba675SRob Herring				regulator-min-microvolt = <1800000>;
390724ba675SRob Herring				regulator-max-microvolt = <3300000>;
391724ba675SRob Herring				regulator-always-on;
392724ba675SRob Herring			};
393724ba675SRob Herring		};
394724ba675SRob Herring	};
395724ba675SRob Herring
396724ba675SRob Herring	lm75: sensor@49 {
397724ba675SRob Herring		compatible = "national,lm75b";
398724ba675SRob Herring		pinctrl-names = "default";
399724ba675SRob Herring		pinctrl-0 = <&pinctrl_lm75>;
400724ba675SRob Herring		reg = <0x49>;
401724ba675SRob Herring	};
402724ba675SRob Herring
403724ba675SRob Herring	eeprom: eeprom@50 {
404724ba675SRob Herring		compatible = "atmel,24c32";
405724ba675SRob Herring		reg = <0x50>;
406724ba675SRob Herring		pagesize = <32>;
407724ba675SRob Herring	};
408724ba675SRob Herring
409724ba675SRob Herring	rtc: rtc@51 {
410724ba675SRob Herring		pinctrl-names = "default";
411724ba675SRob Herring		pinctrl-0 = <&pinctrl_rtc>;
412724ba675SRob Herring		compatible = "nxp,pcf8563";
413724ba675SRob Herring		reg = <0x51>;
414724ba675SRob Herring	};
415724ba675SRob Herring};
416724ba675SRob Herring
417724ba675SRob Herring&i2c2 {
418724ba675SRob Herring	pinctrl-names = "default";
419724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
420724ba675SRob Herring	clock-frequency = <100000>;
421724ba675SRob Herring	status = "okay";
422724ba675SRob Herring
423724ba675SRob Herring	eeprom_ext: eeprom@50 {
424724ba675SRob Herring		compatible = "atmel,24c32";
425724ba675SRob Herring		reg = <0x50>;
426724ba675SRob Herring		pagesize = <32>;
427724ba675SRob Herring	};
428724ba675SRob Herring};
429724ba675SRob Herring
430724ba675SRob Herring&i2c3 {
431724ba675SRob Herring	pinctrl-names = "default";
432724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
433724ba675SRob Herring	clock-frequency = <400000>;
434724ba675SRob Herring	status = "okay";
435724ba675SRob Herring
436724ba675SRob Herring	usb3503: usb@8 {
437724ba675SRob Herring		compatible = "smsc,usb3503";
438724ba675SRob Herring		pinctrl-names = "default";
439724ba675SRob Herring		pinctrl-0 = <&pinctrl_usb3503>;
440724ba675SRob Herring		reg = <0x08>;
441724ba675SRob Herring		connect-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; /* Old: 0, SS: HIGH */
442724ba675SRob Herring		intn-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; /* Old: 1, SS: HIGH */
443724ba675SRob Herring		reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; /* Old: 0, SS: HIGH */
444724ba675SRob Herring		initial-mode = <1>;
445724ba675SRob Herring		clocks = <&refclk>;
446724ba675SRob Herring		clock-names = "refclk";
447724ba675SRob Herring		refclk-frequency = <12000000>;
448724ba675SRob Herring	};
449724ba675SRob Herring
450724ba675SRob Herring	exc3000: touchscreen@2a {
451724ba675SRob Herring		compatible = "eeti,exc3000";
452724ba675SRob Herring		reg = <0x2a>;
453724ba675SRob Herring		pinctrl-names = "default";
454724ba675SRob Herring		pinctrl-0 = <&pinctrl_ctouch>;
455724ba675SRob Herring		interrupt-parent = <&gpio4>;
456724ba675SRob Herring		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
457724ba675SRob Herring		touchscreen-size-x = <4096>;
458724ba675SRob Herring		touchscreen-size-y = <4096>;
459724ba675SRob Herring	};
460724ba675SRob Herring
461724ba675SRob Herring	vcnl4035: light-sensor@60 {
462724ba675SRob Herring		compatible = "vishay,vcnl4035";
463724ba675SRob Herring		pinctrl-names = "default";
464724ba675SRob Herring		pinctrl-0 = <&pinctrl_proximity>;
465724ba675SRob Herring		reg = <0x60>;
466724ba675SRob Herring	};
467724ba675SRob Herring};
468724ba675SRob Herring
469724ba675SRob Herring&ldb {
470724ba675SRob Herring	status = "okay";
471724ba675SRob Herring
472724ba675SRob Herring	lvds0: lvds-channel@0 {
473724ba675SRob Herring		fsl,data-mapping = "spwg";
474724ba675SRob Herring		fsl,data-width = <24>;
475724ba675SRob Herring
476724ba675SRob Herring		port@4 {
477724ba675SRob Herring			reg = <4>;
478724ba675SRob Herring
479724ba675SRob Herring			lvds0_out: endpoint {
480724ba675SRob Herring				remote-endpoint = <&panel_in>;
481724ba675SRob Herring			};
482724ba675SRob Herring		};
483724ba675SRob Herring	};
484724ba675SRob Herring};
485724ba675SRob Herring
486724ba675SRob Herring&pwm1 {
487724ba675SRob Herring	pinctrl-names = "default";
488724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm1>;
489724ba675SRob Herring	status = "okay";
490724ba675SRob Herring};
491724ba675SRob Herring
492724ba675SRob Herring&pwm2 {
493724ba675SRob Herring	pinctrl-names = "default";
494724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm2>;
495724ba675SRob Herring	status = "okay";
496724ba675SRob Herring};
497724ba675SRob Herring
498724ba675SRob Herring&pwm3 {
499724ba675SRob Herring	pinctrl-names = "default";
500724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm3>;
501724ba675SRob Herring	status = "okay";
502724ba675SRob Herring};
503724ba675SRob Herring
504724ba675SRob Herring&pwm4 {
505724ba675SRob Herring	pinctrl-names = "default";
506724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm4>;
507724ba675SRob Herring	status = "okay";
508724ba675SRob Herring};
509724ba675SRob Herring
510724ba675SRob Herring&uart1 {
511724ba675SRob Herring	pinctrl-names = "default";
512724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
513724ba675SRob Herring	rts-gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
514724ba675SRob Herring	linux,rs485-enabled-at-boot-time;
515724ba675SRob Herring	rs485-rx-during-tx;
516724ba675SRob Herring	status = "okay";
517724ba675SRob Herring};
518724ba675SRob Herring
519724ba675SRob Herring&uart2 {
520724ba675SRob Herring	pinctrl-names = "default";
521724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
522724ba675SRob Herring	uart-has-rtscts;
523724ba675SRob Herring	status = "okay";
524724ba675SRob Herring};
525724ba675SRob Herring
526724ba675SRob Herring&usbh1 {
527724ba675SRob Herring	vbus-supply = <&reg_usb_h1_vbus>;
528724ba675SRob Herring	status = "okay";
529724ba675SRob Herring};
530724ba675SRob Herring
531724ba675SRob Herring&usbh2 {
532724ba675SRob Herring	pinctrl-names = "idle", "active";
533724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbh2_idle>;
534724ba675SRob Herring	pinctrl-1 = <&pinctrl_usbh2_active>;
535724ba675SRob Herring	vbus-supply = <&reg_usb_h2_vbus>;
536724ba675SRob Herring	status = "okay";
537724ba675SRob Herring};
538724ba675SRob Herring
539724ba675SRob Herring&usbotg {
540724ba675SRob Herring	pinctrl-names = "default";
541724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
542724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
543724ba675SRob Herring	disable-over-current;
544724ba675SRob Herring	dr_mode = "otg";
545724ba675SRob Herring	srp-disable;
546724ba675SRob Herring	hnp-disable;
547724ba675SRob Herring	adp-disable;
548724ba675SRob Herring	status = "okay";
549724ba675SRob Herring};
550724ba675SRob Herring
551724ba675SRob Herring&usbphynop1 {
552724ba675SRob Herring	clocks = <&clks IMX6QDL_CLK_USBPHY1>;
553724ba675SRob Herring	clock-names = "main_clk";
554724ba675SRob Herring	vcc-supply = <&reg_usb_h1_vbus>;
555724ba675SRob Herring};
556724ba675SRob Herring
557724ba675SRob Herring&usbphynop2 {
558724ba675SRob Herring	vcc-supply = <&reg_usb_h2_vbus>;
559724ba675SRob Herring};
560724ba675SRob Herring
561724ba675SRob Herring&usdhc2 {
562724ba675SRob Herring	pinctrl-names = "default";
563724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc2>;
564724ba675SRob Herring	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
565724ba675SRob Herring	no-1-8-v;
566724ba675SRob Herring	keep-power-in-suspend;
567724ba675SRob Herring	wakeup-source;
568724ba675SRob Herring	voltage-ranges = <3300 3300>;
569724ba675SRob Herring	vmmc-supply = <&reg_sw4>;
570724ba675SRob Herring	fsl,wp-controller;
571724ba675SRob Herring	status = "okay";
572724ba675SRob Herring};
573724ba675SRob Herring
574724ba675SRob Herring&usdhc4 {
575724ba675SRob Herring	pinctrl-names = "default";
576724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc4>;
577724ba675SRob Herring	bus-width = <8>;
578724ba675SRob Herring	non-removable;
579724ba675SRob Herring	no-1-8-v;
580724ba675SRob Herring	keep-power-in-suspend;
581724ba675SRob Herring	voltage-ranges = <3300 3300>;
582724ba675SRob Herring	vmmc-supply = <&reg_sw4>;
583724ba675SRob Herring	fsl,wp-controller;
584724ba675SRob Herring	status = "okay";
585724ba675SRob Herring};
586724ba675SRob Herring
587724ba675SRob Herring&wdog1 {
588724ba675SRob Herring	pinctrl-names = "default";
589724ba675SRob Herring	pinctrl-0 = <&pinctrl_wdog1>;
590724ba675SRob Herring	fsl,ext-reset-output;
591724ba675SRob Herring	timeout-sec = <10>;
592724ba675SRob Herring	status = "okay";
593724ba675SRob Herring};
594724ba675SRob Herring
595724ba675SRob Herring&iomuxc {
596724ba675SRob Herring	pinctrl_enet: enetgrp {
597724ba675SRob Herring		fsl,pins = <
598724ba675SRob Herring			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
599724ba675SRob Herring			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
600724ba675SRob Herring			MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN	0x1b0b0
601724ba675SRob Herring			MX6QDL_PAD_ENET_REF_CLK__GPIO1_IO23	0x1b0b0	/* FEC INT */
602724ba675SRob Herring			MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER	0x1b0b0
603724ba675SRob Herring			MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN	0x0001b098
604724ba675SRob Herring			MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0	0x1b0b0
605724ba675SRob Herring			MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1	0x1b0b0
606724ba675SRob Herring			MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1	0x0001b098
607724ba675SRob Herring			MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0	0x0001b098
608724ba675SRob Herring			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8
609724ba675SRob Herring		>;
610724ba675SRob Herring	};
611724ba675SRob Herring
612724ba675SRob Herring	pinctrl_reset_gpio_led: reset-gpio-led-grp {
613724ba675SRob Herring		fsl,pins = <
614724ba675SRob Herring			MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18		0x1b0b0
615724ba675SRob Herring		>;
616724ba675SRob Herring	};
617724ba675SRob Herring
618724ba675SRob Herring	pinctrl_i2c1: i2c1grp {
619724ba675SRob Herring		fsl,pins = <
620724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1
621724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1
622724ba675SRob Herring		>;
623724ba675SRob Herring	};
624724ba675SRob Herring
625724ba675SRob Herring	pinctrl_i2c2: i2c2grp {
626724ba675SRob Herring		fsl,pins = <
627724ba675SRob Herring			MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b810
628724ba675SRob Herring			MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b810
629724ba675SRob Herring		>;
630724ba675SRob Herring	};
631724ba675SRob Herring
632724ba675SRob Herring	pinctrl_i2c3: i2c3grp {
633724ba675SRob Herring		fsl,pins = <
634724ba675SRob Herring			MX6QDL_PAD_GPIO_5__I2C3_SCL  0x4001b8b1
635724ba675SRob Herring			MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
636724ba675SRob Herring		>;
637724ba675SRob Herring	};
638724ba675SRob Herring
639724ba675SRob Herring	pinctrl_lcd_enable: lcdenablegrp {
640724ba675SRob Herring		fsl,pins = <
641724ba675SRob Herring			MX6QDL_PAD_EIM_D23__GPIO3_IO23  0x1b0b0 /* lcd enable */
642724ba675SRob Herring			MX6QDL_PAD_EIM_D16__GPIO3_IO16  0x1b0b0 /* sel6_8 */
643724ba675SRob Herring		>;
644724ba675SRob Herring	};
645724ba675SRob Herring
646724ba675SRob Herring	pinctrl_lm75: lm75grp {
647724ba675SRob Herring		fsl,pins = <
648724ba675SRob Herring			MX6QDL_PAD_KEY_ROW0__GPIO4_IO07		0x1b0b0
649724ba675SRob Herring		>;
650724ba675SRob Herring	};
651724ba675SRob Herring
652724ba675SRob Herring	pinctrl_proximity: proximitygrp {
653724ba675SRob Herring		fsl,pins = <
654724ba675SRob Herring			MX6QDL_PAD_KEY_ROW2__GPIO4_IO11  0x1b0b0
655724ba675SRob Herring		>;
656724ba675SRob Herring	};
657724ba675SRob Herring
658724ba675SRob Herring	pinctrl_pwm1: pwm1grp {
659724ba675SRob Herring		fsl,pins = <
660724ba675SRob Herring			MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x0001b0b0
661724ba675SRob Herring		>;
662724ba675SRob Herring	};
663724ba675SRob Herring
664724ba675SRob Herring	pinctrl_pwm2: pwm2grp {
665724ba675SRob Herring		fsl,pins = <
666724ba675SRob Herring			MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x0001b0b0
667724ba675SRob Herring		>;
668724ba675SRob Herring	};
669724ba675SRob Herring
670724ba675SRob Herring	pinctrl_pwm3: pwm3grp {
671724ba675SRob Herring		fsl,pins = <
672724ba675SRob Herring			MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x0001b0b0
673724ba675SRob Herring		>;
674724ba675SRob Herring	};
675724ba675SRob Herring
676724ba675SRob Herring	pinctrl_pwm4: pwm4grp {
677724ba675SRob Herring		fsl,pins = <
678724ba675SRob Herring			MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x0001b0b0
679724ba675SRob Herring		>;
680724ba675SRob Herring	};
681724ba675SRob Herring
682724ba675SRob Herring	pinctrl_rtc: rtc-grp {
683724ba675SRob Herring		fsl,pins = <
684724ba675SRob Herring			MX6QDL_PAD_KEY_COL1__GPIO4_IO08 0x1b0b0 /* RTC INT */
685724ba675SRob Herring		>;
686724ba675SRob Herring	};
687724ba675SRob Herring
688724ba675SRob Herring	pinctrl_ctouch: ctouch-grp {
689724ba675SRob Herring		fsl,pins = <
690724ba675SRob Herring			MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 /* CTOUCH_INT */
691724ba675SRob Herring			MX6QDL_PAD_SD1_CLK__GPIO1_IO20 0x0001b0b0 /* CTOUCH_RESET */
692724ba675SRob Herring		>;
693724ba675SRob Herring	};
694724ba675SRob Herring
695724ba675SRob Herring	pinctrl_uart1: uart1grp {
696724ba675SRob Herring		fsl,pins = <
697724ba675SRob Herring			MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
698724ba675SRob Herring			MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
699724ba675SRob Herring			MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x0001b0b0
700724ba675SRob Herring		>;
701724ba675SRob Herring	};
702724ba675SRob Herring
703724ba675SRob Herring	pinctrl_uart2: uart2grp {
704724ba675SRob Herring		fsl,pins = <
705724ba675SRob Herring			MX6QDL_PAD_SD3_DAT4__UART2_RX_DATA 0x1b0b1
706724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__UART2_TX_DATA 0x1b0b1
707724ba675SRob Herring			MX6QDL_PAD_EIM_D28__UART2_CTS_B 0x1b0b1
708724ba675SRob Herring			MX6QDL_PAD_EIM_D29__UART2_RTS_B 0x1b0b1
709724ba675SRob Herring		>;
710724ba675SRob Herring	};
711724ba675SRob Herring
712724ba675SRob Herring	pinctrl_usbh2_idle: usbh2-idle-grp {
713724ba675SRob Herring		fsl,pins = <
714724ba675SRob Herring			MX6QDL_PAD_RGMII_TXC__USB_H2_DATA      0x00013018
715724ba675SRob Herring			MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x00013018
716724ba675SRob Herring		>;
717724ba675SRob Herring	};
718724ba675SRob Herring
719724ba675SRob Herring	pinctrl_usbh2_active: usbh2-active-grp {
720724ba675SRob Herring		fsl,pins = <
721724ba675SRob Herring			MX6QDL_PAD_RGMII_TXC__USB_H2_DATA      0x00013018
722724ba675SRob Herring			MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x00017018
723724ba675SRob Herring		>;
724724ba675SRob Herring	};
725724ba675SRob Herring
726724ba675SRob Herring	pinctrl_usb3503: usb3503-grp {
727724ba675SRob Herring		fsl,pins = <
728724ba675SRob Herring			MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1    0x00000018
729724ba675SRob Herring			MX6QDL_PAD_GPIO_17__GPIO7_IO12     0x1b0b0 /* USB INT */
730724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT11__GPIO5_IO05 0x0001b0b0 /* USB Reset */
731724ba675SRob Herring			MX6QDL_PAD_SD1_DAT0__GPIO1_IO16    0x1b0b0 /* USB Connect */
732724ba675SRob Herring		>;
733724ba675SRob Herring	};
734724ba675SRob Herring
735724ba675SRob Herring	pinctrl_usbotg: usbotggrp {
736724ba675SRob Herring		fsl,pins = <
737724ba675SRob Herring			MX6QDL_PAD_GPIO_1__USB_OTG_ID	0x17059
738724ba675SRob Herring		>;
739724ba675SRob Herring	};
740724ba675SRob Herring
741724ba675SRob Herring	pinctrl_usdhc2: usdhc2grp {
742724ba675SRob Herring		fsl,pins = <
743724ba675SRob Herring			MX6QDL_PAD_SD2_CMD__SD2_CMD    0x00017069
744724ba675SRob Herring			MX6QDL_PAD_SD2_CLK__SD2_CLK    0x00010038
745724ba675SRob Herring			MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x00017069
746724ba675SRob Herring			MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x00017069
747724ba675SRob Herring			MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x00017069
748724ba675SRob Herring			MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x00017069
749724ba675SRob Herring			MX6QDL_PAD_GPIO_4__SD2_CD_B    0x0001b0b0
750724ba675SRob Herring		>;
751724ba675SRob Herring	};
752724ba675SRob Herring
753724ba675SRob Herring	pinctrl_usdhc4: usdhc4grp {
754724ba675SRob Herring		fsl,pins = <
755724ba675SRob Herring			MX6QDL_PAD_SD4_CMD__SD4_CMD    0x00017059
756724ba675SRob Herring			MX6QDL_PAD_SD4_CLK__SD4_CLK    0x00010059
757724ba675SRob Herring			MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x00017059
758724ba675SRob Herring			MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x00017059
759724ba675SRob Herring			MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x00017059
760724ba675SRob Herring			MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x00017059
761724ba675SRob Herring			MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x00017059
762724ba675SRob Herring			MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x00017059
763724ba675SRob Herring			MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x00017059
764724ba675SRob Herring			MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x00017059
765724ba675SRob Herring		>;
766724ba675SRob Herring	};
767724ba675SRob Herring
768724ba675SRob Herring	pinctrl_wdog1: wdoggrp {
769724ba675SRob Herring		fsl,pins = <
770724ba675SRob Herring			MX6QDL_PAD_GPIO_9__WDOG1_B 0x1b0b0
771724ba675SRob Herring		>;
772724ba675SRob Herring	};
773724ba675SRob Herring};
774