xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6q-cm-fx6.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot/*
2f126890aSEmmanuel Vadot * Copyright 2013 CompuLab Ltd.
3f126890aSEmmanuel Vadot *
4f126890aSEmmanuel Vadot * Author: Valentin Raevsky <valentin@compulab.co.il>
5f126890aSEmmanuel Vadot *
6f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms
7f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual
8f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a
9f126890aSEmmanuel Vadot * whole.
10f126890aSEmmanuel Vadot *
11f126890aSEmmanuel Vadot *  a) This file is free software; you can redistribute it and/or
12f126890aSEmmanuel Vadot *     modify it under the terms of the GNU General Public License
13f126890aSEmmanuel Vadot *     version 2 as published by the Free Software Foundation.
14f126890aSEmmanuel Vadot *
15f126890aSEmmanuel Vadot *     This file is distributed in the hope that it will be useful,
16f126890aSEmmanuel Vadot *     but WITHOUT ANY WARRANTY; without even the implied warranty of
17f126890aSEmmanuel Vadot *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18f126890aSEmmanuel Vadot *     GNU General Public License for more details.
19f126890aSEmmanuel Vadot *
20f126890aSEmmanuel Vadot * Or, alternatively,
21f126890aSEmmanuel Vadot *
22f126890aSEmmanuel Vadot *  b) Permission is hereby granted, free of charge, to any person
23f126890aSEmmanuel Vadot *     obtaining a copy of this software and associated documentation
24f126890aSEmmanuel Vadot *     files (the "Software"), to deal in the Software without
25f126890aSEmmanuel Vadot *     restriction, including without limitation the rights to use,
26f126890aSEmmanuel Vadot *     copy, modify, merge, publish, distribute, sublicense, and/or
27f126890aSEmmanuel Vadot *     sell copies of the Software, and to permit persons to whom the
28f126890aSEmmanuel Vadot *     Software is furnished to do so, subject to the following
29f126890aSEmmanuel Vadot *     conditions:
30f126890aSEmmanuel Vadot *
31f126890aSEmmanuel Vadot *     The above copyright notice and this permission notice shall be
32f126890aSEmmanuel Vadot *     included in all copies or substantial portions of the Software.
33f126890aSEmmanuel Vadot *
34f126890aSEmmanuel Vadot *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35f126890aSEmmanuel Vadot *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36f126890aSEmmanuel Vadot *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37f126890aSEmmanuel Vadot *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38f126890aSEmmanuel Vadot *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39f126890aSEmmanuel Vadot *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40f126890aSEmmanuel Vadot *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41f126890aSEmmanuel Vadot *     OTHER DEALINGS IN THE SOFTWARE.
42f126890aSEmmanuel Vadot */
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot/dts-v1/;
45f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
46f126890aSEmmanuel Vadot#include <dt-bindings/sound/fsl-imx-audmux.h>
47f126890aSEmmanuel Vadot#include "imx6q.dtsi"
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot/ {
50f126890aSEmmanuel Vadot	model = "CompuLab CM-FX6";
51f126890aSEmmanuel Vadot	compatible = "compulab,cm-fx6", "fsl,imx6q";
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot	memory@10000000 {
54f126890aSEmmanuel Vadot		device_type = "memory";
55f126890aSEmmanuel Vadot		reg = <0x10000000 0x80000000>;
56f126890aSEmmanuel Vadot	};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot	leds {
59f126890aSEmmanuel Vadot		compatible = "gpio-leds";
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		heartbeat-led {
62f126890aSEmmanuel Vadot			label = "Heartbeat";
63f126890aSEmmanuel Vadot			gpios = <&gpio2 31 0>;
64f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
65f126890aSEmmanuel Vadot		};
66f126890aSEmmanuel Vadot	};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot	awnh387_pwrseq: pwrseq {
69f126890aSEmmanuel Vadot		pinctrl-names = "default";
70f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pwrseq>;
71f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-sd8787";
72f126890aSEmmanuel Vadot		powerdown-gpios = <&gpio7 12 GPIO_ACTIVE_HIGH>;
73f126890aSEmmanuel Vadot		reset-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;
74f126890aSEmmanuel Vadot	};
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot	reg_pcie_power_on_gpio: regulator-pcie-power-on-gpio {
77f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
78f126890aSEmmanuel Vadot		regulator-name = "regulator-pcie-power-on-gpio";
79f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
80f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
81f126890aSEmmanuel Vadot		gpio = <&gpio2 24 GPIO_ACTIVE_LOW>;
82f126890aSEmmanuel Vadot	};
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot	reg_usb_h1_vbus: usb_h1_vbus {
85f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
86f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
87f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
88f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
89f126890aSEmmanuel Vadot		gpio = <&gpio7 8 GPIO_ACTIVE_HIGH>;
90f126890aSEmmanuel Vadot		enable-active-high;
91f126890aSEmmanuel Vadot	};
92f126890aSEmmanuel Vadot
93f126890aSEmmanuel Vadot	reg_usb_otg_vbus: usb_otg_vbus {
94f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
95f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
96f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
97f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
98f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
99f126890aSEmmanuel Vadot		enable-active-high;
100f126890aSEmmanuel Vadot	};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot	sound-analog {
103f126890aSEmmanuel Vadot		compatible = "simple-audio-card";
104f126890aSEmmanuel Vadot		simple-audio-card,name = "On-board analog audio";
105f126890aSEmmanuel Vadot		simple-audio-card,widgets =
106f126890aSEmmanuel Vadot			"Headphone", "Headphone Jack",
107f126890aSEmmanuel Vadot			"Line", "Line Out",
108f126890aSEmmanuel Vadot			"Microphone", "Mic Jack",
109f126890aSEmmanuel Vadot			"Line", "Line In";
110f126890aSEmmanuel Vadot		simple-audio-card,routing =
111f126890aSEmmanuel Vadot			"Headphone Jack", "RHPOUT",
112f126890aSEmmanuel Vadot			"Headphone Jack", "LHPOUT",
113f126890aSEmmanuel Vadot			"MICIN", "Mic Bias",
114f126890aSEmmanuel Vadot			"Mic Bias", "Mic Jack";
115f126890aSEmmanuel Vadot		simple-audio-card,format = "i2s";
116f126890aSEmmanuel Vadot		simple-audio-card,bitclock-master = <&sound_master>;
117f126890aSEmmanuel Vadot		simple-audio-card,frame-master = <&sound_master>;
118f126890aSEmmanuel Vadot		simple-audio-card,bitclock-inversion;
119f126890aSEmmanuel Vadot
120f126890aSEmmanuel Vadot		sound_master: simple-audio-card,cpu {
121f126890aSEmmanuel Vadot			sound-dai = <&ssi2>;
122f126890aSEmmanuel Vadot			system-clock-frequency = <2822400>;
123f126890aSEmmanuel Vadot		};
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot		simple-audio-card,codec {
126f126890aSEmmanuel Vadot			sound-dai = <&wm8731>;
127f126890aSEmmanuel Vadot		};
128f126890aSEmmanuel Vadot	};
129f126890aSEmmanuel Vadot
130*b2d2a78aSEmmanuel Vadot	spdif_out: spdif-out {
131*b2d2a78aSEmmanuel Vadot		compatible = "linux,spdif-dit";
132*b2d2a78aSEmmanuel Vadot		#sound-dai-cells = <0>;
133*b2d2a78aSEmmanuel Vadot	};
134*b2d2a78aSEmmanuel Vadot
135*b2d2a78aSEmmanuel Vadot	spdif_in: spdif-in {
136*b2d2a78aSEmmanuel Vadot		compatible = "linux,spdif-dir";
137*b2d2a78aSEmmanuel Vadot		#sound-dai-cells = <0>;
138*b2d2a78aSEmmanuel Vadot	};
139*b2d2a78aSEmmanuel Vadot
140f126890aSEmmanuel Vadot	sound-spdif {
141f126890aSEmmanuel Vadot		compatible = "fsl,imx-audio-spdif";
142f126890aSEmmanuel Vadot		model = "imx-spdif";
143*b2d2a78aSEmmanuel Vadot		audio-cpu = <&spdif>;
144*b2d2a78aSEmmanuel Vadot		audio-codec = <&spdif_out>, <&spdif_in>;
145f126890aSEmmanuel Vadot	};
146f126890aSEmmanuel Vadot};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot&audmux {
149f126890aSEmmanuel Vadot	pinctrl-names = "default";
150f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
151f126890aSEmmanuel Vadot	status = "okay";
152f126890aSEmmanuel Vadot
153f126890aSEmmanuel Vadot	mux-ssi2 {
154f126890aSEmmanuel Vadot		fsl,audmux-port = <1>;
155f126890aSEmmanuel Vadot		fsl,port-config = <
156f126890aSEmmanuel Vadot			(IMX_AUDMUX_V2_PTCR_RCLKDIR |
157f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_RCSEL(3 | 0x8) |
158f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TCLKDIR |
159f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TCSEL(3))
160f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PDCR_RXDSEL(3)
161f126890aSEmmanuel Vadot		>;
162f126890aSEmmanuel Vadot	};
163f126890aSEmmanuel Vadot
164f126890aSEmmanuel Vadot	mux-audmux4 {
165f126890aSEmmanuel Vadot		fsl,audmux-port = <3>;
166f126890aSEmmanuel Vadot		fsl,port-config = <
167f126890aSEmmanuel Vadot			(IMX_AUDMUX_V2_PTCR_TFSDIR |
168f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TFSEL(1) |
169f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_RCLKDIR |
170f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_RCSEL(1 | 0x8) |
171f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TCLKDIR |
172f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TCSEL(1))
173f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PDCR_RXDSEL(1)
174f126890aSEmmanuel Vadot		>;
175f126890aSEmmanuel Vadot	};
176f126890aSEmmanuel Vadot};
177f126890aSEmmanuel Vadot
178f126890aSEmmanuel Vadot&cpu0 {
179f126890aSEmmanuel Vadot	/*
180f126890aSEmmanuel Vadot	 * Although the imx6q fuse indicates that 1.2GHz operation is possible,
181f126890aSEmmanuel Vadot	 * the module behaves unstable at this frequency. Hence, remove the
182f126890aSEmmanuel Vadot	 * 1.2GHz operation point here.
183f126890aSEmmanuel Vadot	 */
184f126890aSEmmanuel Vadot	operating-points = <
185f126890aSEmmanuel Vadot		/* kHz	uV */
186f126890aSEmmanuel Vadot		996000	1250000
187f126890aSEmmanuel Vadot		852000	1250000
188f126890aSEmmanuel Vadot		792000	1175000
189f126890aSEmmanuel Vadot		396000	975000
190f126890aSEmmanuel Vadot	>;
191f126890aSEmmanuel Vadot	fsl,soc-operating-points = <
192f126890aSEmmanuel Vadot		/* ARM kHz	SOC-PU uV */
193f126890aSEmmanuel Vadot		996000		1250000
194f126890aSEmmanuel Vadot		852000		1250000
195f126890aSEmmanuel Vadot		792000		1175000
196f126890aSEmmanuel Vadot		396000		1175000
197f126890aSEmmanuel Vadot	>;
198f126890aSEmmanuel Vadot};
199f126890aSEmmanuel Vadot
200f126890aSEmmanuel Vadot&cpu1 {
201f126890aSEmmanuel Vadot	/*
202f126890aSEmmanuel Vadot	 * Although the imx6q fuse indicates that 1.2GHz operation is possible,
203f126890aSEmmanuel Vadot	 * the module behaves unstable at this frequency. Hence, remove the
204f126890aSEmmanuel Vadot	 * 1.2GHz operation point here.
205f126890aSEmmanuel Vadot	 */
206f126890aSEmmanuel Vadot	operating-points = <
207f126890aSEmmanuel Vadot		/* kHz	uV */
208f126890aSEmmanuel Vadot		996000	1250000
209f126890aSEmmanuel Vadot		852000	1250000
210f126890aSEmmanuel Vadot		792000	1175000
211f126890aSEmmanuel Vadot		396000	975000
212f126890aSEmmanuel Vadot	>;
213f126890aSEmmanuel Vadot	fsl,soc-operating-points = <
214f126890aSEmmanuel Vadot		/* ARM kHz	SOC-PU uV */
215f126890aSEmmanuel Vadot		996000		1250000
216f126890aSEmmanuel Vadot		852000		1250000
217f126890aSEmmanuel Vadot		792000		1175000
218f126890aSEmmanuel Vadot		396000		1175000
219f126890aSEmmanuel Vadot	>;
220f126890aSEmmanuel Vadot};
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot&cpu2 {
223f126890aSEmmanuel Vadot	/*
224f126890aSEmmanuel Vadot	 * Although the imx6q fuse indicates that 1.2GHz operation is possible,
225f126890aSEmmanuel Vadot	 * the module behaves unstable at this frequency. Hence, remove the
226f126890aSEmmanuel Vadot	 * 1.2GHz operation point here.
227f126890aSEmmanuel Vadot	 */
228f126890aSEmmanuel Vadot	operating-points = <
229f126890aSEmmanuel Vadot		/* kHz	uV */
230f126890aSEmmanuel Vadot		996000	1250000
231f126890aSEmmanuel Vadot		852000	1250000
232f126890aSEmmanuel Vadot		792000	1175000
233f126890aSEmmanuel Vadot		396000	975000
234f126890aSEmmanuel Vadot	>;
235f126890aSEmmanuel Vadot	fsl,soc-operating-points = <
236f126890aSEmmanuel Vadot		/* ARM kHz	SOC-PU uV */
237f126890aSEmmanuel Vadot		996000		1250000
238f126890aSEmmanuel Vadot		852000		1250000
239f126890aSEmmanuel Vadot		792000		1175000
240f126890aSEmmanuel Vadot		396000		1175000
241f126890aSEmmanuel Vadot	>;
242f126890aSEmmanuel Vadot};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot&cpu3 {
245f126890aSEmmanuel Vadot	/*
246f126890aSEmmanuel Vadot	 * Although the imx6q fuse indicates that 1.2GHz operation is possible,
247f126890aSEmmanuel Vadot	 * the module behaves unstable at this frequency. Hence, remove the
248f126890aSEmmanuel Vadot	 * 1.2GHz operation point here.
249f126890aSEmmanuel Vadot	 */
250f126890aSEmmanuel Vadot	operating-points = <
251f126890aSEmmanuel Vadot		/* kHz	uV */
252f126890aSEmmanuel Vadot		996000	1250000
253f126890aSEmmanuel Vadot		852000	1250000
254f126890aSEmmanuel Vadot		792000	1175000
255f126890aSEmmanuel Vadot		396000	975000
256f126890aSEmmanuel Vadot	>;
257f126890aSEmmanuel Vadot	fsl,soc-operating-points = <
258f126890aSEmmanuel Vadot		/* ARM kHz	SOC-PU uV */
259f126890aSEmmanuel Vadot		996000		1250000
260f126890aSEmmanuel Vadot		852000		1250000
261f126890aSEmmanuel Vadot		792000		1175000
262f126890aSEmmanuel Vadot		396000		1175000
263f126890aSEmmanuel Vadot	>;
264f126890aSEmmanuel Vadot};
265f126890aSEmmanuel Vadot
266f126890aSEmmanuel Vadot&ecspi1 {
267f126890aSEmmanuel Vadot	cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>;
268f126890aSEmmanuel Vadot	pinctrl-names = "default";
269f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
270f126890aSEmmanuel Vadot	status = "okay";
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot	flash@0 {
273f126890aSEmmanuel Vadot		#address-cells = <1>;
274f126890aSEmmanuel Vadot		#size-cells = <1>;
275aa1a8ff2SEmmanuel Vadot		compatible = "jedec,spi-nor";
276f126890aSEmmanuel Vadot		spi-max-frequency = <20000000>;
277f126890aSEmmanuel Vadot		reg = <0>;
278f126890aSEmmanuel Vadot	};
279f126890aSEmmanuel Vadot};
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot&fec {
282f126890aSEmmanuel Vadot	pinctrl-names = "default";
283f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
284f126890aSEmmanuel Vadot	phy-mode = "rgmii";
285f126890aSEmmanuel Vadot	status = "okay";
286f126890aSEmmanuel Vadot};
287f126890aSEmmanuel Vadot
288f126890aSEmmanuel Vadot&gpmi {
289f126890aSEmmanuel Vadot	pinctrl-names = "default";
290f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpmi_nand>;
291f126890aSEmmanuel Vadot	status = "okay";
292f126890aSEmmanuel Vadot};
293f126890aSEmmanuel Vadot
294f126890aSEmmanuel Vadot&i2c3 {
295f126890aSEmmanuel Vadot	pinctrl-names = "default";
296f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
297f126890aSEmmanuel Vadot	status = "okay";
298f126890aSEmmanuel Vadot	clock-frequency = <100000>;
299f126890aSEmmanuel Vadot
300f126890aSEmmanuel Vadot	eeprom@50 {
301f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
302f126890aSEmmanuel Vadot		reg = <0x50>;
303f126890aSEmmanuel Vadot		pagesize = <16>;
304f126890aSEmmanuel Vadot	};
305f126890aSEmmanuel Vadot
306f126890aSEmmanuel Vadot	wm8731: codec@1a {
307f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
308f126890aSEmmanuel Vadot		compatible = "wlf,wm8731";
309f126890aSEmmanuel Vadot		reg = <0x1a>;
310f126890aSEmmanuel Vadot	};
311f126890aSEmmanuel Vadot};
312f126890aSEmmanuel Vadot
313f126890aSEmmanuel Vadot&iomuxc {
314f126890aSEmmanuel Vadot	pinctrl_audmux: audmuxgrp {
315f126890aSEmmanuel Vadot		fsl,pins = <
316f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__AUD4_RXC   0x17059
317f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__AUD4_RXD  0x17059
318f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__AUD4_TXC  0x17059
319f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__AUD4_TXD  0x17059
320f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x17059
321f126890aSEmmanuel Vadot		>;
322f126890aSEmmanuel Vadot	};
323f126890aSEmmanuel Vadot
324f126890aSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
325f126890aSEmmanuel Vadot		fsl,pins = <
326f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D16__ECSPI1_SCLK	0x100b1
327f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D17__ECSPI1_MISO	0x100b1
328f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D18__ECSPI1_MOSI	0x100b1
329f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB2__GPIO2_IO30	0x100b1
330f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D19__GPIO3_IO19	0x100b1
331f126890aSEmmanuel Vadot		>;
332f126890aSEmmanuel Vadot	};
333f126890aSEmmanuel Vadot
334f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
335f126890aSEmmanuel Vadot		fsl,pins = <
336f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
337f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
338f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
339f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
340f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
341f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
342f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
343f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
344f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
345f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
346f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
347f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
348f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
349f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
350f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
351f126890aSEmmanuel Vadot		>;
352f126890aSEmmanuel Vadot	};
353f126890aSEmmanuel Vadot
354f126890aSEmmanuel Vadot	pinctrl_gpmi_nand: gpminandgrp {
355f126890aSEmmanuel Vadot		fsl,pins = <
356f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CLE__NAND_CLE		0xb0b1
357f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_ALE__NAND_ALE		0xb0b1
358f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_WP_B__NAND_WP_B	0xb0b1
359f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_RB0__NAND_READY_B	0xb000
360f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS0__NAND_CE0_B	0xb0b1
361f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__NAND_CE1_B	0xb0b1
362f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__NAND_RE_B		0xb0b1
363f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__NAND_WE_B		0xb0b1
364f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D0__NAND_DATA00	0xb0b1
365f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D1__NAND_DATA01	0xb0b1
366f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D2__NAND_DATA02	0xb0b1
367f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D3__NAND_DATA03	0xb0b1
368f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D4__NAND_DATA04	0xb0b1
369f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D5__NAND_DATA05	0xb0b1
370f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D6__NAND_DATA06	0xb0b1
371f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D7__NAND_DATA07	0xb0b1
372f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT0__NAND_DQS		0x00b1
373f126890aSEmmanuel Vadot		>;
374f126890aSEmmanuel Vadot	};
375f126890aSEmmanuel Vadot
376f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
377f126890aSEmmanuel Vadot		fsl,pins = <
378f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL	0x4001b8b1
379f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA	0x4001b8b1
380f126890aSEmmanuel Vadot		>;
381f126890aSEmmanuel Vadot	};
382f126890aSEmmanuel Vadot
383f126890aSEmmanuel Vadot	pinctrl_pcie: pciegrp {
384f126890aSEmmanuel Vadot		fsl,pins = <
385f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD1__GPIO1_IO26	0x1b0b1
386f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS1__GPIO2_IO24	0x1b0b1
387f126890aSEmmanuel Vadot		>;
388f126890aSEmmanuel Vadot	};
389f126890aSEmmanuel Vadot
390f126890aSEmmanuel Vadot	pinctrl_pwrseq: pwrseqgrp {
391f126890aSEmmanuel Vadot		fsl,pins = <
392f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x1b0b0
393f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS3__GPIO6_IO16	0x1b0b0
394f126890aSEmmanuel Vadot		>;
395f126890aSEmmanuel Vadot	};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot	pinctrl_spdif: spdifgrp {
398f126890aSEmmanuel Vadot		fsl,pins = <
399f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__SPDIF_IN  0x1b0b0
400f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_19__SPDIF_OUT 0x1b0b0
401f126890aSEmmanuel Vadot		>;
402f126890aSEmmanuel Vadot	};
403f126890aSEmmanuel Vadot
404f126890aSEmmanuel Vadot	pinctrl_uart4: uart4grp {
405f126890aSEmmanuel Vadot		fsl,pins = <
406f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL0__UART4_TX_DATA	0x1b0b1
407f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA	0x1b0b1
408f126890aSEmmanuel Vadot		>;
409f126890aSEmmanuel Vadot	};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot	pinctrl_usbh1: usbh1grp {
412f126890aSEmmanuel Vadot		fsl,pins = <
413f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__GPIO7_IO08	0x1b0b1
414f126890aSEmmanuel Vadot		>;
415f126890aSEmmanuel Vadot	};
416f126890aSEmmanuel Vadot
417f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
418f126890aSEmmanuel Vadot		fsl,pins = <
419f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID	0x17059
420f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22	0x130b0
421f126890aSEmmanuel Vadot		>;
422f126890aSEmmanuel Vadot	};
423f126890aSEmmanuel Vadot
424f126890aSEmmanuel Vadot	pinctrl_usdhc1: usdhc1grp {
425f126890aSEmmanuel Vadot		fsl,pins = <
426f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CMD__SD1_CMD	0x17071
427f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CLK__SD1_CLK	0x10071
428f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT0__SD1_DATA0	0x17071
429f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT1__SD1_DATA1	0x17071
430f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT2__SD1_DATA2	0x17071
431f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT3__SD1_DATA3	0x17071
432f126890aSEmmanuel Vadot		>;
433f126890aSEmmanuel Vadot	};
434f126890aSEmmanuel Vadot};
435f126890aSEmmanuel Vadot
436f126890aSEmmanuel Vadot&pcie {
437f126890aSEmmanuel Vadot	pinctrl-names = "default";
438f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
439f126890aSEmmanuel Vadot	reset-gpio = <&gpio1 26 GPIO_ACTIVE_LOW>;
440f126890aSEmmanuel Vadot	vpcie-supply = <&reg_pcie_power_on_gpio>;
441f126890aSEmmanuel Vadot	status = "okay";
442f126890aSEmmanuel Vadot};
443f126890aSEmmanuel Vadot
444f126890aSEmmanuel Vadot&sata {
445f126890aSEmmanuel Vadot	status = "okay";
446f126890aSEmmanuel Vadot};
447f126890aSEmmanuel Vadot
448f126890aSEmmanuel Vadot&snvs_poweroff {
449f126890aSEmmanuel Vadot	status = "okay";
450f126890aSEmmanuel Vadot};
451f126890aSEmmanuel Vadot
452f126890aSEmmanuel Vadot&spdif {
453f126890aSEmmanuel Vadot	pinctrl-names = "default";
454f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spdif>;
455f126890aSEmmanuel Vadot	status = "okay";
456f126890aSEmmanuel Vadot};
457f126890aSEmmanuel Vadot
458f126890aSEmmanuel Vadot&ssi2 {
459f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX6QDL_CLK_SSI2_SEL>,
460f126890aSEmmanuel Vadot			<&clks IMX6QDL_CLK_PLL4_AUDIO_DIV>;
461f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL4_AUDIO_DIV>;
462f126890aSEmmanuel Vadot	assigned-clock-rates = <0>, <786432000>;
463f126890aSEmmanuel Vadot	status = "okay";
464f126890aSEmmanuel Vadot};
465f126890aSEmmanuel Vadot
466f126890aSEmmanuel Vadot&uart4 {
467f126890aSEmmanuel Vadot	pinctrl-names = "default";
468f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
469f126890aSEmmanuel Vadot	status = "okay";
470f126890aSEmmanuel Vadot};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot&usbh1 {
473f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
474f126890aSEmmanuel Vadot	pinctrl-names = "default";
475f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbh1>;
476f126890aSEmmanuel Vadot	status = "okay";
477f126890aSEmmanuel Vadot};
478f126890aSEmmanuel Vadot
479f126890aSEmmanuel Vadot&usbotg {
480f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
481f126890aSEmmanuel Vadot	pinctrl-names = "default";
482f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
483f126890aSEmmanuel Vadot	dr_mode = "otg";
484f126890aSEmmanuel Vadot	status = "okay";
485f126890aSEmmanuel Vadot};
486f126890aSEmmanuel Vadot
487f126890aSEmmanuel Vadot&usdhc1 {
488f126890aSEmmanuel Vadot	pinctrl-names = "default";
489f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc1>;
490f126890aSEmmanuel Vadot	mmc-pwrseq = <&awnh387_pwrseq>;
491f126890aSEmmanuel Vadot	non-removable;
492f126890aSEmmanuel Vadot	/*
493f126890aSEmmanuel Vadot	 * If the OS probes the Bluetooth AMP function advertised on this bus
494f126890aSEmmanuel Vadot	 * but the firmware in place does not support it, the WiFi/BT module
495f126890aSEmmanuel Vadot	 * gets unresponsive.
496f126890aSEmmanuel Vadot	 * Users who configured their OS properly can enable this node to gain
497f126890aSEmmanuel Vadot	 * WiFi and/or plain Bluetooth support.
498f126890aSEmmanuel Vadot	 */
499f126890aSEmmanuel Vadot	status = "disabled";
500f126890aSEmmanuel Vadot};
501