xref: /openbmc/linux/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6x.dtsi (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 OR X11
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2013 Boundary Devices, Inc.
4724ba675SRob Herring * Copyright 2011 Freescale Semiconductor, Inc.
5724ba675SRob Herring * Copyright 2011 Linaro Ltd.
6724ba675SRob Herring */
7724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
8724ba675SRob Herring#include <dt-bindings/input/input.h>
9724ba675SRob Herring
10724ba675SRob Herring/ {
11724ba675SRob Herring	chosen {
12724ba675SRob Herring		stdout-path = &uart2;
13724ba675SRob Herring	};
14724ba675SRob Herring
15724ba675SRob Herring	memory@10000000 {
16724ba675SRob Herring		device_type = "memory";
17724ba675SRob Herring		reg = <0x10000000 0x40000000>;
18724ba675SRob Herring	};
19724ba675SRob Herring
20ec20d468SFabio Estevam	reg_2p5v: regulator-2p5v {
21724ba675SRob Herring		compatible = "regulator-fixed";
22724ba675SRob Herring		regulator-name = "2P5V";
23724ba675SRob Herring		regulator-min-microvolt = <2500000>;
24724ba675SRob Herring		regulator-max-microvolt = <2500000>;
25724ba675SRob Herring		regulator-always-on;
26724ba675SRob Herring	};
27724ba675SRob Herring
28ec20d468SFabio Estevam	reg_3p3v: regulator-3p3v {
29724ba675SRob Herring		compatible = "regulator-fixed";
30724ba675SRob Herring		regulator-name = "3P3V";
31724ba675SRob Herring		regulator-min-microvolt = <3300000>;
32724ba675SRob Herring		regulator-max-microvolt = <3300000>;
33724ba675SRob Herring		regulator-always-on;
34724ba675SRob Herring	};
35724ba675SRob Herring
36ec20d468SFabio Estevam	reg_usb_otg_vbus: regulator-usb-otg-vbus {
37724ba675SRob Herring		compatible = "regulator-fixed";
38724ba675SRob Herring		regulator-name = "usb_otg_vbus";
39724ba675SRob Herring		regulator-min-microvolt = <5000000>;
40724ba675SRob Herring		regulator-max-microvolt = <5000000>;
41724ba675SRob Herring		gpio = <&gpio3 22 0>;
42724ba675SRob Herring		enable-active-high;
43724ba675SRob Herring	};
44724ba675SRob Herring
45ec20d468SFabio Estevam	reg_can_xcvr: regulator-can-xcvr {
46724ba675SRob Herring		compatible = "regulator-fixed";
47724ba675SRob Herring		regulator-name = "CAN XCVR";
48724ba675SRob Herring		regulator-min-microvolt = <3300000>;
49724ba675SRob Herring		regulator-max-microvolt = <3300000>;
50724ba675SRob Herring		pinctrl-names = "default";
51724ba675SRob Herring		pinctrl-0 = <&pinctrl_can_xcvr>;
52724ba675SRob Herring		gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
53724ba675SRob Herring	};
54724ba675SRob Herring
55ec20d468SFabio Estevam	reg_wlan_vmmc: regulator-wlan-vmmc {
56724ba675SRob Herring		compatible = "regulator-fixed";
57724ba675SRob Herring		pinctrl-names = "default";
58724ba675SRob Herring		pinctrl-0 = <&pinctrl_wlan_vmmc>;
59724ba675SRob Herring		regulator-name = "reg_wlan_vmmc";
60724ba675SRob Herring		regulator-min-microvolt = <3300000>;
61724ba675SRob Herring		regulator-max-microvolt = <3300000>;
62724ba675SRob Herring		gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>;
63724ba675SRob Herring		startup-delay-us = <70000>;
64724ba675SRob Herring		enable-active-high;
65724ba675SRob Herring	};
66724ba675SRob Herring
67ec20d468SFabio Estevam	reg_usb_h1_vbus: regulator-usb-h1-vbus {
68724ba675SRob Herring		compatible = "regulator-fixed";
69724ba675SRob Herring		pinctrl-names = "default";
70724ba675SRob Herring		pinctrl-0 = <&pinctrl_usbh1>;
71724ba675SRob Herring		regulator-name = "usb_h1_vbus";
72724ba675SRob Herring		regulator-min-microvolt = <3300000>;
73724ba675SRob Herring		regulator-max-microvolt = <3300000>;
74724ba675SRob Herring		gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
75724ba675SRob Herring		enable-active-high;
76724ba675SRob Herring	};
77724ba675SRob Herring
78724ba675SRob Herring	gpio-keys {
79724ba675SRob Herring		compatible = "gpio-keys";
80724ba675SRob Herring		pinctrl-names = "default";
81724ba675SRob Herring		pinctrl-0 = <&pinctrl_gpio_keys>;
82724ba675SRob Herring
83724ba675SRob Herring		power {
84724ba675SRob Herring			label = "Power Button";
85724ba675SRob Herring			gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
86724ba675SRob Herring			linux,code = <KEY_POWER>;
87724ba675SRob Herring			wakeup-source;
88724ba675SRob Herring		};
89724ba675SRob Herring
90724ba675SRob Herring		menu {
91724ba675SRob Herring			label = "Menu";
92724ba675SRob Herring			gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
93724ba675SRob Herring			linux,code = <KEY_MENU>;
94724ba675SRob Herring		};
95724ba675SRob Herring
96724ba675SRob Herring		home {
97724ba675SRob Herring			label = "Home";
98724ba675SRob Herring			gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
99724ba675SRob Herring			linux,code = <KEY_HOME>;
100724ba675SRob Herring		};
101724ba675SRob Herring
102724ba675SRob Herring		back {
103724ba675SRob Herring			label = "Back";
104724ba675SRob Herring			gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
105724ba675SRob Herring			linux,code = <KEY_BACK>;
106724ba675SRob Herring		};
107724ba675SRob Herring
108724ba675SRob Herring		volume-up {
109724ba675SRob Herring			label = "Volume Up";
110724ba675SRob Herring			gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
111724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
112724ba675SRob Herring		};
113724ba675SRob Herring
114724ba675SRob Herring		volume-down {
115724ba675SRob Herring			label = "Volume Down";
116724ba675SRob Herring			gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
117724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
118724ba675SRob Herring		};
119724ba675SRob Herring	};
120724ba675SRob Herring
121724ba675SRob Herring	sound {
122724ba675SRob Herring		compatible = "fsl,imx6q-nitrogen6x-sgtl5000",
123724ba675SRob Herring			     "fsl,imx-audio-sgtl5000";
124724ba675SRob Herring		model = "imx6q-nitrogen6x-sgtl5000";
125724ba675SRob Herring		ssi-controller = <&ssi1>;
126724ba675SRob Herring		audio-codec = <&codec>;
127724ba675SRob Herring		audio-routing =
128724ba675SRob Herring			"MIC_IN", "Mic Jack",
129724ba675SRob Herring			"Mic Jack", "Mic Bias",
130724ba675SRob Herring			"Headphone Jack", "HP_OUT";
131724ba675SRob Herring		mux-int-port = <1>;
132724ba675SRob Herring		mux-ext-port = <3>;
133724ba675SRob Herring	};
134724ba675SRob Herring
135724ba675SRob Herring	backlight_lcd: backlight-lcd {
136724ba675SRob Herring		compatible = "pwm-backlight";
137724ba675SRob Herring		pwms = <&pwm1 0 5000000>;
138724ba675SRob Herring		brightness-levels = <0 4 8 16 32 64 128 255>;
139724ba675SRob Herring		default-brightness-level = <7>;
140724ba675SRob Herring		power-supply = <&reg_3p3v>;
141724ba675SRob Herring		status = "okay";
142724ba675SRob Herring	};
143724ba675SRob Herring
144724ba675SRob Herring	backlight_lvds: backlight-lvds {
145724ba675SRob Herring		compatible = "pwm-backlight";
146724ba675SRob Herring		pwms = <&pwm4 0 5000000>;
147724ba675SRob Herring		brightness-levels = <0 4 8 16 32 64 128 255>;
148724ba675SRob Herring		default-brightness-level = <7>;
149724ba675SRob Herring		power-supply = <&reg_3p3v>;
150724ba675SRob Herring		status = "okay";
151724ba675SRob Herring	};
152724ba675SRob Herring
153724ba675SRob Herring	lcd_display: disp0 {
154724ba675SRob Herring		compatible = "fsl,imx-parallel-display";
155724ba675SRob Herring		#address-cells = <1>;
156724ba675SRob Herring		#size-cells = <0>;
157724ba675SRob Herring		interface-pix-fmt = "bgr666";
158724ba675SRob Herring		pinctrl-names = "default";
159724ba675SRob Herring		pinctrl-0 = <&pinctrl_j15>;
160724ba675SRob Herring		status = "okay";
161724ba675SRob Herring
162724ba675SRob Herring		port@0 {
163724ba675SRob Herring			reg = <0>;
164724ba675SRob Herring
165724ba675SRob Herring			lcd_display_in: endpoint {
166724ba675SRob Herring				remote-endpoint = <&ipu1_di0_disp0>;
167724ba675SRob Herring			};
168724ba675SRob Herring		};
169724ba675SRob Herring
170724ba675SRob Herring		port@1 {
171724ba675SRob Herring			reg = <1>;
172724ba675SRob Herring
173724ba675SRob Herring			lcd_display_out: endpoint {
174724ba675SRob Herring				remote-endpoint = <&lcd_panel_in>;
175724ba675SRob Herring			};
176724ba675SRob Herring		};
177724ba675SRob Herring	};
178724ba675SRob Herring
179724ba675SRob Herring	panel-lcd {
180724ba675SRob Herring		compatible = "okaya,rs800480t-7x0gp";
181724ba675SRob Herring		backlight = <&backlight_lcd>;
182724ba675SRob Herring
183724ba675SRob Herring		port {
184724ba675SRob Herring			lcd_panel_in: endpoint {
185724ba675SRob Herring				remote-endpoint = <&lcd_display_out>;
186724ba675SRob Herring			};
187724ba675SRob Herring		};
188724ba675SRob Herring	};
189724ba675SRob Herring
190724ba675SRob Herring	panel-lvds0 {
191724ba675SRob Herring		compatible = "hannstar,hsd100pxn1";
192724ba675SRob Herring		backlight = <&backlight_lvds>;
193724ba675SRob Herring
194724ba675SRob Herring		port {
195724ba675SRob Herring			panel_in: endpoint {
196724ba675SRob Herring				remote-endpoint = <&lvds0_out>;
197724ba675SRob Herring			};
198724ba675SRob Herring		};
199724ba675SRob Herring	};
200724ba675SRob Herring};
201724ba675SRob Herring
202724ba675SRob Herring&audmux {
203724ba675SRob Herring	pinctrl-names = "default";
204724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
205724ba675SRob Herring	status = "okay";
206724ba675SRob Herring};
207724ba675SRob Herring
208724ba675SRob Herring&can1 {
209724ba675SRob Herring	pinctrl-names = "default";
210724ba675SRob Herring	pinctrl-0 = <&pinctrl_can1>;
211724ba675SRob Herring	xceiver-supply = <&reg_can_xcvr>;
212724ba675SRob Herring	status = "okay";
213724ba675SRob Herring};
214724ba675SRob Herring
215724ba675SRob Herring&clks {
216724ba675SRob Herring	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
217724ba675SRob Herring			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
218724ba675SRob Herring	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
219724ba675SRob Herring				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
220724ba675SRob Herring};
221724ba675SRob Herring
222724ba675SRob Herring&ecspi1 {
223724ba675SRob Herring	cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
224724ba675SRob Herring	pinctrl-names = "default";
225724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi1>;
226724ba675SRob Herring	status = "okay";
227724ba675SRob Herring
228724ba675SRob Herring	flash: flash@0 {
229724ba675SRob Herring		compatible = "sst,sst25vf016b", "jedec,spi-nor";
230724ba675SRob Herring		spi-max-frequency = <20000000>;
231724ba675SRob Herring		reg = <0>;
232724ba675SRob Herring		#address-cells = <1>;
233724ba675SRob Herring		#size-cells = <1>;
234724ba675SRob Herring
235724ba675SRob Herring		partition@0 {
236724ba675SRob Herring			label = "bootloader";
237724ba675SRob Herring			reg = <0x0 0xc0000>;
238724ba675SRob Herring		};
239724ba675SRob Herring
240724ba675SRob Herring		partition@c0000 {
241724ba675SRob Herring			label = "env";
242724ba675SRob Herring			reg = <0xc0000 0x2000>;
243724ba675SRob Herring		};
244724ba675SRob Herring
245724ba675SRob Herring		partition@c2000 {
246724ba675SRob Herring			label = "splash";
247724ba675SRob Herring			reg = <0xc2000 0x13e000>;
248724ba675SRob Herring		};
249724ba675SRob Herring	};
250724ba675SRob Herring};
251724ba675SRob Herring
252724ba675SRob Herring&fec {
253724ba675SRob Herring	pinctrl-names = "default";
254724ba675SRob Herring	pinctrl-0 = <&pinctrl_enet>;
255724ba675SRob Herring	phy-mode = "rgmii";
256724ba675SRob Herring	phy-handle = <&ethphy>;
257724ba675SRob Herring	phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
258724ba675SRob Herring	/delete-property/ interrupts;
259724ba675SRob Herring	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
260724ba675SRob Herring			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
261724ba675SRob Herring	fsl,err006687-workaround-present;
262724ba675SRob Herring	status = "okay";
263724ba675SRob Herring
264724ba675SRob Herring	mdio {
265724ba675SRob Herring		#address-cells = <1>;
266724ba675SRob Herring		#size-cells = <0>;
267724ba675SRob Herring
268724ba675SRob Herring		ethphy: ethernet-phy {
269724ba675SRob Herring			compatible = "ethernet-phy-ieee802.3-c22";
270724ba675SRob Herring			txen-skew-ps = <0>;
271724ba675SRob Herring			txc-skew-ps = <3000>;
272724ba675SRob Herring			rxdv-skew-ps = <0>;
273724ba675SRob Herring			rxc-skew-ps = <3000>;
274724ba675SRob Herring			rxd0-skew-ps = <0>;
275724ba675SRob Herring			rxd1-skew-ps = <0>;
276724ba675SRob Herring			rxd2-skew-ps = <0>;
277724ba675SRob Herring			rxd3-skew-ps = <0>;
278724ba675SRob Herring			txd0-skew-ps = <0>;
279724ba675SRob Herring			txd1-skew-ps = <0>;
280724ba675SRob Herring			txd2-skew-ps = <0>;
281724ba675SRob Herring			txd3-skew-ps = <0>;
282724ba675SRob Herring		};
283724ba675SRob Herring	};
284724ba675SRob Herring};
285724ba675SRob Herring
286724ba675SRob Herring&hdmi {
287724ba675SRob Herring	ddc-i2c-bus = <&i2c2>;
288724ba675SRob Herring	status = "okay";
289724ba675SRob Herring};
290724ba675SRob Herring
291724ba675SRob Herring&i2c1 {
292724ba675SRob Herring	clock-frequency = <100000>;
293724ba675SRob Herring	pinctrl-names = "default";
294724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
295724ba675SRob Herring	status = "okay";
296724ba675SRob Herring
297724ba675SRob Herring	codec: sgtl5000@a {
298724ba675SRob Herring		compatible = "fsl,sgtl5000";
299724ba675SRob Herring		reg = <0x0a>;
300*d54bcc3aSFabio Estevam		#sound-dai-cells = <0>;
301724ba675SRob Herring		clocks = <&clks IMX6QDL_CLK_CKO>;
302724ba675SRob Herring		VDDA-supply = <&reg_2p5v>;
303724ba675SRob Herring		VDDIO-supply = <&reg_3p3v>;
304724ba675SRob Herring	};
305724ba675SRob Herring
306724ba675SRob Herring	rtc: rtc@6f {
307724ba675SRob Herring		compatible = "isil,isl1208";
308724ba675SRob Herring		reg = <0x6f>;
309724ba675SRob Herring	};
310724ba675SRob Herring};
311724ba675SRob Herring
312724ba675SRob Herring&i2c2 {
313724ba675SRob Herring	clock-frequency = <100000>;
314724ba675SRob Herring	pinctrl-names = "default";
315724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
316724ba675SRob Herring	status = "okay";
317724ba675SRob Herring};
318724ba675SRob Herring
319724ba675SRob Herring&i2c3 {
320724ba675SRob Herring	clock-frequency = <100000>;
321724ba675SRob Herring	pinctrl-names = "default";
322724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
323724ba675SRob Herring	status = "okay";
324724ba675SRob Herring
325724ba675SRob Herring	touchscreen@4 {
326724ba675SRob Herring		compatible = "eeti,egalax_ts";
327724ba675SRob Herring		reg = <0x04>;
328724ba675SRob Herring		interrupt-parent = <&gpio1>;
329724ba675SRob Herring		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
330724ba675SRob Herring		wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
331724ba675SRob Herring	};
332724ba675SRob Herring
333724ba675SRob Herring	touchscreen@38 {
334724ba675SRob Herring		compatible = "edt,edt-ft5x06";
335724ba675SRob Herring		reg = <0x38>;
336724ba675SRob Herring		interrupt-parent = <&gpio1>;
337724ba675SRob Herring		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
338724ba675SRob Herring		wakeup-source;
339724ba675SRob Herring	};
340724ba675SRob Herring};
341724ba675SRob Herring
342724ba675SRob Herring&iomuxc {
343724ba675SRob Herring	pinctrl-names = "default";
344724ba675SRob Herring	pinctrl-0 = <&pinctrl_hog>;
345724ba675SRob Herring
346724ba675SRob Herring	imx6q-nitrogen6x {
347724ba675SRob Herring		pinctrl_hog: hoggrp {
348724ba675SRob Herring			fsl,pins = <
349724ba675SRob Herring				/* SGTL5000 sys_mclk */
350724ba675SRob Herring				MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x030b0
351724ba675SRob Herring				MX6QDL_PAD_GPIO_9__GPIO1_IO09	0x1b0b0
352724ba675SRob Herring			>;
353724ba675SRob Herring		};
354724ba675SRob Herring
355724ba675SRob Herring		pinctrl_audmux: audmuxgrp {
356724ba675SRob Herring			fsl,pins = <
357724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT7__AUD3_RXD		0x130b0
358724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT4__AUD3_TXC		0x130b0
359724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT5__AUD3_TXD		0x110b0
360724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS		0x130b0
361724ba675SRob Herring			>;
362724ba675SRob Herring		};
363724ba675SRob Herring
364724ba675SRob Herring		pinctrl_can1: can1grp {
365724ba675SRob Herring			fsl,pins = <
366724ba675SRob Herring				MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX	0x1b0b0
367724ba675SRob Herring				MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x1b0b0
368724ba675SRob Herring			>;
369724ba675SRob Herring		};
370724ba675SRob Herring
371724ba675SRob Herring		pinctrl_can_xcvr: can-xcvrgrp {
372724ba675SRob Herring			fsl,pins = <
373724ba675SRob Herring				/* Flexcan XCVR enable */
374724ba675SRob Herring				MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x1b0b0
375724ba675SRob Herring			>;
376724ba675SRob Herring		};
377724ba675SRob Herring
378724ba675SRob Herring		pinctrl_ecspi1: ecspi1grp {
379724ba675SRob Herring			fsl,pins = <
380724ba675SRob Herring				MX6QDL_PAD_EIM_D17__ECSPI1_MISO		0x100b1
381724ba675SRob Herring				MX6QDL_PAD_EIM_D18__ECSPI1_MOSI		0x100b1
382724ba675SRob Herring				MX6QDL_PAD_EIM_D16__ECSPI1_SCLK		0x100b1
383724ba675SRob Herring				MX6QDL_PAD_EIM_D19__GPIO3_IO19  0x000b1	/* CS */
384724ba675SRob Herring			>;
385724ba675SRob Herring		};
386724ba675SRob Herring
387724ba675SRob Herring		pinctrl_enet: enetgrp {
388724ba675SRob Herring			fsl,pins = <
389724ba675SRob Herring				MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x100b0
390724ba675SRob Herring				MX6QDL_PAD_ENET_MDC__ENET_MDC		0x100b0
391724ba675SRob Herring				MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x10030
392724ba675SRob Herring				MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x10030
393724ba675SRob Herring				MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x10030
394724ba675SRob Herring				MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x10030
395724ba675SRob Herring				MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x10030
396724ba675SRob Herring				MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x10030
397724ba675SRob Herring				MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x100b0
398724ba675SRob Herring				MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
399724ba675SRob Herring				MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
400724ba675SRob Herring				MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
401724ba675SRob Herring				MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
402724ba675SRob Herring				MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
403724ba675SRob Herring				MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
404724ba675SRob Herring				/* Phy reset */
405724ba675SRob Herring				MX6QDL_PAD_ENET_RXD0__GPIO1_IO27	0x000b0
406724ba675SRob Herring				MX6QDL_PAD_GPIO_6__ENET_IRQ		0x000b1
407724ba675SRob Herring			>;
408724ba675SRob Herring		};
409724ba675SRob Herring
410724ba675SRob Herring		pinctrl_gpio_keys: gpio-keysgrp {
411724ba675SRob Herring			fsl,pins = <
412724ba675SRob Herring				/* Power Button */
413724ba675SRob Herring				MX6QDL_PAD_NANDF_D3__GPIO2_IO03		0x1b0b0
414724ba675SRob Herring				/* Menu Button */
415724ba675SRob Herring				MX6QDL_PAD_NANDF_D1__GPIO2_IO01		0x1b0b0
416724ba675SRob Herring				/* Home Button */
417724ba675SRob Herring				MX6QDL_PAD_NANDF_D4__GPIO2_IO04		0x1b0b0
418724ba675SRob Herring				/* Back Button */
419724ba675SRob Herring				MX6QDL_PAD_NANDF_D2__GPIO2_IO02		0x1b0b0
420724ba675SRob Herring				/* Volume Up Button */
421724ba675SRob Herring				MX6QDL_PAD_GPIO_18__GPIO7_IO13		0x1b0b0
422724ba675SRob Herring				/* Volume Down Button */
423724ba675SRob Herring				MX6QDL_PAD_GPIO_19__GPIO4_IO05		0x1b0b0
424724ba675SRob Herring			>;
425724ba675SRob Herring		};
426724ba675SRob Herring
427724ba675SRob Herring		pinctrl_i2c1: i2c1grp {
428724ba675SRob Herring			fsl,pins = <
429724ba675SRob Herring				MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
430724ba675SRob Herring				MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
431724ba675SRob Herring			>;
432724ba675SRob Herring		};
433724ba675SRob Herring
434724ba675SRob Herring		pinctrl_i2c2: i2c2grp {
435724ba675SRob Herring			fsl,pins = <
436724ba675SRob Herring				MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
437724ba675SRob Herring				MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
438724ba675SRob Herring			>;
439724ba675SRob Herring		};
440724ba675SRob Herring
441724ba675SRob Herring		pinctrl_i2c3: i2c3grp {
442724ba675SRob Herring			fsl,pins = <
443724ba675SRob Herring				MX6QDL_PAD_GPIO_5__I2C3_SCL		0x4001b8b1
444724ba675SRob Herring				MX6QDL_PAD_GPIO_16__I2C3_SDA		0x4001b8b1
445724ba675SRob Herring			>;
446724ba675SRob Herring		};
447724ba675SRob Herring
448724ba675SRob Herring		pinctrl_j15: j15grp {
449724ba675SRob Herring			fsl,pins = <
450724ba675SRob Herring				MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
451724ba675SRob Herring				MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15       0x10
452724ba675SRob Herring				MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02        0x10
453724ba675SRob Herring				MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03        0x10
454724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00   0x10
455724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01   0x10
456724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02   0x10
457724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03   0x10
458724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04   0x10
459724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05   0x10
460724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06   0x10
461724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07   0x10
462724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08   0x10
463724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09   0x10
464724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10  0x10
465724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11  0x10
466724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12  0x10
467724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13  0x10
468724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14  0x10
469724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15  0x10
470724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16  0x10
471724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17  0x10
472724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18  0x10
473724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19  0x10
474724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20  0x10
475724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21  0x10
476724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22  0x10
477724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23  0x10
478724ba675SRob Herring			>;
479724ba675SRob Herring		};
480724ba675SRob Herring
481724ba675SRob Herring		pinctrl_pwm1: pwm1grp {
482724ba675SRob Herring			fsl,pins = <
483724ba675SRob Herring				MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1
484724ba675SRob Herring			>;
485724ba675SRob Herring		};
486724ba675SRob Herring
487724ba675SRob Herring		pinctrl_pwm3: pwm3grp {
488724ba675SRob Herring			fsl,pins = <
489724ba675SRob Herring				MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
490724ba675SRob Herring			>;
491724ba675SRob Herring		};
492724ba675SRob Herring
493724ba675SRob Herring		pinctrl_pwm4: pwm4grp {
494724ba675SRob Herring			fsl,pins = <
495724ba675SRob Herring				MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
496724ba675SRob Herring			>;
497724ba675SRob Herring		};
498724ba675SRob Herring
499724ba675SRob Herring		pinctrl_uart1: uart1grp {
500724ba675SRob Herring			fsl,pins = <
501724ba675SRob Herring				MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA	0x1b0b1
502724ba675SRob Herring				MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA	0x1b0b1
503724ba675SRob Herring			>;
504724ba675SRob Herring		};
505724ba675SRob Herring
506724ba675SRob Herring		pinctrl_uart2: uart2grp {
507724ba675SRob Herring			fsl,pins = <
508724ba675SRob Herring				MX6QDL_PAD_EIM_D26__UART2_TX_DATA	0x1b0b1
509724ba675SRob Herring				MX6QDL_PAD_EIM_D27__UART2_RX_DATA	0x1b0b1
510724ba675SRob Herring			>;
511724ba675SRob Herring		};
512724ba675SRob Herring
513724ba675SRob Herring		pinctrl_usbh1: usbh1grp {
514724ba675SRob Herring			fsl,pins = <
515724ba675SRob Herring				MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x030b0
516724ba675SRob Herring			>;
517724ba675SRob Herring		};
518724ba675SRob Herring
519724ba675SRob Herring		pinctrl_usbotg: usbotggrp {
520724ba675SRob Herring			fsl,pins = <
521724ba675SRob Herring				MX6QDL_PAD_GPIO_1__USB_OTG_ID	0x17059
522724ba675SRob Herring				MX6QDL_PAD_KEY_COL4__USB_OTG_OC	0x1b0b0
523724ba675SRob Herring				/* power enable, high active */
524724ba675SRob Herring				MX6QDL_PAD_EIM_D22__GPIO3_IO22  0x000b0
525724ba675SRob Herring			>;
526724ba675SRob Herring		};
527724ba675SRob Herring
528724ba675SRob Herring		pinctrl_usdhc2: usdhc2grp {
529724ba675SRob Herring			fsl,pins = <
530724ba675SRob Herring				MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17071
531724ba675SRob Herring				MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10071
532724ba675SRob Herring				MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17071
533724ba675SRob Herring				MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17071
534724ba675SRob Herring				MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17071
535724ba675SRob Herring				MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17071
536724ba675SRob Herring			>;
537724ba675SRob Herring		};
538724ba675SRob Herring
539724ba675SRob Herring		pinctrl_usdhc3: usdhc3grp {
540724ba675SRob Herring			fsl,pins = <
541724ba675SRob Herring				MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
542724ba675SRob Herring				MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
543724ba675SRob Herring				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
544724ba675SRob Herring				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
545724ba675SRob Herring				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
546724ba675SRob Herring				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
547724ba675SRob Herring				MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0	/* CD */
548724ba675SRob Herring			>;
549724ba675SRob Herring		};
550724ba675SRob Herring
551724ba675SRob Herring		pinctrl_usdhc4: usdhc4grp {
552724ba675SRob Herring			fsl,pins = <
553724ba675SRob Herring				MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
554724ba675SRob Herring				MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
555724ba675SRob Herring				MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
556724ba675SRob Herring				MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
557724ba675SRob Herring				MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
558724ba675SRob Herring				MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
559724ba675SRob Herring				MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0	/* CD */
560724ba675SRob Herring			>;
561724ba675SRob Herring		};
562724ba675SRob Herring
563724ba675SRob Herring		pinctrl_wlan_vmmc: wlan-vmmcgrp {
564724ba675SRob Herring			fsl,pins = <
565724ba675SRob Herring				MX6QDL_PAD_NANDF_CS0__GPIO6_IO11	0x100b0
566724ba675SRob Herring				MX6QDL_PAD_NANDF_CS2__GPIO6_IO15	0x000b0
567724ba675SRob Herring				MX6QDL_PAD_NANDF_CS3__GPIO6_IO16	0x000b0
568724ba675SRob Herring				MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT	0x000b0
569724ba675SRob Herring			>;
570724ba675SRob Herring		};
571724ba675SRob Herring	};
572724ba675SRob Herring};
573724ba675SRob Herring
574724ba675SRob Herring&ipu1_di0_disp0 {
575724ba675SRob Herring	remote-endpoint = <&lcd_display_in>;
576724ba675SRob Herring};
577724ba675SRob Herring
578724ba675SRob Herring&ldb {
579724ba675SRob Herring	status = "okay";
580724ba675SRob Herring
581724ba675SRob Herring	lvds-channel@0 {
582724ba675SRob Herring		status = "okay";
583724ba675SRob Herring
584724ba675SRob Herring		port@4 {
585724ba675SRob Herring			reg = <4>;
586724ba675SRob Herring
587724ba675SRob Herring			lvds0_out: endpoint {
588724ba675SRob Herring				remote-endpoint = <&panel_in>;
589724ba675SRob Herring			};
590724ba675SRob Herring		};
591724ba675SRob Herring	};
592724ba675SRob Herring};
593724ba675SRob Herring
594724ba675SRob Herring&pcie {
595724ba675SRob Herring	status = "okay";
596724ba675SRob Herring};
597724ba675SRob Herring
598724ba675SRob Herring&pwm1 {
599724ba675SRob Herring	#pwm-cells = <2>;
600724ba675SRob Herring	pinctrl-names = "default";
601724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm1>;
602724ba675SRob Herring	status = "okay";
603724ba675SRob Herring};
604724ba675SRob Herring
605724ba675SRob Herring&pwm3 {
606724ba675SRob Herring	pinctrl-names = "default";
607724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm3>;
608724ba675SRob Herring	status = "okay";
609724ba675SRob Herring};
610724ba675SRob Herring
611724ba675SRob Herring&pwm4 {
612724ba675SRob Herring	#pwm-cells = <2>;
613724ba675SRob Herring	pinctrl-names = "default";
614724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm4>;
615724ba675SRob Herring	status = "okay";
616724ba675SRob Herring};
617724ba675SRob Herring
618724ba675SRob Herring&ssi1 {
619724ba675SRob Herring	status = "okay";
620724ba675SRob Herring};
621724ba675SRob Herring
622724ba675SRob Herring&uart1 {
623724ba675SRob Herring	pinctrl-names = "default";
624724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
625724ba675SRob Herring	status = "okay";
626724ba675SRob Herring};
627724ba675SRob Herring
628724ba675SRob Herring&uart2 {
629724ba675SRob Herring	pinctrl-names = "default";
630724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
631724ba675SRob Herring	status = "okay";
632724ba675SRob Herring};
633724ba675SRob Herring
634724ba675SRob Herring&usbh1 {
635724ba675SRob Herring	vbus-supply = <&reg_usb_h1_vbus>;
636724ba675SRob Herring	status = "okay";
637724ba675SRob Herring};
638724ba675SRob Herring
639724ba675SRob Herring&usbotg {
640724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
641724ba675SRob Herring	pinctrl-names = "default";
642724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
643724ba675SRob Herring	disable-over-current;
644724ba675SRob Herring	status = "okay";
645724ba675SRob Herring};
646724ba675SRob Herring
647724ba675SRob Herring&usdhc2 {
648724ba675SRob Herring	pinctrl-names = "default";
649724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc2>;
650724ba675SRob Herring	bus-width = <4>;
651724ba675SRob Herring	non-removable;
652724ba675SRob Herring	vmmc-supply = <&reg_wlan_vmmc>;
653724ba675SRob Herring	cap-power-off-card;
654724ba675SRob Herring	keep-power-in-suspend;
655724ba675SRob Herring	status = "okay";
656724ba675SRob Herring
657724ba675SRob Herring	#address-cells = <1>;
658724ba675SRob Herring	#size-cells = <0>;
659724ba675SRob Herring	wlcore: wlcore@2 {
660724ba675SRob Herring		compatible = "ti,wl1271";
661724ba675SRob Herring		reg = <2>;
662724ba675SRob Herring		interrupt-parent = <&gpio6>;
663724ba675SRob Herring		interrupts = <14 IRQ_TYPE_LEVEL_HIGH>;
664724ba675SRob Herring		ref-clock-frequency = <38400000>;
665724ba675SRob Herring	};
666724ba675SRob Herring};
667724ba675SRob Herring
668724ba675SRob Herring&usdhc3 {
669724ba675SRob Herring	pinctrl-names = "default";
670724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3>;
671724ba675SRob Herring	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
672724ba675SRob Herring	vmmc-supply = <&reg_3p3v>;
673724ba675SRob Herring	status = "okay";
674724ba675SRob Herring};
675724ba675SRob Herring
676724ba675SRob Herring&usdhc4 {
677724ba675SRob Herring	pinctrl-names = "default";
678724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc4>;
679724ba675SRob Herring	cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
680724ba675SRob Herring	vmmc-supply = <&reg_3p3v>;
681724ba675SRob Herring	status = "okay";
682724ba675SRob Herring};
683