xref: /linux/arch/arm/boot/dts/nxp/imx/imx6q-display5.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring/*
2*724ba675SRob Herring * Copyright 2017
3*724ba675SRob Herring * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
4*724ba675SRob Herring *
5*724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms
6*724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual
7*724ba675SRob Herring * licensing only applies to this file, and not this project as a
8*724ba675SRob Herring * whole.
9*724ba675SRob Herring *
10*724ba675SRob Herring *  a) This file is licensed under the terms of the GNU General Public
11*724ba675SRob Herring *     License version 2.  This program is licensed "as is" without
12*724ba675SRob Herring *     any warranty of any kind, whether express or implied.
13*724ba675SRob Herring *
14*724ba675SRob Herring * Or, alternatively,
15*724ba675SRob Herring *
16*724ba675SRob Herring *  b) Permission is hereby granted, free of charge, to any person
17*724ba675SRob Herring *     obtaining a copy of this software and associated documentation
18*724ba675SRob Herring *     files (the "Software"), to deal in the Software without
19*724ba675SRob Herring *     restriction, including without limitation the rights to use,
20*724ba675SRob Herring *     copy, modify, merge, publish, distribute, sublicense, and/or
21*724ba675SRob Herring *     sell copies of the Software, and to permit persons to whom the
22*724ba675SRob Herring *     Software is furnished to do so, subject to the following
23*724ba675SRob Herring *     conditions:
24*724ba675SRob Herring *
25*724ba675SRob Herring *     The above copyright notice and this permission notice shall be
26*724ba675SRob Herring *     included in all copies or substantial portions of the Software.
27*724ba675SRob Herring *
28*724ba675SRob Herring *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29*724ba675SRob Herring *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
30*724ba675SRob Herring *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31*724ba675SRob Herring *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
32*724ba675SRob Herring *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
33*724ba675SRob Herring *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
34*724ba675SRob Herring *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
35*724ba675SRob Herring *     OTHER DEALINGS IN THE SOFTWARE.
36*724ba675SRob Herring */
37*724ba675SRob Herring
38*724ba675SRob Herring/dts-v1/;
39*724ba675SRob Herring
40*724ba675SRob Herring#include "imx6q.dtsi"
41*724ba675SRob Herring
42*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
43*724ba675SRob Herring#include <dt-bindings/pwm/pwm.h>
44*724ba675SRob Herring#include <dt-bindings/sound/fsl-imx-audmux.h>
45*724ba675SRob Herring
46*724ba675SRob Herring/ {
47*724ba675SRob Herring	model = "Liebherr (LWN) display5 i.MX6 Quad Board";
48*724ba675SRob Herring	compatible = "lwn,display5", "fsl,imx6q";
49*724ba675SRob Herring
50*724ba675SRob Herring	memory@10000000 {
51*724ba675SRob Herring		device_type = "memory";
52*724ba675SRob Herring		reg = <0x10000000 0x40000000>;
53*724ba675SRob Herring	};
54*724ba675SRob Herring
55*724ba675SRob Herring	backlight_lvds: backlight {
56*724ba675SRob Herring		compatible = "pwm-backlight";
57*724ba675SRob Herring		pinctrl-names = "default";
58*724ba675SRob Herring		pinctrl-0 = <&pinctrl_backlight>;
59*724ba675SRob Herring		pwms = <&pwm2 0 5000000 0>;
60*724ba675SRob Herring		brightness-levels = <  0   1   2   3   4   5   6   7   8   9
61*724ba675SRob Herring				      10  11  12  13  14  15  16  17  18  19
62*724ba675SRob Herring				      20  21  22  23  24  25  26  27  28  29
63*724ba675SRob Herring				      30  31  32  33  34  35  36  37  38  39
64*724ba675SRob Herring				      40  41  42  43  44  45  46  47  48  49
65*724ba675SRob Herring				      50  51  52  53  54  55  56  57  58  59
66*724ba675SRob Herring				      60  61  62  63  64  65  66  67  68  69
67*724ba675SRob Herring				      70  71  72  73  74  75  76  77  78  79
68*724ba675SRob Herring				      80  81  82  83  84  85  86  87  88  89
69*724ba675SRob Herring				      90  91  92  93  94  95  96  97  98  99
70*724ba675SRob Herring				     100 101 102 103 104 105 106 107 108 109
71*724ba675SRob Herring				     110 111 112 113 114 115 116 117 118 119
72*724ba675SRob Herring				     120 121 122 123 124 125 126 127 128 129
73*724ba675SRob Herring				     130 131 132 133 134 135 136 137 138 139
74*724ba675SRob Herring				     140 141 142 143 144 145 146 147 148 149
75*724ba675SRob Herring				     150 151 152 153 154 155 156 157 158 159
76*724ba675SRob Herring				     160 161 162 163 164 165 166 167 168 169
77*724ba675SRob Herring				     170 171 172 173 174 175 176 177 178 179
78*724ba675SRob Herring				     180 181 182 183 184 185 186 187 188 189
79*724ba675SRob Herring				     190 191 192 193 194 195 196 197 198 199
80*724ba675SRob Herring				     200 201 202 203 204 205 206 207 208 209
81*724ba675SRob Herring				     210 211 212 213 214 215 216 217 218 219
82*724ba675SRob Herring				     220 221 222 223 224 225 226 227 228 229
83*724ba675SRob Herring				     230 231 232 233 234 235 236 237 238 239
84*724ba675SRob Herring				     240 241 242 243 244 245 246 247 248 249
85*724ba675SRob Herring				     250 251 252 253 254 255>;
86*724ba675SRob Herring		default-brightness-level = <250>;
87*724ba675SRob Herring		enable-gpios = <&gpio5 7 GPIO_ACTIVE_HIGH>;
88*724ba675SRob Herring	};
89*724ba675SRob Herring
90*724ba675SRob Herring	reg_lvds: regulator-lvds {
91*724ba675SRob Herring		compatible = "regulator-fixed";
92*724ba675SRob Herring		regulator-name = "lvds_ppen";
93*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
94*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
95*724ba675SRob Herring		regulator-boot-on;
96*724ba675SRob Herring		regulator-always-on;
97*724ba675SRob Herring		pinctrl-names = "default";
98*724ba675SRob Herring		pinctrl-0 = <&pinctrl_reg_lvds>;
99*724ba675SRob Herring		gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>;
100*724ba675SRob Herring		enable-active-high;
101*724ba675SRob Herring	};
102*724ba675SRob Herring
103*724ba675SRob Herring	reg_usbh1_vbus: usb-h1-vbus {
104*724ba675SRob Herring		compatible = "regulator-fixed";
105*724ba675SRob Herring		gpio = <&gpio3 31 GPIO_ACTIVE_LOW>;
106*724ba675SRob Herring		pinctrl-names = "default";
107*724ba675SRob Herring		pinctrl-0 = <&pinctrl_usbh1_vbus>;
108*724ba675SRob Herring		regulator-name = "usb_h1_vbus";
109*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
110*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
111*724ba675SRob Herring		regulator-enable-ramp-delay = <300000>;
112*724ba675SRob Herring	};
113*724ba675SRob Herring
114*724ba675SRob Herring	sound {
115*724ba675SRob Herring		compatible = "simple-audio-card";
116*724ba675SRob Herring		label = "tfa9879-mono";
117*724ba675SRob Herring
118*724ba675SRob Herring		simple-audio-card,dai-link {
119*724ba675SRob Herring			/* DAC */
120*724ba675SRob Herring			format = "i2s";
121*724ba675SRob Herring			bitclock-master = <&dailink_master>;
122*724ba675SRob Herring			frame-master = <&dailink_master>;
123*724ba675SRob Herring
124*724ba675SRob Herring			dailink_master: cpu {
125*724ba675SRob Herring			    sound-dai = <&ssi2>;
126*724ba675SRob Herring			};
127*724ba675SRob Herring			codec {
128*724ba675SRob Herring			    sound-dai = <&codec>;
129*724ba675SRob Herring			};
130*724ba675SRob Herring		};
131*724ba675SRob Herring	};
132*724ba675SRob Herring
133*724ba675SRob Herring	panel: panel-lvds0 {
134*724ba675SRob Herring		backlight = <&backlight_lvds>;
135*724ba675SRob Herring		power-supply = <&reg_lvds>;
136*724ba675SRob Herring
137*724ba675SRob Herring		port {
138*724ba675SRob Herring			panel_in_lvds0: endpoint {
139*724ba675SRob Herring				remote-endpoint = <&lvds0_out>;
140*724ba675SRob Herring			};
141*724ba675SRob Herring		};
142*724ba675SRob Herring	};
143*724ba675SRob Herring};
144*724ba675SRob Herring
145*724ba675SRob Herring&audmux {
146*724ba675SRob Herring	pinctrl-names = "default";
147*724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
148*724ba675SRob Herring	status = "okay";
149*724ba675SRob Herring
150*724ba675SRob Herring	mux-ssi2 {
151*724ba675SRob Herring		fsl,audmux-port = <1>;
152*724ba675SRob Herring		fsl,port-config = <
153*724ba675SRob Herring			(IMX_AUDMUX_V2_PTCR_SYN |
154*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TFSEL(5) |
155*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TCSEL(5) |
156*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TFSDIR |
157*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TCLKDIR)
158*724ba675SRob Herring			IMX_AUDMUX_V2_PDCR_RXDSEL(5)
159*724ba675SRob Herring		>;
160*724ba675SRob Herring	};
161*724ba675SRob Herring
162*724ba675SRob Herring	mux-aud6 {
163*724ba675SRob Herring		fsl,audmux-port = <5>;
164*724ba675SRob Herring		fsl,port-config = <
165*724ba675SRob Herring			(IMX_AUDMUX_V2_PTCR_RFSEL(8) |
166*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_RCSEL(8) |
167*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TFSEL(1) |
168*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TCSEL(1) |
169*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_RFSDIR |
170*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_RCLKDIR |
171*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TFSDIR |
172*724ba675SRob Herring			 IMX_AUDMUX_V2_PTCR_TCLKDIR)
173*724ba675SRob Herring			IMX_AUDMUX_V2_PDCR_RXDSEL(1)
174*724ba675SRob Herring		>;
175*724ba675SRob Herring	};
176*724ba675SRob Herring};
177*724ba675SRob Herring
178*724ba675SRob Herring&ecspi2 {
179*724ba675SRob Herring	cs-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
180*724ba675SRob Herring	pinctrl-names = "default";
181*724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs &pinctrl_ecspi2_flwp>;
182*724ba675SRob Herring	status = "okay";
183*724ba675SRob Herring
184*724ba675SRob Herring	s25fl256s: flash@0 {
185*724ba675SRob Herring		#address-cells = <1>;
186*724ba675SRob Herring		#size-cells = <1>;
187*724ba675SRob Herring		compatible = "jedec,spi-nor";
188*724ba675SRob Herring		spi-max-frequency = <40000000>;
189*724ba675SRob Herring		reg = <0>;
190*724ba675SRob Herring
191*724ba675SRob Herring		partition@0 {
192*724ba675SRob Herring			label = "SPL (spi)";
193*724ba675SRob Herring			reg = <0x0 0x20000>;
194*724ba675SRob Herring			read-only;
195*724ba675SRob Herring		};
196*724ba675SRob Herring		partition@1 {
197*724ba675SRob Herring			label = "u-boot (spi)";
198*724ba675SRob Herring			reg = <0x20000 0x100000>;
199*724ba675SRob Herring			read-only;
200*724ba675SRob Herring		};
201*724ba675SRob Herring		partition@2 {
202*724ba675SRob Herring			label = "uboot-env (spi)";
203*724ba675SRob Herring			reg = <0x120000 0x10000>;
204*724ba675SRob Herring		};
205*724ba675SRob Herring		partition@3 {
206*724ba675SRob Herring			label = "uboot-envr (spi)";
207*724ba675SRob Herring			reg = <0x130000 0x10000>;
208*724ba675SRob Herring		};
209*724ba675SRob Herring		partition@4 {
210*724ba675SRob Herring			label = "linux-recovery (spi)";
211*724ba675SRob Herring			reg = <0x140000 0x800000>;
212*724ba675SRob Herring		};
213*724ba675SRob Herring		partition@5 {
214*724ba675SRob Herring			label = "swupdate-fitImg (spi)";
215*724ba675SRob Herring			reg = <0x940000 0x400000>;
216*724ba675SRob Herring		};
217*724ba675SRob Herring		partition@6 {
218*724ba675SRob Herring			label = "swupdate-initramfs (spi)";
219*724ba675SRob Herring			reg = <0xD40000 0x800000>;
220*724ba675SRob Herring		};
221*724ba675SRob Herring	};
222*724ba675SRob Herring};
223*724ba675SRob Herring
224*724ba675SRob Herring&ecspi3 {
225*724ba675SRob Herring	cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
226*724ba675SRob Herring	pinctrl-names = "default";
227*724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi3 &pinctrl_ecspi3_cs &pinctrl_ecspi3_flwp>;
228*724ba675SRob Herring	status = "okay";
229*724ba675SRob Herring};
230*724ba675SRob Herring
231*724ba675SRob Herring&fec {
232*724ba675SRob Herring	pinctrl-names = "default";
233*724ba675SRob Herring	pinctrl-0 = <&pinctrl_enet>;
234*724ba675SRob Herring	phy-handle = <&ethernet_phy0>;
235*724ba675SRob Herring	phy-mode = "rgmii-id";
236*724ba675SRob Herring	status = "okay";
237*724ba675SRob Herring
238*724ba675SRob Herring	mdio {
239*724ba675SRob Herring		#address-cells = <1>;
240*724ba675SRob Herring		#size-cells = <0>;
241*724ba675SRob Herring		ethernet_phy0: ethernet-phy@0 {
242*724ba675SRob Herring			compatible = "marvell,88E1510";
243*724ba675SRob Herring			device_type = "ethernet-phy";
244*724ba675SRob Herring			/* Set LED0 control: */
245*724ba675SRob Herring			/* On - Link, Blink - Activity, Off - No Link */
246*724ba675SRob Herring			marvell,reg-init = <3 0x10 0 0x1011>;
247*724ba675SRob Herring			max-speed = <100>;
248*724ba675SRob Herring			reg = <0>;
249*724ba675SRob Herring		};
250*724ba675SRob Herring	};
251*724ba675SRob Herring};
252*724ba675SRob Herring
253*724ba675SRob Herring&i2c1 {
254*724ba675SRob Herring	clock-frequency = <400000>;
255*724ba675SRob Herring	pinctrl-names = "default";
256*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
257*724ba675SRob Herring	status = "okay";
258*724ba675SRob Herring
259*724ba675SRob Herring	codec: tfa9879@6c {
260*724ba675SRob Herring		#sound-dai-cells = <0>;
261*724ba675SRob Herring		compatible = "nxp,tfa9879";
262*724ba675SRob Herring		reg = <0x6C>;
263*724ba675SRob Herring	};
264*724ba675SRob Herring};
265*724ba675SRob Herring
266*724ba675SRob Herring&i2c2 {
267*724ba675SRob Herring	clock-frequency = <400000>;
268*724ba675SRob Herring	pinctrl-names = "default";
269*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
270*724ba675SRob Herring	status = "okay";
271*724ba675SRob Herring};
272*724ba675SRob Herring
273*724ba675SRob Herring&i2c3 {
274*724ba675SRob Herring	clock-frequency = <400000>;
275*724ba675SRob Herring	pinctrl-names = "default";
276*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
277*724ba675SRob Herring	status = "okay";
278*724ba675SRob Herring
279*724ba675SRob Herring	eeprom@50 {
280*724ba675SRob Herring		compatible = "atmel,24c256";
281*724ba675SRob Herring		pagesize = <64>;
282*724ba675SRob Herring		reg = <0x50>;
283*724ba675SRob Herring	};
284*724ba675SRob Herring
285*724ba675SRob Herring	pfuze100: pmic@8 {
286*724ba675SRob Herring		compatible = "fsl,pfuze100";
287*724ba675SRob Herring		reg = <0x08>;
288*724ba675SRob Herring
289*724ba675SRob Herring		regulators {
290*724ba675SRob Herring			sw1a_reg: sw1ab {
291*724ba675SRob Herring				regulator-min-microvolt = <300000>;
292*724ba675SRob Herring				regulator-max-microvolt = <1875000>;
293*724ba675SRob Herring				regulator-boot-on;
294*724ba675SRob Herring				regulator-always-on;
295*724ba675SRob Herring				regulator-ramp-delay = <6250>;
296*724ba675SRob Herring			};
297*724ba675SRob Herring
298*724ba675SRob Herring			sw1c_reg: sw1c {
299*724ba675SRob Herring				regulator-min-microvolt = <300000>;
300*724ba675SRob Herring				regulator-max-microvolt = <1875000>;
301*724ba675SRob Herring				regulator-boot-on;
302*724ba675SRob Herring				regulator-always-on;
303*724ba675SRob Herring				regulator-ramp-delay = <6250>;
304*724ba675SRob Herring			};
305*724ba675SRob Herring
306*724ba675SRob Herring			sw2_reg: sw2 {
307*724ba675SRob Herring				regulator-min-microvolt = <800000>;
308*724ba675SRob Herring				regulator-max-microvolt = <3950000>;
309*724ba675SRob Herring				regulator-boot-on;
310*724ba675SRob Herring				regulator-always-on;
311*724ba675SRob Herring			};
312*724ba675SRob Herring
313*724ba675SRob Herring			sw3a_reg: sw3a {
314*724ba675SRob Herring				regulator-min-microvolt = <400000>;
315*724ba675SRob Herring				regulator-max-microvolt = <1975000>;
316*724ba675SRob Herring				regulator-boot-on;
317*724ba675SRob Herring				regulator-always-on;
318*724ba675SRob Herring			};
319*724ba675SRob Herring
320*724ba675SRob Herring			sw3b_reg: sw3b {
321*724ba675SRob Herring				regulator-min-microvolt = <400000>;
322*724ba675SRob Herring				regulator-max-microvolt = <1975000>;
323*724ba675SRob Herring				regulator-boot-on;
324*724ba675SRob Herring				regulator-always-on;
325*724ba675SRob Herring			};
326*724ba675SRob Herring
327*724ba675SRob Herring			sw4_reg: sw4 {
328*724ba675SRob Herring				regulator-min-microvolt = <800000>;
329*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
330*724ba675SRob Herring			};
331*724ba675SRob Herring
332*724ba675SRob Herring			swbst_reg: swbst {
333*724ba675SRob Herring				regulator-min-microvolt = <5000000>;
334*724ba675SRob Herring				regulator-max-microvolt = <5150000>;
335*724ba675SRob Herring			};
336*724ba675SRob Herring
337*724ba675SRob Herring			snvs_reg: vsnvs {
338*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
339*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
340*724ba675SRob Herring				regulator-boot-on;
341*724ba675SRob Herring				regulator-always-on;
342*724ba675SRob Herring			};
343*724ba675SRob Herring
344*724ba675SRob Herring			vref_reg: vrefddr {
345*724ba675SRob Herring				regulator-boot-on;
346*724ba675SRob Herring				regulator-always-on;
347*724ba675SRob Herring			};
348*724ba675SRob Herring
349*724ba675SRob Herring			vgen1_reg: vgen1 {
350*724ba675SRob Herring				regulator-min-microvolt = <800000>;
351*724ba675SRob Herring				regulator-max-microvolt = <1550000>;
352*724ba675SRob Herring			};
353*724ba675SRob Herring
354*724ba675SRob Herring			vgen2_reg: vgen2 {
355*724ba675SRob Herring				regulator-min-microvolt = <800000>;
356*724ba675SRob Herring				regulator-max-microvolt = <1550000>;
357*724ba675SRob Herring			};
358*724ba675SRob Herring
359*724ba675SRob Herring			vgen3_reg: vgen3 {
360*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
361*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
362*724ba675SRob Herring			};
363*724ba675SRob Herring
364*724ba675SRob Herring			vgen4_reg: vgen4 {
365*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
366*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
367*724ba675SRob Herring				regulator-always-on;
368*724ba675SRob Herring			};
369*724ba675SRob Herring
370*724ba675SRob Herring			vgen5_reg: vgen5 {
371*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
372*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
373*724ba675SRob Herring				regulator-always-on;
374*724ba675SRob Herring			};
375*724ba675SRob Herring
376*724ba675SRob Herring			vgen6_reg: vgen6 {
377*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
378*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
379*724ba675SRob Herring				regulator-always-on;
380*724ba675SRob Herring			};
381*724ba675SRob Herring		};
382*724ba675SRob Herring	};
383*724ba675SRob Herring};
384*724ba675SRob Herring
385*724ba675SRob Herring&ldb {
386*724ba675SRob Herring	status = "okay";
387*724ba675SRob Herring
388*724ba675SRob Herring	lvds0: lvds-channel@0 {
389*724ba675SRob Herring		status = "okay";
390*724ba675SRob Herring
391*724ba675SRob Herring		port@4 {
392*724ba675SRob Herring			reg = <4>;
393*724ba675SRob Herring
394*724ba675SRob Herring			lvds0_out: endpoint {
395*724ba675SRob Herring				remote-endpoint = <&panel_in_lvds0>;
396*724ba675SRob Herring			};
397*724ba675SRob Herring		};
398*724ba675SRob Herring	};
399*724ba675SRob Herring};
400*724ba675SRob Herring
401*724ba675SRob Herring&pwm2 {
402*724ba675SRob Herring	pinctrl-names = "default";
403*724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm2>;
404*724ba675SRob Herring	status = "okay";
405*724ba675SRob Herring};
406*724ba675SRob Herring
407*724ba675SRob Herring&ssi2 {
408*724ba675SRob Herring	status = "okay";
409*724ba675SRob Herring};
410*724ba675SRob Herring
411*724ba675SRob Herring&uart4 {
412*724ba675SRob Herring	pinctrl-names = "default";
413*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart4>;
414*724ba675SRob Herring	uart-has-rtscts;
415*724ba675SRob Herring	status = "okay";
416*724ba675SRob Herring};
417*724ba675SRob Herring
418*724ba675SRob Herring&uart5 {
419*724ba675SRob Herring	pinctrl-names = "default";
420*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart5>;
421*724ba675SRob Herring	status = "okay";
422*724ba675SRob Herring};
423*724ba675SRob Herring
424*724ba675SRob Herring&usbh1 {
425*724ba675SRob Herring	vbus-supply = <&reg_usbh1_vbus>;
426*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbh1>;
427*724ba675SRob Herring	status = "okay";
428*724ba675SRob Herring};
429*724ba675SRob Herring
430*724ba675SRob Herring&usdhc4 {
431*724ba675SRob Herring	pinctrl-names = "default";
432*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc4>;
433*724ba675SRob Herring	bus-width = <8>;
434*724ba675SRob Herring	non-removable;
435*724ba675SRob Herring	status = "okay";
436*724ba675SRob Herring};
437*724ba675SRob Herring
438*724ba675SRob Herring&iomuxc {
439*724ba675SRob Herring	pinctrl_audmux: audmuxgrp {
440*724ba675SRob Herring		fsl,pins = <
441*724ba675SRob Herring			/* I2S OUTPUT AUD6*/
442*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN4__AUD6_RXD  0x130b0
443*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN2__AUD6_TXD  0x130b0
444*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN3__AUD6_TXFS  0x130b0
445*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN15__AUD6_TXC  0x130b0
446*724ba675SRob Herring		>;
447*724ba675SRob Herring	};
448*724ba675SRob Herring
449*724ba675SRob Herring	pinctrl_backlight: dispgrp {
450*724ba675SRob Herring		fsl,pins = <
451*724ba675SRob Herring			/* BLEN_OUT */
452*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT13__GPIO5_IO07    0x1b0b0
453*724ba675SRob Herring		>;
454*724ba675SRob Herring	};
455*724ba675SRob Herring
456*724ba675SRob Herring	pinctrl_ecspi2: ecspi2grp {
457*724ba675SRob Herring		fsl,pins = <
458*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT10__ECSPI2_MISO	0x100b1
459*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT9__ECSPI2_MOSI	0x100b1
460*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT8__ECSPI2_SCLK	0x100b1
461*724ba675SRob Herring		>;
462*724ba675SRob Herring	};
463*724ba675SRob Herring
464*724ba675SRob Herring	pinctrl_ecspi2_cs: ecspi2csgrp {
465*724ba675SRob Herring		fsl,pins = <
466*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT11__GPIO5_IO29 0x100b1
467*724ba675SRob Herring		>;
468*724ba675SRob Herring	};
469*724ba675SRob Herring
470*724ba675SRob Herring	pinctrl_ecspi2_flwp: ecspi2flwpgrp {
471*724ba675SRob Herring		fsl,pins = <
472*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0
473*724ba675SRob Herring		>;
474*724ba675SRob Herring	};
475*724ba675SRob Herring
476*724ba675SRob Herring	pinctrl_ecspi3: ecspi3grp {
477*724ba675SRob Herring		fsl,pins = <
478*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO	0x100b1
479*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI	0x100b1
480*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK	0x100b1
481*724ba675SRob Herring		>;
482*724ba675SRob Herring	};
483*724ba675SRob Herring
484*724ba675SRob Herring	pinctrl_ecspi3_cs: ecspi3csgrp {
485*724ba675SRob Herring		fsl,pins = <
486*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x1b0b0
487*724ba675SRob Herring		>;
488*724ba675SRob Herring	};
489*724ba675SRob Herring
490*724ba675SRob Herring	pinctrl_ecspi3_flwp: ecspi3flwpgrp {
491*724ba675SRob Herring		fsl,pins = <
492*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT6__GPIO4_IO27 0x1b0b0
493*724ba675SRob Herring		>;
494*724ba675SRob Herring	};
495*724ba675SRob Herring
496*724ba675SRob Herring	pinctrl_enet: enetgrp {
497*724ba675SRob Herring		fsl,pins = <
498*724ba675SRob Herring			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
499*724ba675SRob Herring			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
500*724ba675SRob Herring			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b0b0
501*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b0b0
502*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b0b0
503*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b0b0
504*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b0b0
505*724ba675SRob Herring			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b0b0
506*724ba675SRob Herring			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
507*724ba675SRob Herring			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b0b0
508*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b0b0
509*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b0b0
510*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b0b0
511*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b0b0
512*724ba675SRob Herring			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b0b0
513*724ba675SRob Herring			MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
514*724ba675SRob Herring			MX6QDL_PAD_GPIO_6__ENET_IRQ		0x000b1
515*724ba675SRob Herring			MX6QDL_PAD_ENET_RXD0__GPIO1_IO27        0x1b0b0
516*724ba675SRob Herring		>;
517*724ba675SRob Herring	};
518*724ba675SRob Herring
519*724ba675SRob Herring	pinctrl_i2c1: i2c1grp {
520*724ba675SRob Herring		fsl,pins = <
521*724ba675SRob Herring			MX6QDL_PAD_EIM_D21__I2C1_SCL	0x4001b8b1
522*724ba675SRob Herring			MX6QDL_PAD_EIM_D28__I2C1_SDA	0x4001b8b1
523*724ba675SRob Herring		>;
524*724ba675SRob Herring	};
525*724ba675SRob Herring
526*724ba675SRob Herring	pinctrl_i2c2: i2c2grp {
527*724ba675SRob Herring		fsl,pins = <
528*724ba675SRob Herring			MX6QDL_PAD_EIM_EB2__I2C2_SCL	0x4001b8b1
529*724ba675SRob Herring			MX6QDL_PAD_EIM_D16__I2C2_SDA	0x4001b8b1
530*724ba675SRob Herring		>;
531*724ba675SRob Herring	};
532*724ba675SRob Herring
533*724ba675SRob Herring	pinctrl_i2c3: i2c3grp {
534*724ba675SRob Herring		fsl,pins = <
535*724ba675SRob Herring			MX6QDL_PAD_EIM_D17__I2C3_SCL	0x4001b8b1
536*724ba675SRob Herring			MX6QDL_PAD_EIM_D18__I2C3_SDA	0x4001b8b1
537*724ba675SRob Herring		>;
538*724ba675SRob Herring	};
539*724ba675SRob Herring
540*724ba675SRob Herring	pinctrl_pwm2: pwm2grp {
541*724ba675SRob Herring		fsl,pins = <
542*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT9__PWM2_OUT	0x1b0b1
543*724ba675SRob Herring		>;
544*724ba675SRob Herring	};
545*724ba675SRob Herring
546*724ba675SRob Herring	pinctrl_reg_lvds: reqlvdsgrp {
547*724ba675SRob Herring		fsl,pins = <
548*724ba675SRob Herring			/* LVDS_PPEN_OUT */
549*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT19__GPIO5_IO13      0x1b0b0
550*724ba675SRob Herring		>;
551*724ba675SRob Herring	};
552*724ba675SRob Herring
553*724ba675SRob Herring	pinctrl_uart4: uart4grp {
554*724ba675SRob Herring		fsl,pins = <
555*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT12__UART4_TX_DATA	0x1b0b1
556*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT13__UART4_RX_DATA	0x1b0b1
557*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT16__UART4_RTS_B	0x1b0b1
558*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT17__UART4_CTS_B	0x1b0b1
559*724ba675SRob Herring		>;
560*724ba675SRob Herring	};
561*724ba675SRob Herring
562*724ba675SRob Herring	pinctrl_uart5: uart5grp {
563*724ba675SRob Herring		fsl,pins = <
564*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT14__UART5_TX_DATA	0x1b0b1
565*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT15__UART5_RX_DATA    0x1b0b1
566*724ba675SRob Herring		>;
567*724ba675SRob Herring	};
568*724ba675SRob Herring
569*724ba675SRob Herring	pinctrl_usbh1: usbh1grp {
570*724ba675SRob Herring		fsl,pins = <
571*724ba675SRob Herring			MX6QDL_PAD_EIM_D30__USB_H1_OC  0x030b0
572*724ba675SRob Herring		>;
573*724ba675SRob Herring	};
574*724ba675SRob Herring
575*724ba675SRob Herring	pinctrl_usbh1_vbus: usbh1_vbus_grp {
576*724ba675SRob Herring		fsl,pins = <
577*724ba675SRob Herring			MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x1b0b0
578*724ba675SRob Herring		>;
579*724ba675SRob Herring	};
580*724ba675SRob Herring
581*724ba675SRob Herring	pinctrl_usdhc4: usdhc4grp {
582*724ba675SRob Herring		fsl,pins = <
583*724ba675SRob Herring			MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
584*724ba675SRob Herring			MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
585*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
586*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
587*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
588*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
589*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT4__SD4_DATA4		0x17059
590*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT5__SD4_DATA5		0x17059
591*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT6__SD4_DATA6		0x17059
592*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
593*724ba675SRob Herring			MX6QDL_PAD_NANDF_ALE__SD4_RESET	0x17059
594*724ba675SRob Herring		>;
595*724ba675SRob Herring	};
596*724ba675SRob Herring};
597