xref: /openbmc/linux/arch/arm/boot/dts/nxp/imx/imx6q-ba16.dtsi (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring/*
2*724ba675SRob Herring * Support for imx6 based Advantech DMS-BA16 Qseven module
3*724ba675SRob Herring *
4*724ba675SRob Herring * Copyright 2015 Timesys Corporation.
5*724ba675SRob Herring * Copyright 2015 General Electric Company
6*724ba675SRob Herring *
7*724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms
8*724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual
9*724ba675SRob Herring * licensing only applies to this file, and not this project as a
10*724ba675SRob Herring * whole.
11*724ba675SRob Herring *
12*724ba675SRob Herring *  a) This file is free software; you can redistribute it and/or
13*724ba675SRob Herring *     modify it under the terms of the GNU General Public License
14*724ba675SRob Herring *     version 2 as published by the Free Software Foundation.
15*724ba675SRob Herring *
16*724ba675SRob Herring *     This file is distributed in the hope that it will be useful,
17*724ba675SRob Herring *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18*724ba675SRob Herring *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*724ba675SRob Herring *     GNU General Public License for more details.
20*724ba675SRob Herring *
21*724ba675SRob Herring * Or, alternatively,
22*724ba675SRob Herring *
23*724ba675SRob Herring *  b) Permission is hereby granted, free of charge, to any person
24*724ba675SRob Herring *     obtaining a copy of this software and associated documentation
25*724ba675SRob Herring *     files (the "Software"), to deal in the Software without
26*724ba675SRob Herring *     restriction, including without limitation the rights to use,
27*724ba675SRob Herring *     copy, modify, merge, publish, distribute, sublicense, and/or
28*724ba675SRob Herring *     sell copies of the Software, and to permit persons to whom the
29*724ba675SRob Herring *     Software is furnished to do so, subject to the following
30*724ba675SRob Herring *     conditions:
31*724ba675SRob Herring *
32*724ba675SRob Herring *     The above copyright notice and this permission notice shall be
33*724ba675SRob Herring *     included in all copies or substantial portions of the Software.
34*724ba675SRob Herring *
35*724ba675SRob Herring *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36*724ba675SRob Herring *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37*724ba675SRob Herring *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38*724ba675SRob Herring *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39*724ba675SRob Herring *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40*724ba675SRob Herring *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41*724ba675SRob Herring *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42*724ba675SRob Herring *     OTHER DEALINGS IN THE SOFTWARE.
43*724ba675SRob Herring */
44*724ba675SRob Herring
45*724ba675SRob Herring#include "imx6q.dtsi"
46*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
47*724ba675SRob Herring
48*724ba675SRob Herring/ {
49*724ba675SRob Herring	memory@10000000 {
50*724ba675SRob Herring		device_type = "memory";
51*724ba675SRob Herring		reg = <0x10000000 0x40000000>;
52*724ba675SRob Herring	};
53*724ba675SRob Herring
54*724ba675SRob Herring	backlight_lvds: backlight {
55*724ba675SRob Herring		compatible = "pwm-backlight";
56*724ba675SRob Herring		pinctrl-names = "default";
57*724ba675SRob Herring		pinctrl-0 = <&pinctrl_display>;
58*724ba675SRob Herring		pwms = <&pwm1 0 5000000>;
59*724ba675SRob Herring		brightness-levels = <  0   1   2   3   4   5   6   7   8   9
60*724ba675SRob Herring				      10  11  12  13  14  15  16  17  18  19
61*724ba675SRob Herring				      20  21  22  23  24  25  26  27  28  29
62*724ba675SRob Herring				      30  31  32  33  34  35  36  37  38  39
63*724ba675SRob Herring				      40  41  42  43  44  45  46  47  48  49
64*724ba675SRob Herring				      50  51  52  53  54  55  56  57  58  59
65*724ba675SRob Herring				      60  61  62  63  64  65  66  67  68  69
66*724ba675SRob Herring				      70  71  72  73  74  75  76  77  78  79
67*724ba675SRob Herring				      80  81  82  83  84  85  86  87  88  89
68*724ba675SRob Herring				      90  91  92  93  94  95  96  97  98  99
69*724ba675SRob Herring				     100 101 102 103 104 105 106 107 108 109
70*724ba675SRob Herring				     110 111 112 113 114 115 116 117 118 119
71*724ba675SRob Herring				     120 121 122 123 124 125 126 127 128 129
72*724ba675SRob Herring				     130 131 132 133 134 135 136 137 138 139
73*724ba675SRob Herring				     140 141 142 143 144 145 146 147 148 149
74*724ba675SRob Herring				     150 151 152 153 154 155 156 157 158 159
75*724ba675SRob Herring				     160 161 162 163 164 165 166 167 168 169
76*724ba675SRob Herring				     170 171 172 173 174 175 176 177 178 179
77*724ba675SRob Herring				     180 181 182 183 184 185 186 187 188 189
78*724ba675SRob Herring				     190 191 192 193 194 195 196 197 198 199
79*724ba675SRob Herring				     200 201 202 203 204 205 206 207 208 209
80*724ba675SRob Herring				     210 211 212 213 214 215 216 217 218 219
81*724ba675SRob Herring				     220 221 222 223 224 225 226 227 228 229
82*724ba675SRob Herring				     230 231 232 233 234 235 236 237 238 239
83*724ba675SRob Herring				     240 241 242 243 244 245 246 247 248 249
84*724ba675SRob Herring				     250 251 252 253 254 255>;
85*724ba675SRob Herring		default-brightness-level = <255>;
86*724ba675SRob Herring		enable-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
87*724ba675SRob Herring	};
88*724ba675SRob Herring
89*724ba675SRob Herring	reg_1p8v: regulator-1p8v {
90*724ba675SRob Herring		compatible = "regulator-fixed";
91*724ba675SRob Herring		regulator-name = "1P8V";
92*724ba675SRob Herring		regulator-min-microvolt = <1800000>;
93*724ba675SRob Herring		regulator-max-microvolt = <1800000>;
94*724ba675SRob Herring		regulator-always-on;
95*724ba675SRob Herring	};
96*724ba675SRob Herring
97*724ba675SRob Herring	reg_3p3v: regulator-3p3v {
98*724ba675SRob Herring		compatible = "regulator-fixed";
99*724ba675SRob Herring		regulator-name = "3P3V";
100*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
101*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
102*724ba675SRob Herring		regulator-always-on;
103*724ba675SRob Herring	};
104*724ba675SRob Herring
105*724ba675SRob Herring	reg_lvds: regulator-lvds {
106*724ba675SRob Herring		compatible = "regulator-fixed";
107*724ba675SRob Herring		regulator-name = "lvds_ppen";
108*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
109*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
110*724ba675SRob Herring		regulator-boot-on;
111*724ba675SRob Herring		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
112*724ba675SRob Herring		enable-active-high;
113*724ba675SRob Herring	};
114*724ba675SRob Herring
115*724ba675SRob Herring	reg_usb_h1_vbus: regulator-usbh1vbus {
116*724ba675SRob Herring		compatible = "regulator-fixed";
117*724ba675SRob Herring		regulator-name = "usb_h1_vbus";
118*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
119*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
120*724ba675SRob Herring	};
121*724ba675SRob Herring
122*724ba675SRob Herring	reg_usb_otg_vbus: regulator-usbotgvbus {
123*724ba675SRob Herring		compatible = "regulator-fixed";
124*724ba675SRob Herring		regulator-name = "usb_otg_vbus";
125*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
126*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
127*724ba675SRob Herring		pinctrl-0 = <&pinctrl_usbotg_vbus>;
128*724ba675SRob Herring		gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
129*724ba675SRob Herring		enable-active-high;
130*724ba675SRob Herring	};
131*724ba675SRob Herring};
132*724ba675SRob Herring
133*724ba675SRob Herring&audmux {
134*724ba675SRob Herring	pinctrl-names = "default";
135*724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
136*724ba675SRob Herring	status = "okay";
137*724ba675SRob Herring};
138*724ba675SRob Herring
139*724ba675SRob Herring&ecspi1 {
140*724ba675SRob Herring	cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
141*724ba675SRob Herring	pinctrl-names = "default";
142*724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi1>;
143*724ba675SRob Herring	status = "okay";
144*724ba675SRob Herring
145*724ba675SRob Herring	flash: flash@0 {
146*724ba675SRob Herring		compatible = "jedec,spi-nor";
147*724ba675SRob Herring		#address-cells = <1>;
148*724ba675SRob Herring		#size-cells = <1>;
149*724ba675SRob Herring		spi-max-frequency = <20000000>;
150*724ba675SRob Herring		reg = <0>;
151*724ba675SRob Herring
152*724ba675SRob Herring		partition@0 {
153*724ba675SRob Herring			label = "U-Boot";
154*724ba675SRob Herring			reg = <0x0 0xc0000>;
155*724ba675SRob Herring		};
156*724ba675SRob Herring
157*724ba675SRob Herring		partition@c0000 {
158*724ba675SRob Herring			label = "env";
159*724ba675SRob Herring			reg = <0xc0000 0x10000>;
160*724ba675SRob Herring		};
161*724ba675SRob Herring
162*724ba675SRob Herring		partition@d0000 {
163*724ba675SRob Herring			label = "spare";
164*724ba675SRob Herring			reg = <0xd0000 0x320000>;
165*724ba675SRob Herring		};
166*724ba675SRob Herring
167*724ba675SRob Herring		partition@3f0000 {
168*724ba675SRob Herring			label = "mfg";
169*724ba675SRob Herring			reg = <0x3f0000 0x10000>;
170*724ba675SRob Herring		};
171*724ba675SRob Herring	};
172*724ba675SRob Herring};
173*724ba675SRob Herring
174*724ba675SRob Herring&fec {
175*724ba675SRob Herring	pinctrl-names = "default";
176*724ba675SRob Herring	pinctrl-0 = <&pinctrl_enet>;
177*724ba675SRob Herring	phy-mode = "rgmii-id";
178*724ba675SRob Herring	phy-supply = <&reg_3p3v>;
179*724ba675SRob Herring	phy-handle = <&phy0>;
180*724ba675SRob Herring	status = "okay";
181*724ba675SRob Herring
182*724ba675SRob Herring	mdio {
183*724ba675SRob Herring		#address-cells = <1>;
184*724ba675SRob Herring		#size-cells = <0>;
185*724ba675SRob Herring
186*724ba675SRob Herring		phy0: ethernet-phy@4 {
187*724ba675SRob Herring			reg = <4>;
188*724ba675SRob Herring			qca,clk-out-frequency = <125000000>;
189*724ba675SRob Herring		};
190*724ba675SRob Herring	};
191*724ba675SRob Herring};
192*724ba675SRob Herring
193*724ba675SRob Herring&hdmi {
194*724ba675SRob Herring	ddc-i2c-bus = <&i2c2>;
195*724ba675SRob Herring	status = "okay";
196*724ba675SRob Herring};
197*724ba675SRob Herring
198*724ba675SRob Herring&i2c1 {
199*724ba675SRob Herring	clock-frequency = <100000>;
200*724ba675SRob Herring	pinctrl-names = "default";
201*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
202*724ba675SRob Herring	status = "okay";
203*724ba675SRob Herring};
204*724ba675SRob Herring
205*724ba675SRob Herring&i2c2 {
206*724ba675SRob Herring	clock-frequency = <100000>;
207*724ba675SRob Herring	pinctrl-names = "default";
208*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
209*724ba675SRob Herring	status = "okay";
210*724ba675SRob Herring};
211*724ba675SRob Herring
212*724ba675SRob Herring&i2c3 {
213*724ba675SRob Herring	clock-frequency = <100000>;
214*724ba675SRob Herring	pinctrl-names = "default";
215*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
216*724ba675SRob Herring	status = "okay";
217*724ba675SRob Herring
218*724ba675SRob Herring	pmic@58 {
219*724ba675SRob Herring		compatible = "dlg,da9063";
220*724ba675SRob Herring		reg = <0x58>;
221*724ba675SRob Herring		pinctrl-names = "default";
222*724ba675SRob Herring		pinctrl-0 = <&pinctrl_pmic>;
223*724ba675SRob Herring		interrupt-parent = <&gpio7>;
224*724ba675SRob Herring		interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
225*724ba675SRob Herring
226*724ba675SRob Herring		onkey {
227*724ba675SRob Herring			compatible = "dlg,da9063-onkey";
228*724ba675SRob Herring		};
229*724ba675SRob Herring
230*724ba675SRob Herring		regulators {
231*724ba675SRob Herring			vdd_bcore1: bcore1 {
232*724ba675SRob Herring				regulator-min-microvolt = <1420000>;
233*724ba675SRob Herring				regulator-max-microvolt = <1420000>;
234*724ba675SRob Herring				regulator-always-on;
235*724ba675SRob Herring				regulator-boot-on;
236*724ba675SRob Herring			};
237*724ba675SRob Herring
238*724ba675SRob Herring			vdd_bcore2: bcore2 {
239*724ba675SRob Herring				regulator-min-microvolt = <1420000>;
240*724ba675SRob Herring				regulator-max-microvolt = <1420000>;
241*724ba675SRob Herring				regulator-always-on;
242*724ba675SRob Herring				regulator-boot-on;
243*724ba675SRob Herring			};
244*724ba675SRob Herring
245*724ba675SRob Herring			vdd_bpro: bpro {
246*724ba675SRob Herring				regulator-min-microvolt = <1500000>;
247*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
248*724ba675SRob Herring				regulator-always-on;
249*724ba675SRob Herring				regulator-boot-on;
250*724ba675SRob Herring			};
251*724ba675SRob Herring
252*724ba675SRob Herring			vdd_bmem: bmem {
253*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
254*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
255*724ba675SRob Herring				regulator-always-on;
256*724ba675SRob Herring				regulator-boot-on;
257*724ba675SRob Herring			};
258*724ba675SRob Herring
259*724ba675SRob Herring			vdd_bio: bio {
260*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
261*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
262*724ba675SRob Herring				regulator-always-on;
263*724ba675SRob Herring				regulator-boot-on;
264*724ba675SRob Herring			};
265*724ba675SRob Herring
266*724ba675SRob Herring			vdd_bperi: bperi {
267*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
268*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
269*724ba675SRob Herring				regulator-always-on;
270*724ba675SRob Herring				regulator-boot-on;
271*724ba675SRob Herring			};
272*724ba675SRob Herring
273*724ba675SRob Herring			vdd_ldo1: ldo1 {
274*724ba675SRob Herring				regulator-min-microvolt = <600000>;
275*724ba675SRob Herring				regulator-max-microvolt = <1860000>;
276*724ba675SRob Herring			};
277*724ba675SRob Herring
278*724ba675SRob Herring			vdd_ldo2: ldo2 {
279*724ba675SRob Herring				regulator-min-microvolt = <600000>;
280*724ba675SRob Herring				regulator-max-microvolt = <1860000>;
281*724ba675SRob Herring			};
282*724ba675SRob Herring
283*724ba675SRob Herring			vdd_ldo3: ldo3 {
284*724ba675SRob Herring				regulator-min-microvolt = <900000>;
285*724ba675SRob Herring				regulator-max-microvolt = <3440000>;
286*724ba675SRob Herring			};
287*724ba675SRob Herring
288*724ba675SRob Herring			vdd_ldo4: ldo4 {
289*724ba675SRob Herring				regulator-min-microvolt = <900000>;
290*724ba675SRob Herring				regulator-max-microvolt = <3440000>;
291*724ba675SRob Herring			};
292*724ba675SRob Herring
293*724ba675SRob Herring			vdd_ldo5: ldo5 {
294*724ba675SRob Herring				regulator-min-microvolt = <900000>;
295*724ba675SRob Herring				regulator-max-microvolt = <3600000>;
296*724ba675SRob Herring			};
297*724ba675SRob Herring
298*724ba675SRob Herring			vdd_ldo6: ldo6 {
299*724ba675SRob Herring				regulator-min-microvolt = <900000>;
300*724ba675SRob Herring				regulator-max-microvolt = <3600000>;
301*724ba675SRob Herring			};
302*724ba675SRob Herring
303*724ba675SRob Herring			vdd_ldo7: ldo7 {
304*724ba675SRob Herring				regulator-min-microvolt = <900000>;
305*724ba675SRob Herring				regulator-max-microvolt = <3600000>;
306*724ba675SRob Herring			};
307*724ba675SRob Herring
308*724ba675SRob Herring			vdd_ldo8: ldo8 {
309*724ba675SRob Herring				regulator-min-microvolt = <900000>;
310*724ba675SRob Herring				regulator-max-microvolt = <3600000>;
311*724ba675SRob Herring			};
312*724ba675SRob Herring
313*724ba675SRob Herring			vdd_ldo9: ldo9 {
314*724ba675SRob Herring				regulator-min-microvolt = <950000>;
315*724ba675SRob Herring				regulator-max-microvolt = <3600000>;
316*724ba675SRob Herring			};
317*724ba675SRob Herring
318*724ba675SRob Herring			vdd_ldo10: ldo10 {
319*724ba675SRob Herring				regulator-min-microvolt = <900000>;
320*724ba675SRob Herring				regulator-max-microvolt = <3600000>;
321*724ba675SRob Herring			};
322*724ba675SRob Herring
323*724ba675SRob Herring			vdd_ldo11: ldo11 {
324*724ba675SRob Herring				regulator-min-microvolt = <900000>;
325*724ba675SRob Herring				regulator-max-microvolt = <3600000>;
326*724ba675SRob Herring				regulator-always-on;
327*724ba675SRob Herring				regulator-boot-on;
328*724ba675SRob Herring			};
329*724ba675SRob Herring		};
330*724ba675SRob Herring	};
331*724ba675SRob Herring
332*724ba675SRob Herring	rtc@32 {
333*724ba675SRob Herring		compatible = "epson,rx8010";
334*724ba675SRob Herring		pinctrl-names = "default";
335*724ba675SRob Herring		pinctrl-0 = <&pinctrl_rtc>;
336*724ba675SRob Herring		reg = <0x32>;
337*724ba675SRob Herring		interrupt-parent = <&gpio4>;
338*724ba675SRob Herring		interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
339*724ba675SRob Herring	};
340*724ba675SRob Herring};
341*724ba675SRob Herring
342*724ba675SRob Herring&pcie {
343*724ba675SRob Herring	pinctrl-names = "default";
344*724ba675SRob Herring	pinctrl-0 = <&pinctrl_pcie>;
345*724ba675SRob Herring	reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
346*724ba675SRob Herring	fsl,tx-swing-full = <103>;
347*724ba675SRob Herring	fsl,tx-swing-low = <103>;
348*724ba675SRob Herring	status = "okay";
349*724ba675SRob Herring};
350*724ba675SRob Herring
351*724ba675SRob Herring&pwm1 {
352*724ba675SRob Herring	#pwm-cells = <2>;
353*724ba675SRob Herring	pinctrl-names = "default";
354*724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm1>;
355*724ba675SRob Herring	status = "okay";
356*724ba675SRob Herring};
357*724ba675SRob Herring
358*724ba675SRob Herring&pwm2 {
359*724ba675SRob Herring	pinctrl-names = "default";
360*724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm2>;
361*724ba675SRob Herring	status = "disabled";
362*724ba675SRob Herring};
363*724ba675SRob Herring
364*724ba675SRob Herring&sata {
365*724ba675SRob Herring	status = "okay";
366*724ba675SRob Herring};
367*724ba675SRob Herring
368*724ba675SRob Herring&ssi1 {
369*724ba675SRob Herring	status = "okay";
370*724ba675SRob Herring};
371*724ba675SRob Herring
372*724ba675SRob Herring&uart3 {
373*724ba675SRob Herring	pinctrl-names = "default";
374*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart3>;
375*724ba675SRob Herring	uart-has-rtscts;
376*724ba675SRob Herring	status = "okay";
377*724ba675SRob Herring};
378*724ba675SRob Herring
379*724ba675SRob Herring&uart4 {
380*724ba675SRob Herring	pinctrl-names = "default";
381*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart4>;
382*724ba675SRob Herring	status = "okay";
383*724ba675SRob Herring};
384*724ba675SRob Herring
385*724ba675SRob Herring&usbh1 {
386*724ba675SRob Herring	pinctrl-names = "default";
387*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbhub>;
388*724ba675SRob Herring	vbus-supply = <&reg_usb_h1_vbus>;
389*724ba675SRob Herring	reset-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
390*724ba675SRob Herring	status = "okay";
391*724ba675SRob Herring};
392*724ba675SRob Herring
393*724ba675SRob Herring&usbotg {
394*724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
395*724ba675SRob Herring	pinctrl-names = "default";
396*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
397*724ba675SRob Herring	disable-over-current;
398*724ba675SRob Herring	status = "okay";
399*724ba675SRob Herring};
400*724ba675SRob Herring
401*724ba675SRob Herring&usdhc2 {
402*724ba675SRob Herring	pinctrl-names = "default";
403*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc2>;
404*724ba675SRob Herring	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
405*724ba675SRob Herring	no-1-8-v;
406*724ba675SRob Herring	keep-power-in-suspend;
407*724ba675SRob Herring	wakeup-source;
408*724ba675SRob Herring	status = "okay";
409*724ba675SRob Herring};
410*724ba675SRob Herring
411*724ba675SRob Herring&usdhc3 {
412*724ba675SRob Herring	pinctrl-names = "default";
413*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3 &pinctrl_usdhc3_reset>;
414*724ba675SRob Herring	bus-width = <8>;
415*724ba675SRob Herring	vmmc-supply = <&vdd_bperi>;
416*724ba675SRob Herring	non-removable;
417*724ba675SRob Herring	keep-power-in-suspend;
418*724ba675SRob Herring	status = "okay";
419*724ba675SRob Herring};
420*724ba675SRob Herring
421*724ba675SRob Herring&wdog1 {
422*724ba675SRob Herring	pinctrl-names = "default";
423*724ba675SRob Herring	pinctrl-0 = <&pinctrl_wdog>;
424*724ba675SRob Herring	fsl,ext-reset-output;
425*724ba675SRob Herring};
426*724ba675SRob Herring
427*724ba675SRob Herring&iomuxc {
428*724ba675SRob Herring	pinctrl-names = "default";
429*724ba675SRob Herring	pinctrl-0 = <&pinctrl_hog>;
430*724ba675SRob Herring
431*724ba675SRob Herring	pinctrl_audmux: audmuxgrp {
432*724ba675SRob Herring		fsl,pins = <
433*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT20__AUD4_TXC  0x130b0
434*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT21__AUD4_TXD  0x130b0
435*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS 0x130b0
436*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT23__AUD4_RXD  0x130b0
437*724ba675SRob Herring		>;
438*724ba675SRob Herring	};
439*724ba675SRob Herring
440*724ba675SRob Herring	pinctrl_display: dispgrp {
441*724ba675SRob Herring		fsl,pins = <
442*724ba675SRob Herring			/* BLEN_OUT */
443*724ba675SRob Herring			MX6QDL_PAD_GPIO_0__GPIO1_IO00    0x1b0b0
444*724ba675SRob Herring			/* LVDS_PPEN_OUT */
445*724ba675SRob Herring			MX6QDL_PAD_EIM_D22__GPIO3_IO22   0x1b0b0
446*724ba675SRob Herring		>;
447*724ba675SRob Herring	};
448*724ba675SRob Herring
449*724ba675SRob Herring	pinctrl_ecspi1: ecspi1grp {
450*724ba675SRob Herring		fsl,pins = <
451*724ba675SRob Herring			MX6QDL_PAD_EIM_D17__ECSPI1_MISO	0x100b1
452*724ba675SRob Herring			MX6QDL_PAD_EIM_D18__ECSPI1_MOSI	0x100b1
453*724ba675SRob Herring			MX6QDL_PAD_EIM_D16__ECSPI1_SCLK	0x100b1
454*724ba675SRob Herring			/* SPI1 CS */
455*724ba675SRob Herring			MX6QDL_PAD_EIM_EB2__GPIO2_IO30	0x1b0b0
456*724ba675SRob Herring		>;
457*724ba675SRob Herring	};
458*724ba675SRob Herring
459*724ba675SRob Herring	pinctrl_ecspi5: ecspi5grp {
460*724ba675SRob Herring		fsl,pins = <
461*724ba675SRob Herring			MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO	0x1b0b0
462*724ba675SRob Herring			MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI		0x1b0b0
463*724ba675SRob Herring			MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK		0x1b0b0
464*724ba675SRob Herring			MX6QDL_PAD_SD1_DAT1__GPIO1_IO17		0x1b0b0
465*724ba675SRob Herring		>;
466*724ba675SRob Herring	};
467*724ba675SRob Herring
468*724ba675SRob Herring	pinctrl_enet: enetgrp {
469*724ba675SRob Herring		fsl,pins = <
470*724ba675SRob Herring			MX6QDL_PAD_ENET_MDIO__ENET_MDIO       0x100b0
471*724ba675SRob Herring			MX6QDL_PAD_ENET_MDC__ENET_MDC         0x100b0
472*724ba675SRob Herring			MX6QDL_PAD_RGMII_TXC__RGMII_TXC       0x10030
473*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD0__RGMII_TD0       0x10030
474*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD1__RGMII_TD1       0x10030
475*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD2__RGMII_TD2       0x10030
476*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD3__RGMII_TD3       0x10030
477*724ba675SRob Herring			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030
478*724ba675SRob Herring			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK  0x100b0
479*724ba675SRob Herring			MX6QDL_PAD_RGMII_RXC__RGMII_RXC       0x1b030
480*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD0__RGMII_RD0       0x1b030
481*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD1__RGMII_RD1       0x1b030
482*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD2__RGMII_RD2       0x1b030
483*724ba675SRob Herring			MX6QDL_PAD_RGMII_RD3__RGMII_RD3       0x1b030
484*724ba675SRob Herring			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
485*724ba675SRob Herring			/* FEC Reset */
486*724ba675SRob Herring			MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28     0x1b0b0
487*724ba675SRob Herring			/* AR8033 Interrupt */
488*724ba675SRob Herring			MX6QDL_PAD_GPIO_19__GPIO4_IO05        0x1b0b0
489*724ba675SRob Herring		>;
490*724ba675SRob Herring	};
491*724ba675SRob Herring
492*724ba675SRob Herring	pinctrl_hog: hoggrp {
493*724ba675SRob Herring		fsl,pins = <
494*724ba675SRob Herring			/* GPIO 0-7 */
495*724ba675SRob Herring			MX6QDL_PAD_NANDF_D0__GPIO2_IO00  0x1b0b0
496*724ba675SRob Herring			MX6QDL_PAD_NANDF_D1__GPIO2_IO01  0x1b0b0
497*724ba675SRob Herring			MX6QDL_PAD_NANDF_D2__GPIO2_IO02  0x1b0b0
498*724ba675SRob Herring			MX6QDL_PAD_NANDF_D3__GPIO2_IO03  0x1b0b0
499*724ba675SRob Herring			MX6QDL_PAD_NANDF_D4__GPIO2_IO04  0x1b0b0
500*724ba675SRob Herring			MX6QDL_PAD_NANDF_D5__GPIO2_IO05  0x1b0b0
501*724ba675SRob Herring			MX6QDL_PAD_NANDF_D6__GPIO2_IO06  0x1b0b0
502*724ba675SRob Herring			MX6QDL_PAD_NANDF_D7__GPIO2_IO07  0x1b0b0
503*724ba675SRob Herring			/* SUS_S3_OUT to CPLD */
504*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW2__GPIO4_IO11  0x1b0b0
505*724ba675SRob Herring		>;
506*724ba675SRob Herring	};
507*724ba675SRob Herring
508*724ba675SRob Herring	pinctrl_i2c1: i2c1grp {
509*724ba675SRob Herring		fsl,pins = <
510*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA	0x4001b8b1
511*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL	0x4001b8b1
512*724ba675SRob Herring		>;
513*724ba675SRob Herring	};
514*724ba675SRob Herring
515*724ba675SRob Herring	pinctrl_i2c2: i2c2grp {
516*724ba675SRob Herring		fsl,pins = <
517*724ba675SRob Herring			MX6QDL_PAD_KEY_COL3__I2C2_SCL	0x4001b8b1
518*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW3__I2C2_SDA	0x4001b8b1
519*724ba675SRob Herring		>;
520*724ba675SRob Herring	};
521*724ba675SRob Herring
522*724ba675SRob Herring	pinctrl_i2c3: i2c3grp {
523*724ba675SRob Herring		fsl,pins = <
524*724ba675SRob Herring			MX6QDL_PAD_GPIO_3__I2C3_SCL	0x4001b8b1
525*724ba675SRob Herring			MX6QDL_PAD_GPIO_6__I2C3_SDA	0x4001b8b1
526*724ba675SRob Herring		>;
527*724ba675SRob Herring	};
528*724ba675SRob Herring
529*724ba675SRob Herring	pinctrl_pcie: pciegrp {
530*724ba675SRob Herring		fsl,pins = <
531*724ba675SRob Herring			/* PCIe Reset */
532*724ba675SRob Herring			MX6QDL_PAD_GPIO_17__GPIO7_IO12	0x1b0b0
533*724ba675SRob Herring			/* PCIe Wake */
534*724ba675SRob Herring			MX6QDL_PAD_GPIO_5__GPIO1_IO05	0x1b0b0
535*724ba675SRob Herring		>;
536*724ba675SRob Herring	};
537*724ba675SRob Herring
538*724ba675SRob Herring	pinctrl_pmic: pmicgrp {
539*724ba675SRob Herring		fsl,pins = <
540*724ba675SRob Herring			/* PMIC Interrupt */
541*724ba675SRob Herring			MX6QDL_PAD_GPIO_18__GPIO7_IO13	0x1b0b0
542*724ba675SRob Herring		>;
543*724ba675SRob Herring	};
544*724ba675SRob Herring
545*724ba675SRob Herring	pinctrl_pwm1: pwm1grp {
546*724ba675SRob Herring		fsl,pins = <
547*724ba675SRob Herring			MX6QDL_PAD_SD1_DAT3__PWM1_OUT	0x1b0b1
548*724ba675SRob Herring		>;
549*724ba675SRob Herring	};
550*724ba675SRob Herring
551*724ba675SRob Herring	pinctrl_pwm2: pwm2grp {
552*724ba675SRob Herring		fsl,pins = <
553*724ba675SRob Herring			MX6QDL_PAD_GPIO_1__PWM2_OUT	0x1b0b1
554*724ba675SRob Herring		>;
555*724ba675SRob Herring	};
556*724ba675SRob Herring
557*724ba675SRob Herring	pinctrl_rtc: rtcgrp {
558*724ba675SRob Herring		fsl,pins = <
559*724ba675SRob Herring			/* RTC_INT */
560*724ba675SRob Herring			MX6QDL_PAD_KEY_COL2__GPIO4_IO10	0x1b0b0
561*724ba675SRob Herring		>;
562*724ba675SRob Herring	};
563*724ba675SRob Herring
564*724ba675SRob Herring	pinctrl_uart3: uart3grp {
565*724ba675SRob Herring		fsl,pins = <
566*724ba675SRob Herring			MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
567*724ba675SRob Herring			MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
568*724ba675SRob Herring			MX6QDL_PAD_EIM_D23__UART3_CTS_B   0x1b0b1
569*724ba675SRob Herring			MX6QDL_PAD_EIM_D31__UART3_RTS_B   0x1b0b1
570*724ba675SRob Herring		>;
571*724ba675SRob Herring	};
572*724ba675SRob Herring
573*724ba675SRob Herring	pinctrl_uart4: uart4grp {
574*724ba675SRob Herring		fsl,pins = <
575*724ba675SRob Herring			MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
576*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
577*724ba675SRob Herring		>;
578*724ba675SRob Herring	};
579*724ba675SRob Herring
580*724ba675SRob Herring	pinctrl_usbhub: usbhubgrp {
581*724ba675SRob Herring		fsl,pins = <
582*724ba675SRob Herring			/* HUB_RESET */
583*724ba675SRob Herring			MX6QDL_PAD_GPIO_16__GPIO7_IO11	0x1b0b0
584*724ba675SRob Herring		>;
585*724ba675SRob Herring	};
586*724ba675SRob Herring
587*724ba675SRob Herring	pinctrl_usbotg: usbotggrp {
588*724ba675SRob Herring		fsl,pins = <
589*724ba675SRob Herring			MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
590*724ba675SRob Herring		>;
591*724ba675SRob Herring	};
592*724ba675SRob Herring
593*724ba675SRob Herring	pinctrl_usbotg_vbus: usbotgvbusgrp {
594*724ba675SRob Herring		fsl,pins = <
595*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b0
596*724ba675SRob Herring		>;
597*724ba675SRob Herring	};
598*724ba675SRob Herring
599*724ba675SRob Herring	pinctrl_usdhc2: usdhc2grp {
600*724ba675SRob Herring		fsl,pins = <
601*724ba675SRob Herring			MX6QDL_PAD_SD2_CMD__SD2_CMD	0x17059
602*724ba675SRob Herring			MX6QDL_PAD_SD2_CLK__SD2_CLK	0x10059
603*724ba675SRob Herring			MX6QDL_PAD_SD2_DAT0__SD2_DATA0	0x17059
604*724ba675SRob Herring			MX6QDL_PAD_SD2_DAT1__SD2_DATA1	0x17059
605*724ba675SRob Herring			MX6QDL_PAD_SD2_DAT2__SD2_DATA2	0x17059
606*724ba675SRob Herring			MX6QDL_PAD_SD2_DAT3__SD2_DATA3	0x17059
607*724ba675SRob Herring			/* uSDHC2 CD */
608*724ba675SRob Herring			MX6QDL_PAD_GPIO_4__GPIO1_IO04	0x1b0b0
609*724ba675SRob Herring		>;
610*724ba675SRob Herring	};
611*724ba675SRob Herring
612*724ba675SRob Herring	pinctrl_usdhc3: usdhc3grp {
613*724ba675SRob Herring		fsl,pins = <
614*724ba675SRob Herring			MX6QDL_PAD_SD3_CMD__SD3_CMD	0x17059
615*724ba675SRob Herring			MX6QDL_PAD_SD3_CLK__SD3_CLK	0x10059
616*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT0__SD3_DATA0	0x17059
617*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT1__SD3_DATA1	0x17059
618*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT2__SD3_DATA2	0x17059
619*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT3__SD3_DATA3	0x17059
620*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT4__SD3_DATA4	0x17059
621*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__SD3_DATA5	0x17059
622*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT6__SD3_DATA6	0x17059
623*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT7__SD3_DATA7	0x17059
624*724ba675SRob Herring		>;
625*724ba675SRob Herring	};
626*724ba675SRob Herring
627*724ba675SRob Herring	pinctrl_usdhc3_reset: usdhc3grp-reset {
628*724ba675SRob Herring		fsl,pins = <
629*724ba675SRob Herring			MX6QDL_PAD_SD3_RST__SD3_RESET   0x170F9
630*724ba675SRob Herring		>;
631*724ba675SRob Herring	};
632*724ba675SRob Herring
633*724ba675SRob Herring	pinctrl_usdhc4: usdhc4grp {
634*724ba675SRob Herring		fsl,pins = <
635*724ba675SRob Herring			MX6QDL_PAD_SD4_CMD__SD4_CMD	0x17059
636*724ba675SRob Herring			MX6QDL_PAD_SD4_CLK__SD4_CLK	0x17059
637*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT0__SD4_DATA0	0x17059
638*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT1__SD4_DATA1	0x17059
639*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT2__SD4_DATA2	0x17059
640*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT3__SD4_DATA3	0x17059
641*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT4__SD4_DATA4	0x17059
642*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT5__SD4_DATA5	0x17059
643*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT6__SD4_DATA6	0x17059
644*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT7__SD4_DATA7	0x17059
645*724ba675SRob Herring			/* uSDHC4 CD */
646*724ba675SRob Herring			MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x1b0b0
647*724ba675SRob Herring			/* uSDHC4 SDIO PWR */
648*724ba675SRob Herring			MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x1b0b0
649*724ba675SRob Herring			/* uSDHC4 SDIO WP */
650*724ba675SRob Herring			MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x1b0b0
651*724ba675SRob Herring			/* uSDHC4 SDIO LED */
652*724ba675SRob Herring			MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x1b0b0
653*724ba675SRob Herring		>;
654*724ba675SRob Herring	};
655*724ba675SRob Herring
656*724ba675SRob Herring	pinctrl_wdog: wdoggrp {
657*724ba675SRob Herring		fsl,pins = <
658*724ba675SRob Herring			MX6QDL_PAD_GPIO_9__WDOG1_B	0x1b0b0
659*724ba675SRob Herring		>;
660*724ba675SRob Herring	};
661*724ba675SRob Herring};
662