blob: 291f556029f6c966700e7714ebe951184618938d [file] [log] [blame]
Frank Li5db106b2015-05-19 02:45:05 +08001/*
2 * Copyright (C) 2015 Freescale Semiconductor, Inc.
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
13 *
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * Or, alternatively,
20 *
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
28 * conditions:
29 *
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
32 *
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
41 */
42
43/dts-v1/;
44
Stefan Agnera67970a2016-06-26 01:47:53 -070045#include "imx7d.dtsi"
Frank Li5db106b2015-05-19 02:45:05 +080046
47/ {
48 model = "Freescale i.MX7 SabreSD Board";
49 compatible = "fsl,imx7d-sdb", "fsl,imx7d";
50
51 memory {
52 reg = <0x80000000 0x80000000>;
53 };
54
Andrey Smirnov184f39b2017-05-15 07:53:03 -070055 spi4 {
56 compatible = "spi-gpio";
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_spi4>;
59 gpio-sck = <&gpio1 13 GPIO_ACTIVE_HIGH>;
60 gpio-mosi = <&gpio1 9 GPIO_ACTIVE_HIGH>;
61 cs-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
62 num-chipselects = <1>;
63 #address-cells = <1>;
64 #size-cells = <0>;
65
66 extended_io: gpio-expander@0 {
67 compatible = "fairchild,74hc595";
68 gpio-controller;
69 #gpio-cells = <2>;
70 reg = <0>;
71 registers-number = <1>;
72 spi-max-frequency = <100000>;
73 };
74 };
75
Fabio Estevamb877039a2017-06-05 08:17:47 -030076 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
77 compatible = "regulator-fixed";
78 regulator-name = "usb_otg1_vbus";
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5000000>;
81 gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
82 enable-active-high;
83 };
Frank Li5db106b2015-05-19 02:45:05 +080084
Fabio Estevamb877039a2017-06-05 08:17:47 -030085 reg_usb_otg2_vbus: regulator-usb-otg1-vbus {
86 compatible = "regulator-fixed";
87 regulator-name = "usb_otg2_vbus";
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
90 gpio = <&gpio4 7 GPIO_ACTIVE_HIGH>;
91 enable-active-high;
92 };
Frank Li5db106b2015-05-19 02:45:05 +080093
Fabio Estevamb877039a2017-06-05 08:17:47 -030094 reg_can2_3v3: regulator-can2-3v3 {
95 compatible = "regulator-fixed";
96 regulator-name = "can2-3v3";
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
99 gpio = <&gpio1 7 GPIO_ACTIVE_LOW>;
100 };
Frank Li5db106b2015-05-19 02:45:05 +0800101
Fabio Estevamb877039a2017-06-05 08:17:47 -0300102 reg_vref_1v8: regulator-vref-1v8 {
103 compatible = "regulator-fixed";
104 regulator-name = "vref-1v8";
105 regulator-min-microvolt = <1800000>;
106 regulator-max-microvolt = <1800000>;
Frank Li5db106b2015-05-19 02:45:05 +0800107 };
108};
109
Haibo Chen64b83432015-12-08 18:26:23 +0800110&adc1 {
111 vref-supply = <&reg_vref_1v8>;
112 status = "okay";
113};
114
115&adc2 {
116 vref-supply = <&reg_vref_1v8>;
117 status = "okay";
118};
119
Frank Li5db106b2015-05-19 02:45:05 +0800120&cpu0 {
121 arm-supply = <&sw1a_reg>;
122};
123
Diego Dortad09e6be2016-06-22 16:37:09 -0300124&ecspi3 {
Diego Dortad09e6be2016-06-22 16:37:09 -0300125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_ecspi3>;
127 cs-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
128 status = "okay";
129
130 tsc2046@0 {
131 compatible = "ti,tsc2046";
132 reg = <0>;
133 spi-max-frequency = <1000000>;
134 pinctrl-names ="default";
135 pinctrl-0 = <&pinctrl_tsc2046_pendown>;
136 interrupt-parent = <&gpio2>;
137 interrupts = <29 0>;
138 pendown-gpio = <&gpio2 29 GPIO_ACTIVE_HIGH>;
139 ti,x-min = /bits/ 16 <0>;
140 ti,x-max = /bits/ 16 <0>;
141 ti,y-min = /bits/ 16 <0>;
142 ti,y-max = /bits/ 16 <0>;
143 ti,pressure-max = /bits/ 16 <0>;
Vladimir Zapolskiyf7d35862016-08-29 04:41:50 +0300144 ti,x-plate-ohms = /bits/ 16 <400>;
Diego Dortad09e6be2016-06-22 16:37:09 -0300145 wakeup-source;
146 };
147};
148
Fugang Duan47bcc8c2015-09-07 10:55:02 +0800149&fec1 {
150 pinctrl-names = "default";
151 pinctrl-0 = <&pinctrl_enet1>;
152 assigned-clocks = <&clks IMX7D_ENET1_TIME_ROOT_SRC>,
153 <&clks IMX7D_ENET1_TIME_ROOT_CLK>;
154 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
155 assigned-clock-rates = <0>, <100000000>;
156 phy-mode = "rgmii";
157 phy-handle = <&ethphy0>;
158 fsl,magic-packet;
159 status = "okay";
160
161 mdio {
162 #address-cells = <1>;
163 #size-cells = <0>;
164
165 ethphy0: ethernet-phy@0 {
166 reg = <0>;
167 };
168
169 ethphy1: ethernet-phy@1 {
170 reg = <1>;
171 };
172 };
173};
174
175&fec2 {
176 pinctrl-names = "default";
177 pinctrl-0 = <&pinctrl_enet2>;
178 assigned-clocks = <&clks IMX7D_ENET2_TIME_ROOT_SRC>,
179 <&clks IMX7D_ENET2_TIME_ROOT_CLK>;
180 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
181 assigned-clock-rates = <0>, <100000000>;
182 phy-mode = "rgmii";
183 phy-handle = <&ethphy1>;
184 fsl,magic-packet;
185 status = "okay";
186};
187
Frank Li5db106b2015-05-19 02:45:05 +0800188&i2c1 {
189 pinctrl-names = "default";
190 pinctrl-0 = <&pinctrl_i2c1>;
191 status = "okay";
192
193 pmic: pfuze3000@08 {
194 compatible = "fsl,pfuze3000";
195 reg = <0x08>;
196
197 regulators {
198 sw1a_reg: sw1a {
199 regulator-min-microvolt = <700000>;
200 regulator-max-microvolt = <1475000>;
201 regulator-boot-on;
202 regulator-always-on;
203 regulator-ramp-delay = <6250>;
204 };
205
206 /* use sw1c_reg to align with pfuze100/pfuze200 */
207 sw1c_reg: sw1b {
208 regulator-min-microvolt = <700000>;
209 regulator-max-microvolt = <1475000>;
210 regulator-boot-on;
211 regulator-always-on;
212 regulator-ramp-delay = <6250>;
213 };
214
215 sw2_reg: sw2 {
216 regulator-min-microvolt = <1500000>;
217 regulator-max-microvolt = <1850000>;
218 regulator-boot-on;
219 regulator-always-on;
220 };
221
222 sw3a_reg: sw3 {
223 regulator-min-microvolt = <900000>;
224 regulator-max-microvolt = <1650000>;
225 regulator-boot-on;
226 regulator-always-on;
227 };
228
229 swbst_reg: swbst {
230 regulator-min-microvolt = <5000000>;
231 regulator-max-microvolt = <5150000>;
232 };
233
234 snvs_reg: vsnvs {
235 regulator-min-microvolt = <1000000>;
236 regulator-max-microvolt = <3000000>;
237 regulator-boot-on;
238 regulator-always-on;
239 };
240
241 vref_reg: vrefddr {
242 regulator-boot-on;
243 regulator-always-on;
244 };
245
246 vgen1_reg: vldo1 {
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <3300000>;
249 regulator-always-on;
250 };
251
252 vgen2_reg: vldo2 {
253 regulator-min-microvolt = <800000>;
254 regulator-max-microvolt = <1550000>;
255 };
256
257 vgen3_reg: vccsd {
258 regulator-min-microvolt = <2850000>;
259 regulator-max-microvolt = <3300000>;
260 regulator-always-on;
261 };
262
263 vgen4_reg: v33 {
264 regulator-min-microvolt = <2850000>;
265 regulator-max-microvolt = <3300000>;
266 regulator-always-on;
267 };
268
269 vgen5_reg: vldo3 {
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <3300000>;
272 regulator-always-on;
273 };
274
275 vgen6_reg: vldo4 {
276 regulator-min-microvolt = <1800000>;
277 regulator-max-microvolt = <3300000>;
278 regulator-always-on;
279 };
280 };
281 };
282};
283
284&i2c2 {
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_i2c2>;
287 status = "okay";
288};
289
290&i2c3 {
291 pinctrl-names = "default";
292 pinctrl-0 = <&pinctrl_i2c3>;
293 status = "okay";
294};
295
296&i2c4 {
297 pinctrl-names = "default";
298 pinctrl-0 = <&pinctrl_i2c4>;
299 status = "okay";
300
301 codec: wm8960@1a {
302 compatible = "wlf,wm8960";
303 reg = <0x1a>;
304 clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
305 clock-names = "mclk";
306 wlf,shared-lrclk;
307 };
308};
309
Diego Dorta41969052016-06-22 16:37:08 -0300310&lcdif {
311 pinctrl-names = "default";
312 pinctrl-0 = <&pinctrl_lcdif>;
313 display = <&display0>;
314 status = "okay";
315
316 display0: display {
317 bits-per-pixel = <16>;
318 bus-width = <24>;
319
320 display-timings {
321 native-mode = <&timing0>;
322
323 timing0: timing0 {
324 clock-frequency = <9200000>;
325 hactive = <480>;
326 vactive = <272>;
327 hfront-porch = <8>;
328 hback-porch = <4>;
329 hsync-len = <41>;
330 vback-porch = <2>;
331 vfront-porch = <4>;
332 vsync-len = <10>;
333 hsync-active = <0>;
334 vsync-active = <0>;
335 de-active = <1>;
336 pixelclk-active = <0>;
337 };
338 };
339 };
340};
341
Andrey Smirnov34adfaa2017-05-15 07:53:05 -0700342&pcie {
343 reset-gpio = <&extended_io 1 GPIO_ACTIVE_LOW>;
344 status = "okay";
345};
346
Diego Dorta41969052016-06-22 16:37:08 -0300347&pwm1 {
348 pinctrl-names = "default";
349 pinctrl-0 = <&pinctrl_pwm1>;
350 status = "okay";
351};
352
Frank Li5db106b2015-05-19 02:45:05 +0800353&uart1 {
354 pinctrl-names = "default";
355 pinctrl-0 = <&pinctrl_uart1>;
356 assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>;
357 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
358 status = "okay";
359};
360
Fabio Estevama81fd342015-09-07 22:57:12 -0300361&usbotg1 {
362 vbus-supply = <&reg_usb_otg1_vbus>;
363 status = "okay";
364};
365
366&usbotg2 {
367 vbus-supply = <&reg_usb_otg2_vbus>;
368 dr_mode = "host";
369 status = "okay";
370};
371
Frank Li5db106b2015-05-19 02:45:05 +0800372&usdhc1 {
373 pinctrl-names = "default";
374 pinctrl-0 = <&pinctrl_usdhc1>;
Dong Aisheng1cd55942015-07-22 20:53:04 +0800375 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
376 wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
Sudeep Holla26cefdd2015-10-21 11:10:08 +0100377 wakeup-source;
Frank Li5db106b2015-05-19 02:45:05 +0800378 keep-power-in-suspend;
379 status = "okay";
380};
381
Haibo Chenf651d782015-08-11 19:38:29 +0800382&usdhc3 {
383 pinctrl-names = "default", "state_100mhz", "state_200mhz";
384 pinctrl-0 = <&pinctrl_usdhc3>;
385 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
386 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
387 assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
388 assigned-clock-rates = <400000000>;
389 bus-width = <8>;
390 fsl,tuning-step = <2>;
391 non-removable;
392 status = "okay";
393};
394
Fabio Estevam51fd0322016-06-13 22:07:57 -0300395&wdog1 {
396 pinctrl-names = "default";
397 pinctrl-0 = <&pinctrl_wdog>;
398 fsl,ext-reset-output;
399};
400
Frank Li5db106b2015-05-19 02:45:05 +0800401&iomuxc {
402 pinctrl-names = "default";
403 pinctrl-0 = <&pinctrl_hog>;
404
405 imx7d-sdb {
Diego Dortad09e6be2016-06-22 16:37:09 -0300406 pinctrl_ecspi3: ecspi3grp {
407 fsl,pins = <
408 MX7D_PAD_SAI2_TX_SYNC__ECSPI3_MISO 0x2
409 MX7D_PAD_SAI2_TX_BCLK__ECSPI3_MOSI 0x2
410 MX7D_PAD_SAI2_RX_DATA__ECSPI3_SCLK 0x2
411 MX7D_PAD_SD2_CD_B__GPIO5_IO9 0x59
412 >;
413 };
414
Fugang Duan47bcc8c2015-09-07 10:55:02 +0800415 pinctrl_enet1: enet1grp {
416 fsl,pins = <
417 MX7D_PAD_GPIO1_IO10__ENET1_MDIO 0x3
418 MX7D_PAD_GPIO1_IO11__ENET1_MDC 0x3
419 MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC 0x1
420 MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0 0x1
421 MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1 0x1
422 MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2 0x1
423 MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3 0x1
424 MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL 0x1
425 MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC 0x1
426 MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x1
427 MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x1
428 MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2 0x1
429 MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3 0x1
430 MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x1
431 >;
432 };
433
434 pinctrl_enet2: enet2grp {
435 fsl,pins = <
436 MX7D_PAD_EPDC_GDSP__ENET2_RGMII_TXC 0x1
437 MX7D_PAD_EPDC_SDCE2__ENET2_RGMII_TD0 0x1
438 MX7D_PAD_EPDC_SDCE3__ENET2_RGMII_TD1 0x1
439 MX7D_PAD_EPDC_GDCLK__ENET2_RGMII_TD2 0x1
440 MX7D_PAD_EPDC_GDOE__ENET2_RGMII_TD3 0x1
441 MX7D_PAD_EPDC_GDRL__ENET2_RGMII_TX_CTL 0x1
442 MX7D_PAD_EPDC_SDCE1__ENET2_RGMII_RXC 0x1
443 MX7D_PAD_EPDC_SDCLK__ENET2_RGMII_RD0 0x1
444 MX7D_PAD_EPDC_SDLE__ENET2_RGMII_RD1 0x1
445 MX7D_PAD_EPDC_SDOE__ENET2_RGMII_RD2 0x1
446 MX7D_PAD_EPDC_SDSHR__ENET2_RGMII_RD3 0x1
447 MX7D_PAD_EPDC_SDCE0__ENET2_RGMII_RX_CTL 0x1
448 >;
449 };
450
Frank Li5db106b2015-05-19 02:45:05 +0800451 pinctrl_hog: hoggrp {
452 fsl,pins = <
453 MX7D_PAD_UART3_CTS_B__GPIO4_IO7 0x14
454 MX7D_PAD_ECSPI2_SS0__GPIO4_IO23 0x34 /* bt reg on */
455 >;
456 };
457
458 pinctrl_i2c1: i2c1grp {
459 fsl,pins = <
460 MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f
461 MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f
462 >;
463 };
464
465 pinctrl_i2c2: i2c2grp {
466 fsl,pins = <
467 MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f
468 MX7D_PAD_I2C2_SCL__I2C2_SCL 0x4000007f
469 >;
470 };
471
472 pinctrl_i2c3: i2c3grp {
473 fsl,pins = <
474 MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
475 MX7D_PAD_I2C3_SCL__I2C3_SCL 0x4000007f
476 >;
477 };
478
479 pinctrl_i2c4: i2c4grp {
480 fsl,pins = <
481 MX7D_PAD_SAI1_RX_BCLK__I2C4_SDA 0x4000007f
482 MX7D_PAD_SAI1_RX_SYNC__I2C4_SCL 0x4000007f
483 >;
484 };
485
Diego Dorta41969052016-06-22 16:37:08 -0300486 pinctrl_lcdif: lcdifgrp {
487 fsl,pins = <
488 MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79
489 MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79
490 MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79
491 MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79
492 MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79
493 MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79
494 MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79
495 MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79
496 MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79
497 MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79
498 MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79
499 MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79
500 MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79
501 MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79
502 MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79
503 MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79
504 MX7D_PAD_LCD_DATA16__LCD_DATA16 0x79
505 MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79
506 MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79
507 MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79
508 MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79
509 MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79
510 MX7D_PAD_LCD_DATA22__LCD_DATA22 0x79
511 MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79
512 MX7D_PAD_LCD_CLK__LCD_CLK 0x79
513 MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x79
514 MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x79
515 MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x79
516 MX7D_PAD_LCD_RESET__LCD_RESET 0x79
517 >;
518 };
519
Diego Dortad09e6be2016-06-22 16:37:09 -0300520 pinctrl_tsc2046_pendown: tsc2046_pendown {
521 fsl,pins = <
522 MX7D_PAD_EPDC_BDR1__GPIO2_IO29 0x59
523 >;
524 };
525
Frank Li5db106b2015-05-19 02:45:05 +0800526 pinctrl_uart1: uart1grp {
527 fsl,pins = <
528 MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79
529 MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX 0x79
530 >;
531 };
532
533 pinctrl_uart5: uart5grp {
534 fsl,pins = <
535 MX7D_PAD_SAI1_TX_BCLK__UART5_DCE_TX 0x79
536 MX7D_PAD_SAI1_RX_DATA__UART5_DCE_RX 0x79
537 MX7D_PAD_SAI1_TX_SYNC__UART5_DCE_CTS 0x79
538 MX7D_PAD_SAI1_TX_DATA__UART5_DCE_RTS 0x79
539 >;
540 };
541
542 pinctrl_uart6: uart6grp {
543 fsl,pins = <
544 MX7D_PAD_ECSPI1_MOSI__UART6_DCE_TX 0x79
545 MX7D_PAD_ECSPI1_SCLK__UART6_DCE_RX 0x79
546 MX7D_PAD_ECSPI1_SS0__UART6_DCE_CTS 0x79
547 MX7D_PAD_ECSPI1_MISO__UART6_DCE_RTS 0x79
548 >;
549 };
550
551 pinctrl_usdhc1: usdhc1grp {
552 fsl,pins = <
553 MX7D_PAD_SD1_CMD__SD1_CMD 0x59
554 MX7D_PAD_SD1_CLK__SD1_CLK 0x19
555 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x59
556 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x59
557 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x59
558 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59
559 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x59 /* CD */
560 MX7D_PAD_SD1_WP__GPIO5_IO1 0x59 /* WP */
561 MX7D_PAD_SD1_RESET_B__GPIO5_IO2 0x59 /* vmmc */
562 >;
563 };
564
565 pinctrl_usdhc2: usdhc2grp {
566 fsl,pins = <
567 MX7D_PAD_SD2_CMD__SD2_CMD 0x59
568 MX7D_PAD_SD2_CLK__SD2_CLK 0x19
569 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59
570 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59
571 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59
572 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59
573 MX7D_PAD_ECSPI2_MOSI__GPIO4_IO21 0x59 /* WL_REG_ON */
574 >;
575 };
576
577 pinctrl_usdhc2_100mhz: usdhc2grp_100mhz {
578 fsl,pins = <
579 MX7D_PAD_SD2_CMD__SD2_CMD 0x5a
580 MX7D_PAD_SD2_CLK__SD2_CLK 0x1a
581 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x5a
582 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x5a
583 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x5a
584 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x5a
585 >;
586 };
587
588 pinctrl_usdhc2_200mhz: usdhc2grp_200mhz {
589 fsl,pins = <
590 MX7D_PAD_SD2_CMD__SD2_CMD 0x5b
591 MX7D_PAD_SD2_CLK__SD2_CLK 0x1b
592 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x5b
593 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x5b
594 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x5b
595 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x5b
596 >;
597 };
598
599
600 pinctrl_usdhc3: usdhc3grp {
601 fsl,pins = <
602 MX7D_PAD_SD3_CMD__SD3_CMD 0x59
603 MX7D_PAD_SD3_CLK__SD3_CLK 0x19
604 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
605 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
606 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
607 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
608 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
609 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
610 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
611 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
612 MX7D_PAD_SD3_STROBE__SD3_STROBE 0x19
613 >;
614 };
615
616 pinctrl_usdhc3_100mhz: usdhc3grp_100mhz {
617 fsl,pins = <
618 MX7D_PAD_SD3_CMD__SD3_CMD 0x5a
619 MX7D_PAD_SD3_CLK__SD3_CLK 0x1a
620 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a
621 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a
622 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a
623 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a
624 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a
625 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a
626 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a
627 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a
628 MX7D_PAD_SD3_STROBE__SD3_STROBE 0x1a
629 >;
630 };
631
632 pinctrl_usdhc3_200mhz: usdhc3grp_200mhz {
633 fsl,pins = <
634 MX7D_PAD_SD3_CMD__SD3_CMD 0x5b
635 MX7D_PAD_SD3_CLK__SD3_CLK 0x1b
636 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b
637 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b
638 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b
639 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b
640 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b
641 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b
642 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b
643 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b
644 MX7D_PAD_SD3_STROBE__SD3_STROBE 0x1b
645 >;
646 };
Sascha Hauer9a20aa22017-01-19 10:09:22 +0100647 };
648};
Frank Li5db106b2015-05-19 02:45:05 +0800649
Sascha Hauer9a20aa22017-01-19 10:09:22 +0100650&iomuxc_lpsr {
651 pinctrl_wdog: wdoggrp {
652 fsl,pins = <
Fabio Estevam37de44f2017-05-27 10:17:52 -0300653 MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x74
Sascha Hauer9a20aa22017-01-19 10:09:22 +0100654 >;
655 };
656
657 pinctrl_pwm1: pwm1grp {
658 fsl,pins = <
Sascha Hauer213e51c2017-01-19 10:09:24 +0100659 MX7D_PAD_LPSR_GPIO1_IO01__PWM1_OUT 0x110b0
Sascha Hauer9a20aa22017-01-19 10:09:22 +0100660 >;
Andrey Smirnov184f39b2017-05-15 07:53:03 -0700661
662 pinctrl_spi4: spi4grp {
663 fsl,pins = <
664 MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x59
665 MX7D_PAD_GPIO1_IO12__GPIO1_IO12 0x59
666 MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x59
667 >;
668 };
Frank Li5db106b2015-05-19 02:45:05 +0800669 };
670};