blob: ea54922f15f8aca72b281c4f377ce3601f3695df [file] [log] [blame]
Tim Harveyacb9a132021-03-01 14:33:30 -08001/*
2 * Copyright 2017 Gateworks Corporation
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
12 * the 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 * You should have received a copy of the GNU General Public
20 * License along with this file; if not, write to the Free
21 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22 * MA 02110-1301 USA
23 *
24 * Or, alternatively,
25 *
26 * b) Permission is hereby granted, free of charge, to any person
27 * obtaining a copy of this software and associated documentation
28 * files (the "Software"), to deal in the Software without
29 * restriction, including without limitation the rights to use,
30 * copy, modify, merge, publish, distribute, sublicense, and/or
31 * sell copies of the Software, and to permit persons to whom the
32 * Software is furnished to do so, subject to the following
33 * conditions:
34 *
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
37 *
38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45 * OTHER DEALINGS IN THE SOFTWARE.
46 */
47
48#include <dt-bindings/gpio/gpio.h>
49#include <dt-bindings/input/linux-event-codes.h>
50#include <dt-bindings/interrupt-controller/irq.h>
51
52/ {
53 /* these are used by bootloader for disabling nodes */
54 aliases {
55 led0 = &led0;
56 led1 = &led1;
57 led2 = &led2;
Marcel Ziswilerd0399a42022-07-21 15:27:26 +020058 usb0 = &usbh1;
59 usb1 = &usbotg;
Tim Harveyacb9a132021-03-01 14:33:30 -080060 };
61
62 chosen {
63 stdout-path = &uart2;
64 };
65
66 backlight {
67 compatible = "pwm-backlight";
68 pwms = <&pwm4 0 5000000>;
69 brightness-levels = <0 4 8 16 32 64 128 255>;
70 default-brightness-level = <7>;
71 };
72
73 gpio-keys {
74 compatible = "gpio-keys";
Tim Harveyacb9a132021-03-01 14:33:30 -080075
76 user-pb {
77 label = "user_pb";
78 gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
79 linux,code = <BTN_0>;
80 };
81
82 user-pb1x {
83 label = "user_pb1x";
84 linux,code = <BTN_1>;
85 interrupt-parent = <&gsc>;
86 interrupts = <0>;
87 };
88
89 key-erased {
90 label = "key-erased";
91 linux,code = <BTN_2>;
92 interrupt-parent = <&gsc>;
93 interrupts = <1>;
94 };
95
96 eeprom-wp {
97 label = "eeprom_wp";
98 linux,code = <BTN_3>;
99 interrupt-parent = <&gsc>;
100 interrupts = <2>;
101 };
102
103 tamper {
104 label = "tamper";
105 linux,code = <BTN_4>;
106 interrupt-parent = <&gsc>;
107 interrupts = <5>;
108 };
109
110 switch-hold {
111 label = "switch_hold";
112 linux,code = <BTN_5>;
113 interrupt-parent = <&gsc>;
114 interrupts = <7>;
115 };
116 };
117
118 leds {
119 compatible = "gpio-leds";
120 pinctrl-names = "default";
121 pinctrl-0 = <&pinctrl_gpio_leds>;
122
123 led0: user1 {
124 label = "user1";
125 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
126 default-state = "on";
127 linux,default-trigger = "heartbeat";
128 };
129
130 led1: user2 {
131 label = "user2";
132 gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
133 default-state = "off";
134 };
135
136 led2: user3 {
137 label = "user3";
138 gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
139 default-state = "off";
140 };
141 };
142
143 memory@10000000 {
144 device_type = "memory";
145 reg = <0x10000000 0x40000000>;
146 };
147
148 pps {
149 compatible = "pps-gpio";
150 pinctrl-names = "default";
151 pinctrl-0 = <&pinctrl_pps>;
152 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
153 };
154
155 reg_1p0v: regulator-1p0v {
156 compatible = "regulator-fixed";
157 regulator-name = "1P0V";
158 regulator-min-microvolt = <1000000>;
159 regulator-max-microvolt = <1000000>;
160 regulator-always-on;
161 };
162
163 reg_3p3v: regulator-3p3v {
164 compatible = "regulator-fixed";
165 regulator-name = "3P3V";
166 regulator-min-microvolt = <3300000>;
167 regulator-max-microvolt = <3300000>;
168 regulator-always-on;
169 };
170
171 reg_usb_h1_vbus: regulator-usb-h1-vbus {
172 compatible = "regulator-fixed";
173 regulator-name = "usb_h1_vbus";
174 regulator-min-microvolt = <5000000>;
175 regulator-max-microvolt = <5000000>;
Marcel Ziswilerd0399a42022-07-21 15:27:26 +0200176 regulator-always-on;
Tim Harveyacb9a132021-03-01 14:33:30 -0800177 };
178
179 reg_usb_otg_vbus: regulator-usb-otg-vbus {
180 compatible = "regulator-fixed";
181 regulator-name = "usb_otg_vbus";
182 regulator-min-microvolt = <5000000>;
183 regulator-max-microvolt = <5000000>;
184 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
185 enable-active-high;
186 };
187};
188
189&clks {
190 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
191 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
192 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
193 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
194};
195
196&fec {
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_enet>;
199 phy-mode = "rgmii-id";
200 status = "okay";
201
202 fixed-link {
203 speed = <1000>;
204 full-duplex;
205 };
206
207 mdio {
208 #address-cells = <1>;
209 #size-cells = <0>;
210
211 switch@0 {
212 compatible = "marvell,mv88e6085";
213 reg = <0>;
214
Tim Harveyc3d97362022-11-30 09:42:51 -0800215 mdio {
216 #address-cells = <1>;
217 #size-cells = <0>;
218
219 sw_phy0: ethernet-phy@0 {
220 reg = <0x0>;
221 };
222
223 sw_phy1: ethernet-phy@1 {
224 reg = <0x1>;
225 };
226
227 sw_phy2: ethernet-phy@2 {
228 reg = <0x2>;
229 };
230
231 sw_phy3: ethernet-phy@3 {
232 reg = <0x3>;
233 };
234 };
235
Tim Harveyacb9a132021-03-01 14:33:30 -0800236 ports {
237 #address-cells = <1>;
238 #size-cells = <0>;
239
240 port@0 {
241 reg = <0>;
242 label = "lan4";
Tim Harveyc3d97362022-11-30 09:42:51 -0800243 phy-handle = <&sw_phy0>;
244 phy-mode = "internal";
Tim Harveyacb9a132021-03-01 14:33:30 -0800245 };
246
247 port@1 {
248 reg = <1>;
249 label = "lan3";
Tim Harveyc3d97362022-11-30 09:42:51 -0800250 phy-handle = <&sw_phy1>;
251 phy-mode = "internal";
Tim Harveyacb9a132021-03-01 14:33:30 -0800252 };
253
254 port@2 {
255 reg = <2>;
256 label = "lan2";
Tim Harveyc3d97362022-11-30 09:42:51 -0800257 phy-handle = <&sw_phy2>;
258 phy-mode = "internal";
Tim Harveyacb9a132021-03-01 14:33:30 -0800259 };
260
261 port@3 {
262 reg = <3>;
263 label = "lan1";
Tim Harveyc3d97362022-11-30 09:42:51 -0800264 phy-handle = <&sw_phy3>;
265 phy-mode = "internal";
Tim Harveyacb9a132021-03-01 14:33:30 -0800266 };
267
268 port@5 {
269 reg = <5>;
Tim Harveyacb9a132021-03-01 14:33:30 -0800270 ethernet = <&fec>;
Tim Harveyc3d97362022-11-30 09:42:51 -0800271 phy-mode = "rgmii-id";
272
273 fixed-link {
274 speed = <1000>;
275 full-duplex;
276 };
Tim Harveyacb9a132021-03-01 14:33:30 -0800277 };
278 };
279 };
280 };
281};
282
283&i2c1 {
284 clock-frequency = <100000>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_i2c1>;
287 status = "okay";
288
289 gsc: gsc@20 {
290 compatible = "gw,gsc";
291 reg = <0x20>;
292 interrupt-parent = <&gpio1>;
293 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
294 interrupt-controller;
295 #interrupt-cells = <1>;
296 #size-cells = <0>;
297
298 adc {
299 compatible = "gw,gsc-adc";
300 #address-cells = <1>;
301 #size-cells = <0>;
302
303 channel@0 {
304 gw,mode = <0>;
305 reg = <0x00>;
306 label = "temp";
307 };
308
309 channel@2 {
310 gw,mode = <1>;
311 reg = <0x02>;
312 label = "vdd_vin";
313 };
314
315 channel@5 {
316 gw,mode = <1>;
317 reg = <0x05>;
318 label = "vdd_3p3";
319 };
320
321 channel@8 {
322 gw,mode = <1>;
323 reg = <0x08>;
324 label = "vdd_bat";
325 };
326
327 channel@b {
328 gw,mode = <1>;
329 reg = <0x0b>;
330 label = "vdd_5p0";
331 };
332
333 channel@e {
334 gw,mode = <1>;
335 reg = <0xe>;
336 label = "vdd_arm";
337 };
338
339 channel@11 {
340 gw,mode = <1>;
341 reg = <0x11>;
342 label = "vdd_soc";
343 };
344
345 channel@14 {
346 gw,mode = <1>;
347 reg = <0x14>;
348 label = "vdd_3p0";
349 };
350
351 channel@17 {
352 gw,mode = <1>;
353 reg = <0x17>;
354 label = "vdd_1p5";
355 };
356
357 channel@1d {
358 gw,mode = <1>;
359 reg = <0x1d>;
360 label = "vdd_1p8";
361 };
362
363 channel@20 {
364 gw,mode = <1>;
365 reg = <0x20>;
366 label = "vdd_an1";
367 };
368
369 channel@23 {
370 gw,mode = <1>;
371 reg = <0x23>;
372 label = "vdd_2p5";
373 };
374 };
375 };
376
377 gsc_gpio: gpio@23 {
378 compatible = "nxp,pca9555";
379 reg = <0x23>;
380 gpio-controller;
381 #gpio-cells = <2>;
382 interrupt-parent = <&gsc>;
383 interrupts = <4>;
384 };
385
386 eeprom1: eeprom@50 {
387 compatible = "atmel,24c02";
388 reg = <0x50>;
389 pagesize = <16>;
390 };
391
392 eeprom2: eeprom@51 {
393 compatible = "atmel,24c02";
394 reg = <0x51>;
395 pagesize = <16>;
396 };
397
398 eeprom3: eeprom@52 {
399 compatible = "atmel,24c02";
400 reg = <0x52>;
401 pagesize = <16>;
402 };
403
404 eeprom4: eeprom@53 {
405 compatible = "atmel,24c02";
406 reg = <0x53>;
407 pagesize = <16>;
408 };
409
410 dts1672: rtc@68 {
411 compatible = "dallas,ds1672";
412 reg = <0x68>;
413 };
414};
415
416&i2c2 {
417 clock-frequency = <100000>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&pinctrl_i2c2>;
420 status = "okay";
421
422 magn@1c {
423 compatible = "st,lsm9ds1-magn";
424 reg = <0x1c>;
425 pinctrl-names = "default";
426 pinctrl-0 = <&pinctrl_mag>;
427 interrupt-parent = <&gpio5>;
428 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
429 };
430
431 ltc3676: pmic@3c {
432 compatible = "lltc,ltc3676";
433 reg = <0x3c>;
434 interrupt-parent = <&gpio1>;
435 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
436
437 regulators {
438 /* VDD_SOC (1+R1/R2 = 1.635) */
439 reg_vdd_soc: sw1 {
440 regulator-name = "vddsoc";
441 regulator-min-microvolt = <674400>;
442 regulator-max-microvolt = <1308000>;
443 lltc,fb-voltage-divider = <127000 200000>;
444 regulator-ramp-delay = <7000>;
445 regulator-boot-on;
446 regulator-always-on;
447 };
448
449 /* VDD_1P8 (1+R1/R2 = 2.505): GbE switch */
450 reg_1p8v: sw2 {
451 regulator-name = "vdd1p8";
452 regulator-min-microvolt = <1033310>;
453 regulator-max-microvolt = <2004000>;
454 lltc,fb-voltage-divider = <301000 200000>;
455 regulator-ramp-delay = <7000>;
456 regulator-boot-on;
457 regulator-always-on;
458 };
459
460 /* VDD_ARM (1+R1/R2 = 1.635) */
461 reg_vdd_arm: sw3 {
462 regulator-name = "vddarm";
463 regulator-min-microvolt = <674400>;
464 regulator-max-microvolt = <1308000>;
465 lltc,fb-voltage-divider = <127000 200000>;
466 regulator-ramp-delay = <7000>;
467 regulator-boot-on;
468 regulator-always-on;
469 };
470
471 /* VDD_DDR (1+R1/R2 = 2.105) */
472 reg_vdd_ddr: sw4 {
473 regulator-name = "vddddr";
474 regulator-min-microvolt = <868310>;
475 regulator-max-microvolt = <1684000>;
476 lltc,fb-voltage-divider = <221000 200000>;
477 regulator-ramp-delay = <7000>;
478 regulator-boot-on;
479 regulator-always-on;
480 };
481
482 /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */
483 reg_2p5v: ldo2 {
484 regulator-name = "vdd2p5";
485 regulator-min-microvolt = <2490375>;
486 regulator-max-microvolt = <2490375>;
487 lltc,fb-voltage-divider = <487000 200000>;
488 regulator-boot-on;
489 regulator-always-on;
490 };
491
492 /* VDD_HIGH (1+R1/R2 = 4.17) */
493 reg_3p0v: ldo4 {
494 regulator-name = "vdd3p0";
495 regulator-min-microvolt = <3023250>;
496 regulator-max-microvolt = <3023250>;
497 lltc,fb-voltage-divider = <634000 200000>;
498 regulator-boot-on;
499 regulator-always-on;
500 };
501 };
502 };
503
Marcel Ziswilerd0399a42022-07-21 15:27:26 +0200504 crypto@60 {
505 compatible = "atmel,atecc508a";
506 reg = <0x60>;
507 };
508
Tim Harveyacb9a132021-03-01 14:33:30 -0800509 imu@6a {
510 compatible = "st,lsm9ds1-imu";
511 reg = <0x6a>;
512 st,drdy-int-pin = <1>;
513 pinctrl-names = "default";
514 pinctrl-0 = <&pinctrl_imu>;
515 interrupt-parent = <&gpio4>;
516 interrupts = <18 IRQ_TYPE_LEVEL_HIGH>;
517 };
518};
519
520&i2c3 {
521 clock-frequency = <100000>;
522 pinctrl-names = "default";
523 pinctrl-0 = <&pinctrl_i2c3>;
524 status = "okay";
525
526 egalax_ts: touchscreen@4 {
527 compatible = "eeti,egalax_ts";
528 reg = <0x04>;
529 interrupt-parent = <&gpio1>;
530 interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
531 wakeup-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
532 };
533};
534
535&ldb {
536 status = "okay";
537
538 lvds-channel@0 {
539 fsl,data-mapping = "spwg";
540 fsl,data-width = <18>;
541 status = "okay";
542
543 display-timings {
544 native-mode = <&timing0>;
545 timing0: hsd100pxn1 {
546 clock-frequency = <65000000>;
547 hactive = <1024>;
548 vactive = <768>;
549 hback-porch = <220>;
550 hfront-porch = <40>;
551 vback-porch = <21>;
552 vfront-porch = <7>;
553 hsync-len = <60>;
554 vsync-len = <10>;
555 };
556 };
557 };
558};
559
560&pcie {
561 pinctrl-names = "default";
562 pinctrl-0 = <&pinctrl_pcie>;
563 reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>;
564 status = "okay";
565};
566
567&pwm2 {
568 pinctrl-names = "default";
569 pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
570 status = "disabled";
571};
572
573&pwm3 {
574 pinctrl-names = "default";
575 pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
576 status = "disabled";
577};
578
579&pwm4 {
580 #pwm-cells = <2>;
581 pinctrl-names = "default";
582 pinctrl-0 = <&pinctrl_pwm4>;
583 status = "okay";
584};
585
586&uart1 {
587 pinctrl-names = "default";
588 pinctrl-0 = <&pinctrl_uart1>;
589 status = "okay";
590};
591
592&uart2 {
593 pinctrl-names = "default";
594 pinctrl-0 = <&pinctrl_uart2>;
595 status = "okay";
596};
597
598&uart3 {
599 pinctrl-names = "default";
600 pinctrl-0 = <&pinctrl_uart3>;
601 uart-has-rtscts;
602 status = "okay";
603};
604
605&uart4 {
606 pinctrl-names = "default";
607 pinctrl-0 = <&pinctrl_uart4>;
608 uart-has-rtscts;
609 status = "okay";
610};
611
612&uart5 {
613 pinctrl-names = "default";
614 pinctrl-0 = <&pinctrl_uart5>;
615 status = "okay";
616};
617
618&usbotg {
619 vbus-supply = <&reg_usb_otg_vbus>;
620 pinctrl-names = "default";
621 pinctrl-0 = <&pinctrl_usbotg>;
622 disable-over-current;
Tim Harveyacb9a132021-03-01 14:33:30 -0800623 status = "okay";
624};
625
626&usbh1 {
627 vbus-supply = <&reg_usb_h1_vbus>;
628 status = "okay";
629};
630
631&usdhc3 {
632 pinctrl-names = "default", "state_100mhz", "state_200mhz";
633 pinctrl-0 = <&pinctrl_usdhc3>;
634 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
635 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
636 non-removable;
637 vmmc-supply = <&reg_3p3v>;
638 keep-power-in-suspend;
639 status = "okay";
640};
641
642&wdog1 {
643 pinctrl-names = "default";
644 pinctrl-0 = <&pinctrl_wdog>;
645 fsl,ext-reset-output;
646};
647
648&iomuxc {
649 pinctrl_enet: enetgrp {
650 fsl,pins = <
651 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
652 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
653 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
654 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
655 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
656 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
657 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
658 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
659 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
660 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
661 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
662 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
663 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
664 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
665 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
666 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
667 MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x4001b0b0 /* PHY_RST# */
668 >;
669 };
670
671 pinctrl_gpio_leds: gpioledsgrp {
672 fsl,pins = <
673 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0
674 MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0
675 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0
676 >;
677 };
678
679 pinctrl_i2c1: i2c1grp {
680 fsl,pins = <
681 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
682 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
683 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x0001b0b0 /* GSC_IRQ# */
684 >;
685 };
686
687 pinctrl_i2c2: i2c2grp {
688 fsl,pins = <
689 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
690 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
691 >;
692 };
693
694 pinctrl_i2c3: i2c3grp {
695 fsl,pins = <
696 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
697 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
698 >;
699 };
700
701 pinctrl_imu: imugrp {
702 fsl,pins = <
703 MX6QDL_PAD_DI0_PIN2__GPIO4_IO18 0x1b0b0
704 >;
705 };
706
707 pinctrl_mag: maggrp {
708 fsl,pins = <
709 MX6QDL_PAD_DISP0_DAT23__GPIO5_IO17 0x1b0b0
710 >;
711 };
712
713 pinctrl_pcie: pciegrp {
714 fsl,pins = <
715 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 /* PCIE RST */
716 >;
717 };
718
719 pinctrl_pmic: pmicgrp {
720 fsl,pins = <
721 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 /* PMIC_IRQ# */
722 >;
723 };
724
725 pinctrl_pps: ppsgrp {
726 fsl,pins = <
727 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1
728 >;
729 };
730
731 pinctrl_pwm2: pwm2grp {
732 fsl,pins = <
733 MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1
734 >;
735 };
736
737 pinctrl_pwm3: pwm3grp {
738 fsl,pins = <
739 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
740 >;
741 };
742
743 pinctrl_pwm4: pwm4grp {
744 fsl,pins = <
745 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
746 >;
747 };
748
749 pinctrl_uart1: uart1grp {
750 fsl,pins = <
751 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
752 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
753 >;
754 };
755
756 pinctrl_uart2: uart2grp {
757 fsl,pins = <
758 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
759 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
760 >;
761 };
762
763 pinctrl_uart3: uart3grp {
764 fsl,pins = <
765 MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
766 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
767 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
768 MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1
769 >;
770 };
771
772 pinctrl_uart4: uart4grp {
773 fsl,pins = <
774 MX6QDL_PAD_CSI0_DAT12__UART4_TX_DATA 0x1b0b1
775 MX6QDL_PAD_CSI0_DAT13__UART4_RX_DATA 0x1b0b1
776 MX6QDL_PAD_CSI0_DAT16__UART4_RTS_B 0x1b0b1
777 MX6QDL_PAD_CSI0_DAT17__UART4_CTS_B 0x1b0b1
778 >;
779 };
780
781 pinctrl_uart5: uart5grp {
782 fsl,pins = <
783 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
784 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
785 >;
786 };
787
Tim Harveyacb9a132021-03-01 14:33:30 -0800788 pinctrl_usbotg: usbotggrp {
789 fsl,pins = <
790 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
791 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* PWR_EN */
792 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x1b0b0 /* OC */
793 >;
794 };
795
796 pinctrl_usdhc3: usdhc3grp {
797 fsl,pins = <
798 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
799 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
800 MX6QDL_PAD_SD3_RST__SD3_RESET 0x10059
801 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
802 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
803 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
804 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
805 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
806 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
807 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
808 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
809 >;
810 };
811
812 pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
813 fsl,pins = <
814 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9
815 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9
816 MX6QDL_PAD_SD3_RST__SD3_RESET 0x100b9
817 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9
818 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9
819 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9
820 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9
821 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x170b9
822 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x170b9
823 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x170b9
824 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x170b9
825 >;
826 };
827
828 pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
829 fsl,pins = <
830 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9
831 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9
832 MX6QDL_PAD_SD3_RST__SD3_RESET 0x100f9
833 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9
834 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9
835 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9
836 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9
837 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x170f9
838 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x170f9
839 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x170f9
840 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x170f9
841 >;
842 };
843
844 pinctrl_wdog: wdoggrp {
845 fsl,pins = <
846 MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0
847 >;
848 };
849};