summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dts
blob: 02648806c2750861df3d0c61e40d28d3b5508de9 (plain)
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
// SPDX-License-Identifier: GPL-2.0
/*
 * Support for the i.MX6-based Bosch ACC board.
 *
 * Copyright (C) 2016 Garz & Fricke GmbH
 * Copyright (C) 2018 DENX Software Engineering GmbH, Heiko Schocher <hs@denx.de>
 * Copyright (C) 2018 DENX Software Engineering GmbH, Niel Fourie <lusus@denx.de>
 * Copyright (C) 2019-2021 Bosch Thermotechnik GmbH, Matthias Winker <matthias.winker@bosch.com>
 * Copyright (C) 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include "imx6q.dtsi"

/ {
	model = "Bosch ACC";
	compatible = "bosch,imx6q-acc", "fsl,imx6q";

	aliases {
		i2c0 = &i2c1;
		i2c1 = &i2c2;
		i2c2 = &i2c3;
		mmc0 = &usdhc4;
		mmc1 = &usdhc2;
		serial0 = &uart2;
		serial1 = &uart1;
	};

	memory@10000000 {
		device_type = "memory";
		reg = <0x10000000 0x40000000>;
	};

	backlight_lvds: backlight-lvds {
		compatible = "pwm-backlight";
		pwms = <&pwm1 0 200000>;
		brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>;
		num-interpolated-steps = <10>;
		default-brightness-level = <60>;
		power-supply = <&reg_lcd>;
	};

	panel {
		compatible = "dataimage,fg1001l0dsswmg01";
		backlight = <&backlight_lvds>;

		port {
			panel_in: endpoint {
				remote-endpoint = <&lvds0_out>;
			};
		};
	};

	refclk: refclk {
		compatible = "fixed-factor-clock";
		#clock-cells = <0>;
		clocks = <&clks IMX6QDL_CLK_CKO2>;
		clock-div = <1>;
		clock-mult = <1>;
		clock-output-names = "12mhz_refclk";
		assigned-clocks = <&clks IMX6QDL_CLK_CKO>,
				  <&clks IMX6QDL_CLK_CKO2>,
				  <&clks IMX6QDL_CLK_CKO2_SEL>;
		assigned-clock-parents = <&clks IMX6QDL_CLK_CKO2>,
					 <&clks IMX6QDL_CLK_CKO2_PODF>,
					 <&clks IMX6QDL_CLK_OSC>;
		assigned-clock-rates = <0>, <12000000>, <0>;
	};

	cpus {
		cpu0: cpu@0 {
			operating-points = <
				/* kHz    uV */
				1200000 1275000
				996000  1225000
				852000  1225000
				792000  1150000
				396000  950000
			>;
			fsl,soc-operating-points = <
				/* ARM kHz  SOC-PU uV */
				1200000 1225000
				996000	1175000
				852000	1175000
				792000	1150000
				396000	1150000
			>;
		};

		cpu1: cpu@1 {
			operating-points = <
				/* kHz    uV */
				1200000 1275000
				996000  1225000
				852000  1225000
				792000  1150000
				396000  950000
			>;
			fsl,soc-operating-points = <
				/* ARM kHz  SOC-PU uV */
				1200000 1225000
				996000	1175000
				852000	1175000
				792000	1150000
				396000	1150000
			>;
		};
	};

	pwm-leds {
		compatible = "pwm-leds";

		led_red: led-0 {
			color = <LED_COLOR_ID_RED>;
			max-brightness = <248>;
			default-state = "off";
			pwms = <&pwm2 0 500000>;
		};

		led_white: led-1 {
			color = <LED_COLOR_ID_WHITE>;
			max-brightness = <248>;
			default-state = "off";
			pwms = <&pwm3 0 500000>;
			linux,default-trigger = "heartbeat";
		};
	};

	gpio-leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_reset_gpio_led>;

		led-2 {
			color = <LED_COLOR_ID_RED>;
			gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
			default-state = "off";
		};
	};

	reg_5p0: regulator-5p0 {
		compatible = "regulator-fixed";
		regulator-name = "5p0";
	};

	reg_vin: regulator-vin {
		compatible = "regulator-fixed";
		regulator-name = "VIN";
		regulator-min-microvolt = <4500000>;
		regulator-max-microvolt = <4500000>;
		regulator-always-on;
		vin-supply = <&reg_5p0>;
	};

	reg_usb_otg_vbus: regulator-usb-otg-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb_otg_vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
	};

	reg_usb_h1_vbus: regulator-usb-h1-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb_h1_vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
		vin-supply = <&reg_5p0>;
	};

	reg_usb_h2_vbus: regulator-usb-h2-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb_h2_vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		vin-supply = <&reg_5p0> ;
		regulator-always-on;
	};

	reg_vsnvs: regulator-vsnvs {
		compatible = "regulator-fixed";
		regulator-name = "VSNVS_3V0";
		regulator-min-microvolt = <3000000>;
		regulator-max-microvolt = <3000000>;
		regulator-always-on;
		vin-supply = <&reg_5p0>;
	};

	reg_lcd: regulator-lcd {
		compatible = "regulator-fixed";
		regulator-name = "LCD0 POWER";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_lcd_enable>;
		gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>;
		enable-active-high;
		regulator-boot-on;
	};

	reg_dac: regulator-dac {
		compatible = "regulator-fixed";
		regulator-name = "vref_dac";
		regulator-min-microvolt = <20000>;
		regulator-max-microvolt = <20000>;
		vin-supply = <&reg_5p0> ;
		regulator-boot-on;
	};

	reg_sw4: regulator-sw4 {
		compatible = "regulator-fixed";
		regulator-name = "SW4_3V3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
		vin-supply = <&reg_5p0>;
	};

	reg_sys: regulator-sys {
		compatible = "regulator-fixed";
		regulator-name = "SYS_4V2";
		regulator-min-microvolt = <4200000>;
		regulator-max-microvolt = <4200000>;
		regulator-always-on;
		vin-supply = <&reg_5p0>;
	};
};

&reg_arm {
	vin-supply = <&sw2_reg>;
};

&reg_soc {
	vin-supply = <&sw1c_reg>;
};

&reg_vdd1p1 {
	vin-supply = <&reg_vsnvs>;
};

&reg_vdd2p5 {
	vin-supply = <&reg_vsnvs>;
};

&reg_vdd3p0 {
	vin-supply = <&reg_vsnvs>;
};

&fec {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_enet>;
	clocks = <&clks IMX6QDL_CLK_ENET>,
		<&clks IMX6QDL_CLK_ENET>,
		<&clks IMX6QDL_CLK_ENET>,
		<&clks IMX6QDL_CLK_ENET_REF>;
	clock-names = "ipg", "ahb", "ptp", "enet_out";
	phy-mode = "rmii";
	phy-supply = <&reg_sw4>;
	phy-handle = <&ethphy>;
	status = "okay";

	mdio {
		#address-cells = <1>;
		#size-cells = <0>;

		ethphy: ethernet-phy@0 {
			compatible = "ethernet-phy-ieee802.3-c22";
			reg = <0>;
			interrupt-parent = <&gpio1>;
			interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
			smsc,disable-energy-detect;
		};
	};
};

&gpu_vg {
	status = "disabled";
};

&gpu_2d {
	status = "disabled";
};

&i2c1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c1>;
	clock-frequency = <400000>;
	status = "okay";

	pmic: pmic@8 {
		compatible = "fsl,pfuze100";
		reg = <0x08>;

		regulators {
			sw1c_reg: sw1c {
				regulator-name = "VDD_SOC (sw1abc)";
				regulator-min-microvolt = <1275000>;
				regulator-max-microvolt = <1500000>;
				regulator-boot-on;
				regulator-always-on;
				regulator-ramp-delay = <6250>;
			};

			sw2_reg: sw2 {
				regulator-name = "VDD_ARM (sw2)";
				regulator-min-microvolt = <1050000>;
				regulator-max-microvolt = <1500000>;
				regulator-boot-on;
				regulator-always-on;
				regulator-ramp-delay = <6250>;
			};

			sw3a_reg: sw3a {
				regulator-name = "DDR_1V5a";
				regulator-boot-on;
				regulator-always-on;

			};

			sw3b_reg: sw3b {
				regulator-name = "DDR_1V5b";
				regulator-boot-on;
				regulator-always-on;

			};

			sw4_reg: sw4 {
				regulator-name = "AUX 3V15 (sw4)";
				regulator-min-microvolt = <800000>;
				regulator-max-microvolt = <3300000>;
			};

			swbst_reg: swbst {
				regulator-min-microvolt = <5000000>;
				regulator-max-microvolt = <5150000>;
				regulator-boot-on;
				regulator-always-on;
				status = "disabled";
			};

			snvs_reg: vsnvs {
				regulator-min-microvolt = <1200000>;
				regulator-max-microvolt = <3000000>;
				regulator-boot-on;
				regulator-always-on;
			};

			vref_reg: vrefddr {
				regulator-boot-on;
				regulator-always-on;
			};

			vgen1_reg: vgen1 {
				regulator-min-microvolt = <800000>;
				regulator-max-microvolt = <1550000>;
				regulator-always-on;
			};

			vgen2_reg: vgen2 {
				regulator-min-microvolt = <800000>;
				regulator-max-microvolt = <1550000>;
				regulator-always-on;
			};

			vgen3_reg: vgen3 {
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <3300000>;
				regulator-always-on;
			};

			vgen4_reg: vgen4 {
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <3300000>;
				regulator-always-on;
				regulator-boot-on;
			};

			vgen5_reg: vgen5 {
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <3300000>;
				regulator-always-on;
				regulator-boot-on;
			};

			vgen6_reg: vgen6 {
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <3300000>;
				regulator-always-on;
			};
		};
	};

	lm75: sensor@49 {
		compatible = "national,lm75b";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_lm75>;
		reg = <0x49>;
	};

	eeprom: eeprom@50 {
		compatible = "atmel,24c32";
		reg = <0x50>;
		pagesize = <32>;
	};

	rtc: rtc@51 {
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_rtc>;
		compatible = "nxp,pcf8563";
		reg = <0x51>;
	};
};

&i2c2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c2>;
	clock-frequency = <100000>;
	status = "okay";

	eeprom_ext: eeprom@50 {
		compatible = "atmel,24c32";
		reg = <0x50>;
		pagesize = <32>;
	};
};

&i2c3 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c3>;
	clock-frequency = <400000>;
	status = "okay";

	usb3503: usb@8 {
		compatible = "smsc,usb3503";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_usb3503>;
		reg = <0x08>;
		connect-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; /* Old: 0, SS: HIGH */
		intn-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; /* Old: 1, SS: HIGH */
		reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; /* Old: 0, SS: HIGH */
		initial-mode = <1>;
		clocks = <&refclk>;
		clock-names = "refclk";
		refclk-frequency = <12000000>;
	};

	exc3000: touchscreen@2a {
		compatible = "eeti,exc3000";
		reg = <0x2a>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_ctouch>;
		interrupt-parent = <&gpio4>;
		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
		touchscreen-size-x = <4096>;
		touchscreen-size-y = <4096>;
	};

	vcnl4035: light-sensor@60 {
		compatible = "vishay,vcnl4035";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_proximity>;
		reg = <0x60>;
	};
};

&ldb {
	status = "okay";

	lvds0: lvds-channel@0 {
		fsl,data-mapping = "spwg";
		fsl,data-width = <24>;

		port@4 {
			reg = <4>;

			lvds0_out: endpoint {
				remote-endpoint = <&panel_in>;
			};
		};
	};
};

&pwm1 {
	#pwm-cells = <2>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_pwm1>;
	status = "okay";
};

&pwm2 {
	#pwm-cells = <2>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_pwm2>;
	status = "okay";
};

&pwm3 {
	#pwm-cells = <2>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_pwm3>;
	status = "okay";
};

&pwm4 {
	#pwm-cells = <2>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_pwm4>;
	status = "okay";
};

&uart1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart1>;
	rts-gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
	linux,rs485-enabled-at-boot-time;
	rs485-rx-during-tx;
	status = "okay";
};

&uart2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart2>;
	uart-has-rtscts;
	status = "okay";
};

&usbh1 {
	vbus-supply = <&reg_usb_h1_vbus>;
	status = "okay";
};

&usbh2 {
	pinctrl-names = "idle", "active";
	pinctrl-0 = <&pinctrl_usbh2_idle>;
	pinctrl-1 = <&pinctrl_usbh2_active>;
	vbus-supply = <&reg_usb_h2_vbus>;
	status = "okay";
};

&usbotg {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usbotg>;
	vbus-supply = <&reg_usb_otg_vbus>;
	disable-over-current;
	dr_mode = "otg";
	srp-disable;
	hnp-disable;
	adp-disable;
	status = "okay";
};

&usbphynop1 {
	clocks = <&clks IMX6QDL_CLK_USBPHY1>;
	clock-names = "main_clk";
	vcc-supply = <&reg_usb_h1_vbus>;
};

&usbphynop2 {
	vcc-supply = <&reg_usb_h2_vbus>;
};

&usdhc2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc2>;
	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
	no-1-8-v;
	keep-power-in-suspend;
	wakeup-source;
	voltage-ranges = <3300 3300>;
	vmmc-supply = <&reg_sw4>;
	fsl,wp-controller;
	status = "okay";
};

&usdhc4 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc4>;
	bus-width = <8>;
	non-removable;
	no-1-8-v;
	keep-power-in-suspend;
	voltage-ranges = <3300 3300>;
	vmmc-supply = <&reg_sw4>;
	fsl,wp-controller;
	status = "okay";
};

&wdog1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_wdog1>;
	fsl,ext-reset-output;
	timeout-sec = <10>;
	status = "okay";
};

&iomuxc {
	pinctrl_enet: enetgrp {
		fsl,pins = <
			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
			MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN	0x1b0b0
			MX6QDL_PAD_ENET_REF_CLK__GPIO1_IO23	0x1b0b0	/* FEC INT */
			MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER	0x1b0b0
			MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN	0x0001b098
			MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0	0x1b0b0
			MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1	0x1b0b0
			MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1	0x0001b098
			MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0	0x0001b098
			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8
		>;
	};

	pinctrl_reset_gpio_led: reset-gpio-led-grp {
		fsl,pins = <
			MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18		0x1b0b0
		>;
	};

	pinctrl_i2c1: i2c1grp {
		fsl,pins = <
			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1
			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1
		>;
	};

	pinctrl_i2c2: i2c2grp {
		fsl,pins = <
			MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b810
			MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b810
		>;
	};

	pinctrl_i2c3: i2c3grp {
		fsl,pins = <
			MX6QDL_PAD_GPIO_5__I2C3_SCL  0x4001b8b1
			MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
		>;
	};

	pinctrl_lcd_enable: lcdenablegrp {
		fsl,pins = <
			MX6QDL_PAD_EIM_D23__GPIO3_IO23  0x1b0b0 /* lcd enable */
			MX6QDL_PAD_EIM_D16__GPIO3_IO16  0x1b0b0 /* sel6_8 */
		>;
	};

	pinctrl_lm75: lm75grp {
		fsl,pins = <
			MX6QDL_PAD_KEY_ROW0__GPIO4_IO07		0x1b0b0
		>;
	};

	pinctrl_proximity: proximitygrp {
		fsl,pins = <
			MX6QDL_PAD_KEY_ROW2__GPIO4_IO11  0x1b0b0
		>;
	};

	pinctrl_pwm1: pwm1grp {
		fsl,pins = <
			MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x0001b0b0
		>;
	};

	pinctrl_pwm2: pwm2grp {
		fsl,pins = <
			MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x0001b0b0
		>;
	};

	pinctrl_pwm3: pwm3grp {
		fsl,pins = <
			MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x0001b0b0
		>;
	};

	pinctrl_pwm4: pwm4grp {
		fsl,pins = <
			MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x0001b0b0
		>;
	};

	pinctrl_rtc: rtc-grp {
		fsl,pins = <
			MX6QDL_PAD_KEY_COL1__GPIO4_IO08 0x1b0b0 /* RTC INT */
		>;
	};

	pinctrl_ctouch: ctouch-grp {
		fsl,pins = <
			MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 /* CTOUCH_INT */
			MX6QDL_PAD_SD1_CLK__GPIO1_IO20 0x0001b0b0 /* CTOUCH_RESET */
		>;
	};

	pinctrl_uart1: uart1grp {
		fsl,pins = <
			MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
			MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
			MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x0001b0b0
		>;
	};

	pinctrl_uart2: uart2grp {
		fsl,pins = <
			MX6QDL_PAD_SD3_DAT4__UART2_RX_DATA 0x1b0b1
			MX6QDL_PAD_SD3_DAT5__UART2_TX_DATA 0x1b0b1
			MX6QDL_PAD_EIM_D28__UART2_CTS_B 0x1b0b1
			MX6QDL_PAD_EIM_D29__UART2_RTS_B 0x1b0b1
		>;
	};

	pinctrl_usbh2_idle: usbh2-idle-grp {
		fsl,pins = <
			MX6QDL_PAD_RGMII_TXC__USB_H2_DATA      0x00013018
			MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x00013018
		>;
	};

	pinctrl_usbh2_active: usbh2-active-grp {
		fsl,pins = <
			MX6QDL_PAD_RGMII_TXC__USB_H2_DATA      0x00013018
			MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x00017018
		>;
	};

	pinctrl_usb3503: usb3503-grp {
		fsl,pins = <
			MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1    0x00000018
			MX6QDL_PAD_GPIO_17__GPIO7_IO12     0x1b0b0 /* USB INT */
			MX6QDL_PAD_DISP0_DAT11__GPIO5_IO05 0x0001b0b0 /* USB Reset */
			MX6QDL_PAD_SD1_DAT0__GPIO1_IO16    0x1b0b0 /* USB Connect */
		>;
	};

	pinctrl_usbotg: usbotggrp {
		fsl,pins = <
			MX6QDL_PAD_GPIO_1__USB_OTG_ID	0x17059
		>;
	};

	pinctrl_usdhc2: usdhc2grp {
		fsl,pins = <
			MX6QDL_PAD_SD2_CMD__SD2_CMD    0x00017069
			MX6QDL_PAD_SD2_CLK__SD2_CLK    0x00010038
			MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x00017069
			MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x00017069
			MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x00017069
			MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x00017069
			MX6QDL_PAD_GPIO_4__SD2_CD_B    0x0001b0b0
		>;
	};

	pinctrl_usdhc4: usdhc4grp {
		fsl,pins = <
			MX6QDL_PAD_SD4_CMD__SD4_CMD    0x00017059
			MX6QDL_PAD_SD4_CLK__SD4_CLK    0x00010059
			MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x00017059
			MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x00017059
			MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x00017059
			MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x00017059
			MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x00017059
			MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x00017059
			MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x00017059
			MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x00017059
		>;
	};

	pinctrl_wdog1: wdoggrp {
		fsl,pins = <
			MX6QDL_PAD_GPIO_9__WDOG1_B 0x1b0b0
		>;
	};
};