xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-gw553x.dtsi (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1724ba675SRob Herring/*
2724ba675SRob Herring * Copyright 2016 Gateworks Corporation
3724ba675SRob Herring *
4724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms
5724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual
6724ba675SRob Herring * licensing only applies to this file, and not this project as a
7724ba675SRob Herring * whole.
8724ba675SRob Herring *
9724ba675SRob Herring *  a) This file is free software; you can redistribute it and/or
10724ba675SRob Herring *     modify it under the terms of the GNU General Public License as
11724ba675SRob Herring *     published by the Free Software Foundation; either version 2 of
12724ba675SRob Herring *     the License, or (at your option) any later version.
13724ba675SRob Herring *
14724ba675SRob Herring *     This file is distributed in the hope that it will be useful,
15724ba675SRob Herring *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16724ba675SRob Herring *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17724ba675SRob Herring *     GNU General Public License for more details.
18724ba675SRob Herring *
19724ba675SRob Herring *     You should have received a copy of the GNU General Public
20724ba675SRob Herring *     License along with this file; if not, write to the Free
21724ba675SRob Herring *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22724ba675SRob Herring *     MA 02110-1301 USA
23724ba675SRob Herring *
24724ba675SRob Herring * Or, alternatively,
25724ba675SRob Herring *
26724ba675SRob Herring *  b) Permission is hereby granted, free of charge, to any person
27724ba675SRob Herring *     obtaining a copy of this software and associated documentation
28724ba675SRob Herring *     files (the "Software"), to deal in the Software without
29724ba675SRob Herring *     restriction, including without limitation the rights to use,
30724ba675SRob Herring *     copy, modify, merge, publish, distribute, sublicense, and/or
31724ba675SRob Herring *     sell copies of the Software, and to permit persons to whom the
32724ba675SRob Herring *     Software is furnished to do so, subject to the following
33724ba675SRob Herring *     conditions:
34724ba675SRob Herring *
35724ba675SRob Herring *     The above copyright notice and this permission notice shall be
36724ba675SRob Herring *     included in all copies or substantial portions of the Software.
37724ba675SRob Herring *
38724ba675SRob Herring *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39724ba675SRob Herring *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40724ba675SRob Herring *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41724ba675SRob Herring *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42724ba675SRob Herring *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43724ba675SRob Herring *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44724ba675SRob Herring *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45724ba675SRob Herring *     OTHER DEALINGS IN THE SOFTWARE.
46724ba675SRob Herring */
47724ba675SRob Herring
48724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
49724ba675SRob Herring#include <dt-bindings/input/linux-event-codes.h>
50724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
51724ba675SRob Herring
52724ba675SRob Herring/ {
53724ba675SRob Herring	/* these are used by bootloader for disabling nodes */
54724ba675SRob Herring	aliases {
55724ba675SRob Herring		led0 = &led0;
56724ba675SRob Herring		led1 = &led1;
57724ba675SRob Herring		nand = &gpmi;
58724ba675SRob Herring		usb0 = &usbh1;
59724ba675SRob Herring		usb1 = &usbotg;
60724ba675SRob Herring	};
61724ba675SRob Herring
62724ba675SRob Herring	chosen {
63724ba675SRob Herring		stdout-path = &uart2;
64724ba675SRob Herring	};
65724ba675SRob Herring
66724ba675SRob Herring	gpio-keys {
67724ba675SRob Herring		compatible = "gpio-keys";
68724ba675SRob Herring
69724ba675SRob Herring		user-pb {
70724ba675SRob Herring			label = "user_pb";
71724ba675SRob Herring			gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
72724ba675SRob Herring			linux,code = <BTN_0>;
73724ba675SRob Herring		};
74724ba675SRob Herring
75724ba675SRob Herring		user-pb1x {
76724ba675SRob Herring			label = "user_pb1x";
77724ba675SRob Herring			linux,code = <BTN_1>;
78724ba675SRob Herring			interrupt-parent = <&gsc>;
79724ba675SRob Herring			interrupts = <0>;
80724ba675SRob Herring		};
81724ba675SRob Herring
82724ba675SRob Herring		key-erased {
83724ba675SRob Herring			label = "key-erased";
84724ba675SRob Herring			linux,code = <BTN_2>;
85724ba675SRob Herring			interrupt-parent = <&gsc>;
86724ba675SRob Herring			interrupts = <1>;
87724ba675SRob Herring		};
88724ba675SRob Herring
89724ba675SRob Herring		eeprom-wp {
90724ba675SRob Herring			label = "eeprom_wp";
91724ba675SRob Herring			linux,code = <BTN_3>;
92724ba675SRob Herring			interrupt-parent = <&gsc>;
93724ba675SRob Herring			interrupts = <2>;
94724ba675SRob Herring		};
95724ba675SRob Herring
96724ba675SRob Herring		tamper {
97724ba675SRob Herring			label = "tamper";
98724ba675SRob Herring			linux,code = <BTN_4>;
99724ba675SRob Herring			interrupt-parent = <&gsc>;
100724ba675SRob Herring			interrupts = <5>;
101724ba675SRob Herring		};
102724ba675SRob Herring
103724ba675SRob Herring		switch-hold {
104724ba675SRob Herring			label = "switch_hold";
105724ba675SRob Herring			linux,code = <BTN_5>;
106724ba675SRob Herring			interrupt-parent = <&gsc>;
107724ba675SRob Herring			interrupts = <7>;
108724ba675SRob Herring		};
109724ba675SRob Herring	};
110724ba675SRob Herring
111724ba675SRob Herring	leds {
112724ba675SRob Herring		compatible = "gpio-leds";
113724ba675SRob Herring		pinctrl-names = "default";
114724ba675SRob Herring		pinctrl-0 = <&pinctrl_gpio_leds>;
115724ba675SRob Herring
116724ba675SRob Herring		led0: led-user1 {
117724ba675SRob Herring			label = "user1";
118724ba675SRob Herring			gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
119724ba675SRob Herring			default-state = "on";
120724ba675SRob Herring			linux,default-trigger = "heartbeat";
121724ba675SRob Herring		};
122724ba675SRob Herring
123724ba675SRob Herring		led1: led-user2 {
124724ba675SRob Herring			label = "user2";
125724ba675SRob Herring			gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
126724ba675SRob Herring			default-state = "off";
127724ba675SRob Herring		};
128724ba675SRob Herring	};
129724ba675SRob Herring
130724ba675SRob Herring	memory@10000000 {
131724ba675SRob Herring		device_type = "memory";
132724ba675SRob Herring		reg = <0x10000000 0x20000000>;
133724ba675SRob Herring	};
134724ba675SRob Herring
135724ba675SRob Herring	pps {
136724ba675SRob Herring		compatible = "pps-gpio";
137724ba675SRob Herring		pinctrl-names = "default";
138724ba675SRob Herring		pinctrl-0 = <&pinctrl_pps>;
139724ba675SRob Herring		gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
140724ba675SRob Herring		status = "okay";
141724ba675SRob Herring	};
142724ba675SRob Herring
143724ba675SRob Herring	reg_5p0v: regulator-5p0v {
144724ba675SRob Herring		compatible = "regulator-fixed";
145724ba675SRob Herring		regulator-name = "5P0V";
146724ba675SRob Herring		regulator-min-microvolt = <5000000>;
147724ba675SRob Herring		regulator-max-microvolt = <5000000>;
148724ba675SRob Herring		regulator-always-on;
149724ba675SRob Herring	};
150724ba675SRob Herring
151724ba675SRob Herring	reg_usb_otg_vbus: regulator-usb-otg-vbus {
152724ba675SRob Herring		compatible = "regulator-fixed";
153724ba675SRob Herring		regulator-name = "usb_otg_vbus";
154724ba675SRob Herring		regulator-min-microvolt = <5000000>;
155724ba675SRob Herring		regulator-max-microvolt = <5000000>;
156724ba675SRob Herring		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
157724ba675SRob Herring		enable-active-high;
158724ba675SRob Herring	};
159724ba675SRob Herring};
160724ba675SRob Herring
161724ba675SRob Herring&gpmi {
162724ba675SRob Herring	pinctrl-names = "default";
163724ba675SRob Herring	pinctrl-0 = <&pinctrl_gpmi_nand>;
164724ba675SRob Herring	status = "okay";
165724ba675SRob Herring};
166724ba675SRob Herring
167724ba675SRob Herring&hdmi {
168724ba675SRob Herring	pinctrl-names = "default";
169724ba675SRob Herring	pinctrl-0 = <&pinctrl_hdmi>;
170724ba675SRob Herring	ddc-i2c-bus = <&i2c3>;
171724ba675SRob Herring	status = "okay";
172724ba675SRob Herring};
173724ba675SRob Herring
174724ba675SRob Herring&i2c1 {
175724ba675SRob Herring	clock-frequency = <100000>;
176724ba675SRob Herring	pinctrl-names = "default";
177724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
178724ba675SRob Herring	status = "okay";
179724ba675SRob Herring
180724ba675SRob Herring	gsc: gsc@20 {
181724ba675SRob Herring		compatible = "gw,gsc";
182724ba675SRob Herring		reg = <0x20>;
183724ba675SRob Herring		interrupt-parent = <&gpio1>;
184724ba675SRob Herring		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
185724ba675SRob Herring		interrupt-controller;
186724ba675SRob Herring		#interrupt-cells = <1>;
187724ba675SRob Herring		#size-cells = <0>;
188724ba675SRob Herring
189724ba675SRob Herring		adc {
190724ba675SRob Herring			compatible = "gw,gsc-adc";
191724ba675SRob Herring			#address-cells = <1>;
192724ba675SRob Herring			#size-cells = <0>;
193724ba675SRob Herring
194724ba675SRob Herring			channel@0 {
195724ba675SRob Herring				gw,mode = <0>;
196724ba675SRob Herring				reg = <0x00>;
197724ba675SRob Herring				label = "temp";
198724ba675SRob Herring			};
199724ba675SRob Herring
200724ba675SRob Herring			channel@2 {
201724ba675SRob Herring				gw,mode = <1>;
202724ba675SRob Herring				reg = <0x02>;
203724ba675SRob Herring				label = "vdd_vin";
204724ba675SRob Herring			};
205724ba675SRob Herring
206724ba675SRob Herring			channel@5 {
207724ba675SRob Herring				gw,mode = <1>;
208724ba675SRob Herring				reg = <0x05>;
209724ba675SRob Herring				label = "vdd_3p3";
210724ba675SRob Herring			};
211724ba675SRob Herring
212724ba675SRob Herring			channel@8 {
213724ba675SRob Herring				gw,mode = <1>;
214724ba675SRob Herring				reg = <0x08>;
215724ba675SRob Herring				label = "vdd_bat";
216724ba675SRob Herring			};
217724ba675SRob Herring
218724ba675SRob Herring			channel@b {
219724ba675SRob Herring				gw,mode = <1>;
220724ba675SRob Herring				reg = <0x0b>;
221724ba675SRob Herring				label = "vdd_5p0";
222724ba675SRob Herring			};
223724ba675SRob Herring
224724ba675SRob Herring			channel@e {
225724ba675SRob Herring				gw,mode = <1>;
226724ba675SRob Herring				reg = <0xe>;
227724ba675SRob Herring				label = "vdd_arm";
228724ba675SRob Herring			};
229724ba675SRob Herring
230724ba675SRob Herring			channel@11 {
231724ba675SRob Herring				gw,mode = <1>;
232724ba675SRob Herring				reg = <0x11>;
233724ba675SRob Herring				label = "vdd_soc";
234724ba675SRob Herring			};
235724ba675SRob Herring
236724ba675SRob Herring			channel@14 {
237724ba675SRob Herring				gw,mode = <1>;
238724ba675SRob Herring				reg = <0x14>;
239724ba675SRob Herring				label = "vdd_3p0";
240724ba675SRob Herring			};
241724ba675SRob Herring
242724ba675SRob Herring			channel@17 {
243724ba675SRob Herring				gw,mode = <1>;
244724ba675SRob Herring				reg = <0x17>;
245724ba675SRob Herring				label = "vdd_1p5";
246724ba675SRob Herring			};
247724ba675SRob Herring
248724ba675SRob Herring			channel@1d {
249724ba675SRob Herring				gw,mode = <1>;
250724ba675SRob Herring				reg = <0x1d>;
251724ba675SRob Herring				label = "vdd_1p8a";
252724ba675SRob Herring			};
253724ba675SRob Herring
254724ba675SRob Herring			channel@20 {
255724ba675SRob Herring				gw,mode = <1>;
256724ba675SRob Herring				reg = <0x20>;
257724ba675SRob Herring				label = "vdd_1p0b";
258724ba675SRob Herring			};
259724ba675SRob Herring
260724ba675SRob Herring			channel@26 {
261724ba675SRob Herring				gw,mode = <1>;
262724ba675SRob Herring				reg = <0x26>;
263724ba675SRob Herring				label = "vdd_an1";
264724ba675SRob Herring			};
265724ba675SRob Herring		};
266724ba675SRob Herring	};
267724ba675SRob Herring
268724ba675SRob Herring	gsc_gpio: gpio@23 {
269724ba675SRob Herring		compatible = "nxp,pca9555";
270724ba675SRob Herring		reg = <0x23>;
271724ba675SRob Herring		gpio-controller;
272724ba675SRob Herring		#gpio-cells = <2>;
273724ba675SRob Herring		interrupt-parent = <&gsc>;
274724ba675SRob Herring		interrupts = <4>;
275724ba675SRob Herring	};
276724ba675SRob Herring
277724ba675SRob Herring	eeprom1: eeprom@50 {
278724ba675SRob Herring		compatible = "atmel,24c02";
279724ba675SRob Herring		reg = <0x50>;
280724ba675SRob Herring		pagesize = <16>;
281724ba675SRob Herring	};
282724ba675SRob Herring
283724ba675SRob Herring	eeprom2: eeprom@51 {
284724ba675SRob Herring		compatible = "atmel,24c02";
285724ba675SRob Herring		reg = <0x51>;
286724ba675SRob Herring		pagesize = <16>;
287724ba675SRob Herring	};
288724ba675SRob Herring
289724ba675SRob Herring	eeprom3: eeprom@52 {
290724ba675SRob Herring		compatible = "atmel,24c02";
291724ba675SRob Herring		reg = <0x52>;
292724ba675SRob Herring		pagesize = <16>;
293724ba675SRob Herring	};
294724ba675SRob Herring
295724ba675SRob Herring	eeprom4: eeprom@53 {
296724ba675SRob Herring		compatible = "atmel,24c02";
297724ba675SRob Herring		reg = <0x53>;
298724ba675SRob Herring		pagesize = <16>;
299724ba675SRob Herring	};
300724ba675SRob Herring
301724ba675SRob Herring	rtc: ds1672@68 {
302724ba675SRob Herring		compatible = "dallas,ds1672";
303724ba675SRob Herring		reg = <0x68>;
304724ba675SRob Herring	};
305724ba675SRob Herring};
306724ba675SRob Herring
307724ba675SRob Herring&i2c2 {
308724ba675SRob Herring	clock-frequency = <100000>;
309724ba675SRob Herring	pinctrl-names = "default";
310724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
311724ba675SRob Herring	status = "okay";
312724ba675SRob Herring
313724ba675SRob Herring	magn@1c {
314724ba675SRob Herring		compatible = "st,lsm9ds1-magn";
315724ba675SRob Herring		reg = <0x1c>;
316724ba675SRob Herring		pinctrl-names = "default";
317724ba675SRob Herring		pinctrl-0 = <&pinctrl_mag>;
318724ba675SRob Herring		interrupt-parent = <&gpio1>;
319724ba675SRob Herring		interrupts = <2 IRQ_TYPE_EDGE_RISING>;
320724ba675SRob Herring	};
321724ba675SRob Herring
322724ba675SRob Herring	imu@6a {
323724ba675SRob Herring		compatible = "st,lsm9ds1-imu";
324724ba675SRob Herring		reg = <0x6a>;
325724ba675SRob Herring		st,drdy-int-pin = <1>;
326724ba675SRob Herring		pinctrl-names = "default";
327724ba675SRob Herring		pinctrl-0 = <&pinctrl_imu>;
328724ba675SRob Herring		interrupt-parent = <&gpio7>;
329724ba675SRob Herring		interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
330724ba675SRob Herring	};
331724ba675SRob Herring
332724ba675SRob Herring	ltc3676: pmic@3c {
333724ba675SRob Herring		compatible = "lltc,ltc3676";
334724ba675SRob Herring		reg = <0x3c>;
335724ba675SRob Herring		pinctrl-names = "default";
336724ba675SRob Herring		pinctrl-0 = <&pinctrl_pmic>;
337724ba675SRob Herring		interrupt-parent = <&gpio1>;
338724ba675SRob Herring		interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
339724ba675SRob Herring
340724ba675SRob Herring		regulators {
341724ba675SRob Herring			/* VDD_SOC (1+R1/R2 = 1.635) */
342724ba675SRob Herring			reg_vdd_soc: sw1 {
343724ba675SRob Herring				regulator-name = "vddsoc";
344724ba675SRob Herring				regulator-min-microvolt = <674400>;
345724ba675SRob Herring				regulator-max-microvolt = <1308000>;
346724ba675SRob Herring				lltc,fb-voltage-divider = <127000 200000>;
347724ba675SRob Herring				regulator-ramp-delay = <7000>;
348724ba675SRob Herring				regulator-boot-on;
349724ba675SRob Herring				regulator-always-on;
350724ba675SRob Herring			};
351724ba675SRob Herring
352724ba675SRob Herring			/* VDD_DDR (1+R1/R2 = 2.105) */
353724ba675SRob Herring			reg_vdd_ddr: sw2 {
354724ba675SRob Herring				regulator-name = "vddddr";
355724ba675SRob Herring				regulator-min-microvolt = <868310>;
356724ba675SRob Herring				regulator-max-microvolt = <1684000>;
357724ba675SRob Herring				lltc,fb-voltage-divider = <221000 200000>;
358724ba675SRob Herring				regulator-ramp-delay = <7000>;
359724ba675SRob Herring				regulator-boot-on;
360724ba675SRob Herring				regulator-always-on;
361724ba675SRob Herring			};
362724ba675SRob Herring
363724ba675SRob Herring			/* VDD_ARM (1+R1/R2 = 1.635) */
364724ba675SRob Herring			reg_vdd_arm: sw3 {
365724ba675SRob Herring				regulator-name = "vddarm";
366724ba675SRob Herring				regulator-min-microvolt = <674400>;
367724ba675SRob Herring				regulator-max-microvolt = <1308000>;
368724ba675SRob Herring				lltc,fb-voltage-divider = <127000 200000>;
369724ba675SRob Herring				regulator-ramp-delay = <7000>;
370724ba675SRob Herring				regulator-boot-on;
371724ba675SRob Herring				regulator-always-on;
372724ba675SRob Herring			};
373724ba675SRob Herring
374724ba675SRob Herring			/* VDD_3P3 (1+R1/R2 = 1.281) */
375724ba675SRob Herring			reg_3p3v: sw4 {
376724ba675SRob Herring				regulator-name = "vdd3p3";
377724ba675SRob Herring				regulator-min-microvolt = <1880000>;
378724ba675SRob Herring				regulator-max-microvolt = <3647000>;
379724ba675SRob Herring				lltc,fb-voltage-divider = <200000 56200>;
380724ba675SRob Herring				regulator-ramp-delay = <7000>;
381724ba675SRob Herring				regulator-boot-on;
382724ba675SRob Herring				regulator-always-on;
383724ba675SRob Herring			};
384724ba675SRob Herring
385724ba675SRob Herring			/* VDD_1P8a (1+R1/R2 = 2.505): Analog Video Decoder */
386724ba675SRob Herring			reg_1p8a: ldo2 {
387724ba675SRob Herring				regulator-name = "vdd1p8a";
388724ba675SRob Herring				regulator-min-microvolt = <1816125>;
389724ba675SRob Herring				regulator-max-microvolt = <1816125>;
390724ba675SRob Herring				lltc,fb-voltage-divider = <301000 200000>;
391724ba675SRob Herring				regulator-boot-on;
392724ba675SRob Herring				regulator-always-on;
393724ba675SRob Herring			};
394724ba675SRob Herring
395724ba675SRob Herring			/* VDD_1P8b: microSD VDD_1P8 */
396724ba675SRob Herring			reg_1p8b: ldo3 {
397724ba675SRob Herring				regulator-name = "vdd1p8b";
398724ba675SRob Herring				regulator-min-microvolt = <1800000>;
399724ba675SRob Herring				regulator-max-microvolt = <1800000>;
400724ba675SRob Herring				regulator-boot-on;
401724ba675SRob Herring			};
402724ba675SRob Herring
403724ba675SRob Herring			/* VDD_HIGH (1+R1/R2 = 4.17) */
404724ba675SRob Herring			reg_3p0v: ldo4 {
405724ba675SRob Herring				regulator-name = "vdd3p0";
406724ba675SRob Herring				regulator-min-microvolt = <3023250>;
407724ba675SRob Herring				regulator-max-microvolt = <3023250>;
408724ba675SRob Herring				lltc,fb-voltage-divider = <634000 200000>;
409724ba675SRob Herring				regulator-boot-on;
410724ba675SRob Herring				regulator-always-on;
411724ba675SRob Herring			};
412724ba675SRob Herring		};
413724ba675SRob Herring	};
414724ba675SRob Herring};
415724ba675SRob Herring
416724ba675SRob Herring&i2c3 {
417724ba675SRob Herring	clock-frequency = <100000>;
418724ba675SRob Herring	pinctrl-names = "default";
419724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
420724ba675SRob Herring	status = "okay";
421724ba675SRob Herring
422724ba675SRob Herring	adv7180: camera@20 {
423724ba675SRob Herring		compatible = "adi,adv7180";
424724ba675SRob Herring		pinctrl-names = "default";
425724ba675SRob Herring		pinctrl-0 = <&pinctrl_adv7180>;
426724ba675SRob Herring		reg = <0x20>;
427724ba675SRob Herring		powerdown-gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
428724ba675SRob Herring		interrupt-parent = <&gpio5>;
429724ba675SRob Herring		interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
430724ba675SRob Herring
431724ba675SRob Herring		port {
432724ba675SRob Herring			adv7180_to_ipu1_csi0_mux: endpoint {
433724ba675SRob Herring				remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
434724ba675SRob Herring				bus-width = <8>;
435724ba675SRob Herring			};
436724ba675SRob Herring		};
437724ba675SRob Herring	};
438724ba675SRob Herring};
439724ba675SRob Herring
440724ba675SRob Herring&ipu1_csi0_from_ipu1_csi0_mux {
441724ba675SRob Herring	bus-width = <8>;
442724ba675SRob Herring};
443724ba675SRob Herring
444724ba675SRob Herring&ipu1_csi0_mux_from_parallel_sensor {
445724ba675SRob Herring	remote-endpoint = <&adv7180_to_ipu1_csi0_mux>;
446724ba675SRob Herring	bus-width = <8>;
447724ba675SRob Herring};
448724ba675SRob Herring
449724ba675SRob Herring&ipu1_csi0 {
450724ba675SRob Herring	pinctrl-names = "default";
451724ba675SRob Herring	pinctrl-0 = <&pinctrl_ipu1_csi0>;
452724ba675SRob Herring};
453724ba675SRob Herring
454724ba675SRob Herring&pcie {
455724ba675SRob Herring	pinctrl-names = "default";
456724ba675SRob Herring	pinctrl-0 = <&pinctrl_pcie>;
457724ba675SRob Herring	reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>;
458724ba675SRob Herring	status = "okay";
459724ba675SRob Herring};
460724ba675SRob Herring
461724ba675SRob Herring&pwm2 {
462724ba675SRob Herring	pinctrl-names = "default";
463724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
464724ba675SRob Herring	status = "disabled";
465724ba675SRob Herring};
466724ba675SRob Herring
467724ba675SRob Herring&pwm3 {
468724ba675SRob Herring	pinctrl-names = "default";
469724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
470724ba675SRob Herring	status = "disabled";
471724ba675SRob Herring};
472724ba675SRob Herring
473724ba675SRob Herring&pwm4 {
474724ba675SRob Herring	pinctrl-names = "default";
475724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm4>; /* MX6_DIO3 */
476724ba675SRob Herring	status = "disabled";
477724ba675SRob Herring};
478724ba675SRob Herring
479724ba675SRob Herring&uart2 {
480724ba675SRob Herring	pinctrl-names = "default";
481724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
482724ba675SRob Herring	status = "okay";
483724ba675SRob Herring};
484724ba675SRob Herring
485724ba675SRob Herring&uart3 {
486724ba675SRob Herring	pinctrl-names = "default";
487724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart3>;
488724ba675SRob Herring	status = "okay";
489724ba675SRob Herring};
490724ba675SRob Herring
491724ba675SRob Herring&uart4 {
492724ba675SRob Herring	pinctrl-names = "default";
493724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart4>;
494724ba675SRob Herring	status = "okay";
495724ba675SRob Herring};
496724ba675SRob Herring
497724ba675SRob Herring&uart5 {
498724ba675SRob Herring	pinctrl-names = "default";
499724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart5>;
500724ba675SRob Herring	status = "okay";
501724ba675SRob Herring};
502724ba675SRob Herring
503724ba675SRob Herring&usbh1 {
504724ba675SRob Herring	status = "okay";
505724ba675SRob Herring};
506724ba675SRob Herring
507724ba675SRob Herring&usbotg {
508724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
509724ba675SRob Herring	pinctrl-names = "default";
510724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
511724ba675SRob Herring	disable-over-current;
512724ba675SRob Herring	status = "okay";
513724ba675SRob Herring};
514724ba675SRob Herring
515724ba675SRob Herring&usdhc3 {
516724ba675SRob Herring	pinctrl-names = "default", "state_100mhz", "state_200mhz";
517724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3>;
518724ba675SRob Herring	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
519724ba675SRob Herring	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
520724ba675SRob Herring	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
521724ba675SRob Herring	status = "okay";
522724ba675SRob Herring};
523724ba675SRob Herring
524724ba675SRob Herring&wdog1 {
525724ba675SRob Herring	pinctrl-names = "default";
526724ba675SRob Herring	pinctrl-0 = <&pinctrl_wdog>;
527724ba675SRob Herring	fsl,ext-reset-output;
528724ba675SRob Herring};
529724ba675SRob Herring
530724ba675SRob Herring&iomuxc {
531724ba675SRob Herring	pinctrl_adv7180: adv7180grp {
532724ba675SRob Herring		fsl,pins = <
533724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT5__GPIO5_IO23        0x0001b0b0
534724ba675SRob Herring			MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20     0x4001b0b0
535724ba675SRob Herring		>;
536724ba675SRob Herring	};
537724ba675SRob Herring
538724ba675SRob Herring	pinctrl_gpmi_nand: gpminandgrp {
539724ba675SRob Herring		fsl,pins = <
540724ba675SRob Herring			MX6QDL_PAD_NANDF_CLE__NAND_CLE		0xb0b1
541724ba675SRob Herring			MX6QDL_PAD_NANDF_ALE__NAND_ALE		0xb0b1
542724ba675SRob Herring			MX6QDL_PAD_NANDF_WP_B__NAND_WP_B	0xb0b1
543724ba675SRob Herring			MX6QDL_PAD_NANDF_RB0__NAND_READY_B	0xb000
544724ba675SRob Herring			MX6QDL_PAD_NANDF_CS0__NAND_CE0_B	0xb0b1
545724ba675SRob Herring			MX6QDL_PAD_SD4_CMD__NAND_RE_B		0xb0b1
546724ba675SRob Herring			MX6QDL_PAD_SD4_CLK__NAND_WE_B		0xb0b1
547724ba675SRob Herring			MX6QDL_PAD_NANDF_D0__NAND_DATA00	0xb0b1
548724ba675SRob Herring			MX6QDL_PAD_NANDF_D1__NAND_DATA01	0xb0b1
549724ba675SRob Herring			MX6QDL_PAD_NANDF_D2__NAND_DATA02	0xb0b1
550724ba675SRob Herring			MX6QDL_PAD_NANDF_D3__NAND_DATA03	0xb0b1
551724ba675SRob Herring			MX6QDL_PAD_NANDF_D4__NAND_DATA04	0xb0b1
552724ba675SRob Herring			MX6QDL_PAD_NANDF_D5__NAND_DATA05	0xb0b1
553724ba675SRob Herring			MX6QDL_PAD_NANDF_D6__NAND_DATA06	0xb0b1
554724ba675SRob Herring			MX6QDL_PAD_NANDF_D7__NAND_DATA07	0xb0b1
555724ba675SRob Herring		>;
556724ba675SRob Herring	};
557724ba675SRob Herring
558724ba675SRob Herring	pinctrl_hdmi: hdmigrp {
559724ba675SRob Herring		fsl,pins = <
560724ba675SRob Herring			MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE	0x1f8b0
561724ba675SRob Herring		>;
562724ba675SRob Herring	};
563724ba675SRob Herring
564724ba675SRob Herring	pinctrl_i2c1: i2c1grp {
565724ba675SRob Herring		fsl,pins = <
566724ba675SRob Herring			MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
567724ba675SRob Herring			MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
568724ba675SRob Herring			MX6QDL_PAD_GPIO_4__GPIO1_IO04		0xb0b1
569724ba675SRob Herring		>;
570724ba675SRob Herring	};
571724ba675SRob Herring
572724ba675SRob Herring	pinctrl_i2c2: i2c2grp {
573724ba675SRob Herring		fsl,pins = <
574724ba675SRob Herring			MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
575724ba675SRob Herring			MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
576724ba675SRob Herring		>;
577724ba675SRob Herring	};
578724ba675SRob Herring
579724ba675SRob Herring	pinctrl_i2c3: i2c3grp {
580724ba675SRob Herring		fsl,pins = <
581724ba675SRob Herring			MX6QDL_PAD_GPIO_3__I2C3_SCL		0x4001b8b1
582724ba675SRob Herring			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
583724ba675SRob Herring		>;
584724ba675SRob Herring	};
585724ba675SRob Herring
586724ba675SRob Herring	pinctrl_imu: imugrp {
587724ba675SRob Herring		fsl,pins = <
588724ba675SRob Herring			MX6QDL_PAD_GPIO_18__GPIO7_IO13		0x1b0b0
589724ba675SRob Herring		>;
590724ba675SRob Herring	};
591724ba675SRob Herring
592724ba675SRob Herring	pinctrl_ipu1_csi0: ipu1csi0grp {
593724ba675SRob Herring		fsl,pins = <
594724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12    0x1b0b0
595724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13    0x1b0b0
596724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14    0x1b0b0
597724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15    0x1b0b0
598724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16    0x1b0b0
599724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17    0x1b0b0
600724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18    0x1b0b0
601724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19    0x1b0b0
602724ba675SRob Herring			MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC      0x1b0b0
603724ba675SRob Herring			MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC     0x1b0b0
604724ba675SRob Herring			MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK   0x1b0b0
605724ba675SRob Herring		>;
606724ba675SRob Herring	};
607724ba675SRob Herring
608724ba675SRob Herring	pinctrl_gpio_leds: gpioledsgrp {
609724ba675SRob Herring		fsl,pins = <
610724ba675SRob Herring			MX6QDL_PAD_KEY_COL2__GPIO4_IO10		0x1b0b0
611724ba675SRob Herring			MX6QDL_PAD_KEY_ROW2__GPIO4_IO11		0x1b0b0
612724ba675SRob Herring		>;
613724ba675SRob Herring	};
614724ba675SRob Herring
615724ba675SRob Herring	pinctrl_mag: maggrp {
616724ba675SRob Herring		fsl,pins = <
617724ba675SRob Herring			MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x1b0b0
618724ba675SRob Herring		>;
619724ba675SRob Herring	};
620724ba675SRob Herring
621724ba675SRob Herring	pinctrl_pcie: pciegrp {
622724ba675SRob Herring		fsl,pins = <
623724ba675SRob Herring			MX6QDL_PAD_GPIO_0__GPIO1_IO00		0x1b0b0
624724ba675SRob Herring			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x4001b0b0 /* PCIESKT_WDIS# */
625724ba675SRob Herring		>;
626724ba675SRob Herring	};
627724ba675SRob Herring
628724ba675SRob Herring	pinctrl_pmic: pmicgrp {
629724ba675SRob Herring		fsl,pins = <
630724ba675SRob Herring			MX6QDL_PAD_GPIO_8__GPIO1_IO08		0x0001b0b0 /* PMIC_IRQ# */
631724ba675SRob Herring		>;
632724ba675SRob Herring	};
633724ba675SRob Herring
634724ba675SRob Herring	pinctrl_pps: ppsgrp {
635724ba675SRob Herring		fsl,pins = <
636724ba675SRob Herring			MX6QDL_PAD_ENET_RXD1__GPIO1_IO26	0x1b0b1
637724ba675SRob Herring		>;
638724ba675SRob Herring	};
639724ba675SRob Herring
640724ba675SRob Herring	pinctrl_pwm2: pwm2grp {
641724ba675SRob Herring		fsl,pins = <
642724ba675SRob Herring			MX6QDL_PAD_SD1_DAT2__PWM2_OUT		0x1b0b1
643724ba675SRob Herring		>;
644724ba675SRob Herring	};
645724ba675SRob Herring
646724ba675SRob Herring	pinctrl_pwm3: pwm3grp {
647724ba675SRob Herring		fsl,pins = <
648724ba675SRob Herring			MX6QDL_PAD_SD4_DAT1__PWM3_OUT		0x1b0b1
649724ba675SRob Herring		>;
650724ba675SRob Herring	};
651724ba675SRob Herring
652724ba675SRob Herring	pinctrl_pwm4: pwm4grp {
653724ba675SRob Herring		fsl,pins = <
654724ba675SRob Herring			MX6QDL_PAD_SD1_CMD__PWM4_OUT		0x1b0b1
655724ba675SRob Herring		>;
656724ba675SRob Herring	};
657724ba675SRob Herring
658724ba675SRob Herring	pinctrl_uart2: uart2grp {
659724ba675SRob Herring		fsl,pins = <
660724ba675SRob Herring			MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA	0x1b0b1
661724ba675SRob Herring			MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA	0x1b0b1
662724ba675SRob Herring		>;
663724ba675SRob Herring	};
664724ba675SRob Herring
665724ba675SRob Herring	pinctrl_uart3: uart3grp {
666724ba675SRob Herring		fsl,pins = <
667724ba675SRob Herring			MX6QDL_PAD_EIM_D24__UART3_TX_DATA	0x1b0b1
668724ba675SRob Herring			MX6QDL_PAD_EIM_D25__UART3_RX_DATA	0x1b0b1
669724ba675SRob Herring		>;
670724ba675SRob Herring	};
671724ba675SRob Herring
672724ba675SRob Herring	pinctrl_uart4: uart4grp {
673724ba675SRob Herring		fsl,pins = <
674724ba675SRob Herring			MX6QDL_PAD_KEY_COL0__UART4_TX_DATA	0x1b0b1
675724ba675SRob Herring			MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA	0x1b0b1
676724ba675SRob Herring		>;
677724ba675SRob Herring	};
678724ba675SRob Herring
679724ba675SRob Herring	pinctrl_uart5: uart5grp {
680724ba675SRob Herring		fsl,pins = <
681724ba675SRob Herring			MX6QDL_PAD_KEY_COL1__UART5_TX_DATA	0x1b0b1
682724ba675SRob Herring			MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA	0x1b0b1
683724ba675SRob Herring		>;
684724ba675SRob Herring	};
685724ba675SRob Herring
686724ba675SRob Herring	pinctrl_usbotg: usbotggrp {
687724ba675SRob Herring		fsl,pins = <
688724ba675SRob Herring			MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x17059
689724ba675SRob Herring			MX6QDL_PAD_EIM_D22__GPIO3_IO22		0x1b0b0 /* OTG_PWR_EN */
690724ba675SRob Herring			MX6QDL_PAD_KEY_COL4__USB_OTG_OC		0x17059
691724ba675SRob Herring		>;
692724ba675SRob Herring	};
693724ba675SRob Herring
694724ba675SRob Herring	pinctrl_usdhc3: usdhc3grp {
695724ba675SRob Herring		fsl,pins = <
696724ba675SRob Herring			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
697724ba675SRob Herring			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
698724ba675SRob Herring			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
699724ba675SRob Herring			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
700724ba675SRob Herring			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
701724ba675SRob Herring			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
702724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x17059 /* CD */
703724ba675SRob Herring			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x17059
704724ba675SRob Herring		>;
705724ba675SRob Herring	};
706724ba675SRob Herring
707*79691288SKrzysztof Kozlowski	pinctrl_usdhc3_100mhz: usdhc3-100mhz-grp {
708724ba675SRob Herring		fsl,pins = <
709724ba675SRob Herring			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170b9
710724ba675SRob Herring			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100b9
711724ba675SRob Herring			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170b9
712724ba675SRob Herring			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170b9
713724ba675SRob Herring			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170b9
714724ba675SRob Herring			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170b9
715724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x170b9 /* CD */
716724ba675SRob Herring			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x170b9
717724ba675SRob Herring		>;
718724ba675SRob Herring	};
719724ba675SRob Herring
720*79691288SKrzysztof Kozlowski	pinctrl_usdhc3_200mhz: usdhc3-200mhz-grp {
721724ba675SRob Herring		fsl,pins = <
722724ba675SRob Herring			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170f9
723724ba675SRob Herring			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100f9
724724ba675SRob Herring			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170f9
725724ba675SRob Herring			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170f9
726724ba675SRob Herring			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170f9
727724ba675SRob Herring			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170f9
728724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x170f9 /* CD */
729724ba675SRob Herring			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x170f9
730724ba675SRob Herring		>;
731724ba675SRob Herring	};
732724ba675SRob Herring
733724ba675SRob Herring	pinctrl_wdog: wdoggrp {
734724ba675SRob Herring		fsl,pins = <
735724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT8__WDOG1_B		0x1b0b0
736724ba675SRob Herring		>;
737724ba675SRob Herring	};
738724ba675SRob Herring};
739