1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
|
// SPDX-License-Identifier: GPL-2.0 OR MIT
//
// Copyright (C) 2023 chargebyte GmbH
/dts-v1/;
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pwm/pwm.h>
#include "imx6ull.dtsi"
/ {
aliases {
mmc0 = &usdhc2; /* eMMC */
};
chosen {
stdout-path = &uart4;
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>;
};
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
pinctrl-0 = <&pinctrl_emmc_rst>;
pinctrl-names = "default";
reset-gpios = <&gpio4 10 GPIO_ACTIVE_LOW>;
};
reg_dcdc_3v3: regulator-dcdc-3v3 {
compatible = "regulator-fixed";
regulator-name = "dcdc-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
reg_1v8: regulator-1v8 {
compatible = "regulator-fixed";
regulator-name = "ldo-1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_status_leds>;
led-1 {
function = LED_FUNCTION_BOOT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "timer";
};
led-2 {
function = LED_FUNCTION_PROGRAMMING;
color = <LED_COLOR_ID_YELLOW>;
gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
};
led-3 {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_RED>;
gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
};
};
&adc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_adc_motor
&pinctrl_adc_cp
&pinctrl_adc_pp>;
vref-supply = <&vgen1_reg>;
status = "okay";
};
&cpu0 {
clock-frequency = <792000000>;
};
&ecspi2 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2>;
num-cs = <3>;
cs-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH
&gpio3 2 GPIO_ACTIVE_HIGH
&gpio3 4 GPIO_ACTIVE_HIGH>;
};
&ecspi4 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi4>;
num-cs = <1>;
cs-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
};
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1
&pinctrl_enet1_phy_rst
&pinctrl_enet_mdio>;
phy-supply = <®_dcdc_3v3>;
phy-mode = "rmii";
phy-reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>;
phy-reset-duration = <25>;
phy-handle = <ðphy0>;
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1_phy_int>;
interrupt-parent = <&gpio2>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
interrupts-extended = <&gpio2 7 IRQ_TYPE_EDGE_FALLING>;
clocks = <&clks IMX6UL_CLK_ENET_REF>;
clock-names = "rmii-ref";
max-speed = <100>;
smsc,disable-energy-detect;
};
};
};
&gpio1 {
gpio-line-names = "", /* 0 */
"",
"",
"",
"",
"", /* 5 */
"",
"",
"",
"",
"", /* 10 */
"",
"",
"CP_INVERT",
"",
"", /* 15 */
"",
"",
"",
"MOTOR_1_FAULT_N",
"", /* 20 */
"",
"ROTARY_SWITCH_1_2_N",
"ROTARY_SWITCH_1_4_N",
"ROTARY_SWITCH_1_8_N",
"MOTOR_2_FAULT_N"; /* 25 */
};
&gpio3 {
gpio-line-names = "", /* 0 */
"",
"",
"",
"",
"", /* 5 */
"EXT_GPIO",
"MOTOR_1_DRIVER_IN1_N",
"MOTOR_1_DRIVER_IN2",
"MOTOR_2_DRIVER_IN1",
"STM32_BOOT0", /* 10 */
"STM32_RST_N",
"RELAY_1_ENABLE",
"RELAY_2_ENABLE",
"",
"", /* 15 */
"QCA700X_MAINS_BOOTLOADER_N",
"QCA700X_CP_RST_N",
"QCA700X_CP_BOOTLOADER_N",
"",
"DIGITAL_OUT_1", /* 20 */
"DIGITAL_OUT_2",
"DIGITAL_OUT_3",
"DIGITAL_OUT_4",
"DIGITAL_OUT_5",
"DIGITAL_OUT_6", /* 25 */
"ROTARY_SWITCH_2_8_N",
"ROTARY_SWITCH_2_4_N",
"ROTARY_SWITCH_2_2_N";
};
&gpio4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pmic>;
gpio-line-names = "", /* 0 */
"",
"",
"",
"",
"", /* 5 */
"",
"",
"",
"",
"", /* 10 */
"",
"",
"BOARD_VARIANT_1",
"BOARD_VARIANT_2",
"BOARD_VARIANT_0", /* 15 */
"BOARD_VARIANT_3",
"",
"ROTARY_SWITCH_2_1_N",
"",
"DIGITAL_IN_5", /* 20 */
"",
"",
"DIGITAL_IN_6",
"",
"DIGITAL_IN_1", /* 25 */
"DIGITAL_IN_2",
"DIGITAL_IN_4",
"DIGITAL_IN_3";
pmic-int-hog {
gpio-hog;
gpios = <19 0>;
input;
};
};
&gpio5 {
gpio-line-names = "ROTARY_SWITCH_1_1_N", /* 0 */
"",
"RELAY_2_SENSE",
"RELAY_1_SENSE",
"",
"", /* 5 */
"",
"QCA700X_MAINS_RST_N",
"MOTOR_2_DRIVER_IN2",
"",
"CP_POSITIVE_PEAK_RST", /* 10 */
"CP_NEGATIVE_PEAK_RST";
};
&i2c4 {
clock-frequency = <100000>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c4>;
pinctrl-1 = <&pinctrl_i2c4_gpio>;
scl-gpios = <&gpio1 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio1 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
pfuze3001: pmic@8 {
compatible = "fsl,pfuze3001";
reg = <0x08>;
regulators {
sw1_reg: sw1 {
regulator-name = "SW1";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
sw2_reg: sw2 {
regulator-name = "SW2";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
sw3_reg: sw3 {
regulator-name = "SW3";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1650000>;
regulator-boot-on;
regulator-always-on;
};
snvs_reg: vsnvs {
regulator-name = "VSNVS";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <3000000>;
regulator-boot-on;
regulator-always-on;
};
vgen1_reg: vldo1 {
regulator-name = "VLDO1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vgen2_reg: vldo2 {
regulator-name = "VLDO2";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
regulator-always-on;
};
vgen3_reg: vccsd {
regulator-name = "VCCSD";
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vgen4_reg: v33 {
regulator-name = "V33";
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vgen5_reg: vldo3 {
regulator-name = "VLDO3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vgen6_reg: vldo4 {
regulator-name = "VLDO4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};
};
onewire@18 {
compatible = "maxim,ds2484";
reg = <0x18>;
};
accelerometer@19 {
compatible = "st,iis328dq", "st,h3lis331dl-accel";
reg = <0x19>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_accelerometer_int1_snvs>;
vdd-supply = <®_dcdc_3v3>;
vddio-supply = <®_dcdc_3v3>;
st,drdy-int-pin = <1>;
interrupt-parent = <&gpio5>;
interrupts = <5 IRQ_TYPE_EDGE_RISING>;
};
};
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_board_var
&pinctrl_digital_input
&pinctrl_digital_output
&pinctrl_gpio_motor
&pinctrl_hog_pins
&pinctrl_rotary_switch1
&pinctrl_rotary_switch2>;
pinctrl_adc_cp: adc-cpgrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0
MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
>;
};
pinctrl_adc_motor: adc-motorgrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO00__GPIO1_IO00 0xb0
MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0
MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0
>;
};
pinctrl_adc_pp: adc-ppgrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO05__GPIO1_IO05 0xb0
>;
};
pinctrl_board_var: board-vargrp {
fsl,pins = <
MX6UL_PAD_NAND_CLE__GPIO4_IO15 0xb0
MX6UL_PAD_NAND_CE0_B__GPIO4_IO13 0xb0
MX6UL_PAD_NAND_CE1_B__GPIO4_IO14 0xb0
MX6UL_PAD_NAND_DQS__GPIO4_IO16 0xb0
>;
};
pinctrl_digital_input: digital-inputgrp {
fsl,pins = <
MX6UL_PAD_CSI_DATA04__GPIO4_IO25 0xb0
MX6UL_PAD_CSI_DATA05__GPIO4_IO26 0xb0
MX6UL_PAD_CSI_DATA07__GPIO4_IO28 0xb0
MX6UL_PAD_CSI_DATA06__GPIO4_IO27 0xb0
MX6UL_PAD_CSI_HSYNC__GPIO4_IO20 0xb0
MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0xb0
>;
};
pinctrl_digital_output: digital-outputgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA15__GPIO3_IO20 0x400000b0
MX6UL_PAD_LCD_DATA16__GPIO3_IO21 0x400000b0
MX6UL_PAD_LCD_DATA17__GPIO3_IO22 0x400000b0
MX6UL_PAD_LCD_DATA18__GPIO3_IO23 0x400000b0
MX6UL_PAD_LCD_DATA19__GPIO3_IO24 0x400000b0
MX6UL_PAD_LCD_DATA20__GPIO3_IO25 0x400000b0
>;
};
pinctrl_ecspi2: ecspi2grp {
fsl,pins = <
MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0
MX6UL_PAD_LCD_HSYNC__GPIO3_IO02 0xb0
MX6UL_PAD_LCD_RESET__GPIO3_IO04 0xb0
MX6UL_PAD_UART4_TX_DATA__ECSPI2_SCLK 0x10b0
MX6UL_PAD_UART5_RX_DATA__ECSPI2_MISO 0x10b0
MX6UL_PAD_UART5_TX_DATA__ECSPI2_MOSI 0x10b0
>;
};
pinctrl_ecspi4: ecspi4grp {
fsl,pins = <
MX6UL_PAD_ENET2_RX_ER__GPIO2_IO15 0x10b0
MX6UL_PAD_ENET2_TX_DATA1__ECSPI4_SCLK 0x10b0
MX6UL_PAD_ENET2_TX_CLK__ECSPI4_MISO 0x10b0
MX6UL_PAD_ENET2_TX_EN__ECSPI4_MOSI 0x10b0
>;
};
pinctrl_emmc_rst: emmc-rstgrp {
fsl,pins = <
MX6UL_PAD_NAND_ALE__GPIO4_IO10 0x400010b0
>;
};
pinctrl_enet_mdio: enet-mdiogrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO06__ENET1_MDIO 0x10b0
MX6UL_PAD_GPIO1_IO07__ENET1_MDC 0x10b0
>;
};
pinctrl_enet1_phy_int: enet1-phy-intgrp {
fsl,pins = <
MX6UL_PAD_ENET1_RX_ER__GPIO2_IO07 0x10b0
>;
};
pinctrl_enet1: enet1grp {
fsl,pins = <
MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x100b0
MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x100b0
MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x100b0
MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x400000b1
MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0xb0
MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0xb0
MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0xb0
>;
};
pinctrl_ext_uart: ext-uartgrp {
fsl,pins = <
MX6UL_PAD_ENET2_TX_DATA0__UART7_DCE_RX 0xb0
MX6UL_PAD_ENET2_RX_EN__UART7_DCE_TX 0xb0
>;
};
pinctrl_fan_enable: fan-enablegrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA00__GPIO3_IO05 0x400000b0
>;
};
pinctrl_gpio_motor: gpio-motorgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA02__GPIO3_IO07 0x400000b0
MX6UL_PAD_LCD_DATA03__GPIO3_IO08 0x400000b0
MX6UL_PAD_LCD_DATA04__GPIO3_IO09 0x400000b0
MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0xb0
MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25 0xb0
>;
};
pinctrl_hog_pins: hog-pinsgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA07__GPIO3_IO12 0x400000b0
MX6UL_PAD_LCD_DATA08__GPIO3_IO13 0x400000b0
MX6UL_PAD_JTAG_TDI__GPIO1_IO13 0x400070a0
MX6UL_PAD_LCD_DATA05__GPIO3_IO10 0x400000b0
MX6UL_PAD_LCD_DATA06__GPIO3_IO11 0x400000b0
>;
};
pinctrl_i2c4: i2c4grp {
fsl,pins = <
MX6UL_PAD_UART2_RX_DATA__I2C4_SDA 0x400008b0
MX6UL_PAD_UART2_TX_DATA__I2C4_SCL 0x400008b0
>;
};
pinctrl_i2c4_gpio: i2c4-gpiogrp {
fsl,pins = <
MX6UL_PAD_UART2_RX_DATA__GPIO1_IO21 0x400008b0
MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20 0x400008b0
>;
};
pinctrl_pmic: pmicgrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO08__USDHC2_VSELECT 0x70b1
MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0xb0
>;
};
pinctrl_pwm_cp: pinctrl-pwm-cpgrp {
fsl,pins = <
MX6UL_PAD_JTAG_TRST_B__PWM8_OUT 0x60a0
>;
};
pinctrl_pwm_digital_input_ref: pwm-digital-input-refgrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO09__PWM2_OUT 0xb0
>;
};
pinctrl_pwm_fan: pwm-fangrp {
fsl,pins = <
MX6UL_PAD_JTAG_TCK__PWM7_OUT 0x60a0
>;
};
pinctrl_qca700x_cp_btld: qca700x-cp-btldgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA13__GPIO3_IO18 0x400000b0
>;
};
pinctrl_qca700x_cp_int: qca700x-cp-intgrp {
fsl,pins = <
MX6UL_PAD_SD1_DATA1__GPIO2_IO19 0x10b0
>;
};
pinctrl_qca700x_cp_rst: qca700x-cp-rstgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA12__GPIO3_IO17 0x400000b0
>;
};
pinctrl_qca700x_mains_btld: qca700x-mains-btldgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA11__GPIO3_IO16 0x400000b0
>;
};
pinctrl_rotary_switch1: rotary-switch1grp {
fsl,pins = <
MX6UL_PAD_UART2_CTS_B__GPIO1_IO22 0xb0
MX6UL_PAD_UART2_RTS_B__GPIO1_IO23 0xb0
MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24 0xb0
>;
};
pinctrl_rotary_switch2: rotary-switch2grp {
fsl,pins = <
MX6UL_PAD_CSI_PIXCLK__GPIO4_IO18 0xb0
MX6UL_PAD_LCD_DATA23__GPIO3_IO28 0xb0
MX6UL_PAD_LCD_DATA22__GPIO3_IO27 0xb0
MX6UL_PAD_LCD_DATA21__GPIO3_IO26 0xb0
>;
};
pinctrl_rs485_1: rs485-1grp {
fsl,pins = <
MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0xb0
MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0xb0
MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0xb0
>;
};
pinctrl_rs485_2: rs485-2grp {
fsl,pins = <
MX6UL_PAD_CSI_DATA03__GPIO4_IO24 0x10b0
MX6UL_PAD_CSI_DATA01__UART5_DCE_RX 0x10b0
MX6UL_PAD_CSI_DATA00__UART5_DCE_TX 0x10b0
>;
};
pinctrl_status_leds: status-ledsgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA09__GPIO3_IO14 0xb0
MX6UL_PAD_LCD_DATA10__GPIO3_IO15 0xb0
MX6UL_PAD_LCD_DATA14__GPIO3_IO19 0xb0
>;
};
pinctrl_stm32: stm32grp {
fsl,pins = <
MX6UL_PAD_ENET2_RX_DATA1__UART6_DCE_RX 0x10b0
MX6UL_PAD_ENET2_RX_DATA0__UART6_DCE_TX 0x10b0
>;
};
pinctrl_uart4: uart4grp {
fsl,pins = <
MX6UL_PAD_LCD_CLK__UART4_DTE_RX 0xb0
MX6UL_PAD_LCD_ENABLE__UART4_DTE_TX 0xb0
>;
};
pinctrl_usb: usbgrp {
fsl,pins = <
MX6UL_PAD_SD1_CLK__USB_OTG1_OC 0x70b0
MX6UL_PAD_SD1_DATA0__ANATOP_OTG1_ID 0x70b0
>;
};
pinctrl_usb_pwr: usb-pwrgrp {
fsl,pins = <
MX6UL_PAD_SD1_CMD__USB_OTG1_PWR 0xb0
>;
};
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x7071
MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x7071
MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x7071
MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x7071
MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x7071
MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x7071
MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x7071
MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x7071
MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x7071
MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x7071
>;
};
pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
fsl,pins = <
MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x70b1
MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x70b1
MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x70b1
MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x70b1
MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x70b1
MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x70b1
MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x70b1
MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x70b1
MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x70b1
MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x70b1
>;
};
pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
fsl,pins = <
MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x70f1
MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x70f1
MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x70f1
MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x70f1
MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x70f1
MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x70f1
MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x70f1
MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x70f1
MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x70f1
MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x70f1
>;
};
pinctrl_wdog2: wdoggrp {
fsl,pins = <
MX6UL_PAD_LCD_VSYNC__WDOG2_WDOG_B 0x10b0
>;
};
};
&iomuxc_snvs {
pinctrl-names = "default_snvs";
pinctrl-0 = <&pinctrl_cp_peak_snvs
&pinctrl_gpio_motor_snvs
&pinctrl_relay_sense_snvs
&pinctrl_rotary_switch1_snvs>;
pinctrl_accelerometer_int1_snvs: accelerometer-int1-snvsgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x130a0
>;
};
pinctrl_cp_peak_snvs: cp-peak-snvsgrp {
fsl,pins = <
MX6ULL_PAD_BOOT_MODE0__GPIO5_IO10 0x130a0
MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x130a0
>;
};
pinctrl_enet1_phy_rst: enet1-phy-rstgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x100a0
>;
};
pinctrl_fan_sense_snvs: fan-sense-snvsgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x100a0
>;
};
pinctrl_gpio_motor_snvs: gpio-motor-snvsgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x110a0
>;
};
pinctrl_qca700x_mains_int: qca700x-mains-intgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x130a0
>;
};
pinctrl_qca700x_mains_rst: qca700x-mains-rstgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x400100a0
>;
};
pinctrl_relay_sense_snvs: relay-sense-snvsgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x100a0
MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x100a0
>;
};
pinctrl_rotary_switch1_snvs: rotary-switch1-snvsgrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x110a0
>;
};
};
&pwm2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm_digital_input_ref>;
status = "okay";
};
&pwm8 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm_cp>;
status = "okay";
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rs485_1>;
status = "okay";
};
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart4>;
fsl,dte-mode;
status = "okay";
};
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rs485_2>;
};
&uart6 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_stm32>;
status = "okay";
};
&uart7 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ext_uart>;
status = "okay";
};
&usbotg1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb
&pinctrl_usb_pwr>;
dr_mode = "host";
power-active-high;
disable-over-current;
status = "okay";
};
&usbotg2 {
dr_mode = "host";
disable-over-current;
status = "okay";
};
&usbphy1 {
fsl,tx-cal-45-dn-ohms = <35>;
fsl,tx-cal-45-dp-ohms = <35>;
};
&usbphy2 {
fsl,tx-cal-45-dn-ohms = <35>;
fsl,tx-cal-45-dp-ohms = <35>;
};
&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
vmmc-supply = <&sw2_reg>;
vqmmc-supply = <®_1v8>;
mmc-pwrseq = <&emmc_pwrseq>;
bus-width = <8>;
non-removable;
no-sd;
no-sdio;
status = "okay";
};
&wdog1 {
status = "disabled";
};
&wdog2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdog2>;
fsl,ext-reset-output;
status = "okay";
};
|