blob: e9e60e82d48fd712120a05aefe084fe6d2432254 [file] [log] [blame]
Igor Opaniuk1ec7c002019-10-16 13:39:35 +03001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
Max Krummenacher1f6668a2021-10-06 18:55:36 +02003 * Copyright 2019-2021 Toradex AG
Igor Opaniuk1ec7c002019-10-16 13:39:35 +03004 */
5
6/dts-v1/;
7#include <dt-bindings/gpio/gpio.h>
8#include "imx6ull.dtsi"
9
10/ {
Francesco Dolcini2f41d922021-09-23 09:55:21 +020011 /* Ethernet aliases to ensure correct MAC addresses */
12 aliases {
13 ethernet0 = &fec2;
14 ethernet1 = &fec1;
15 };
16
Igor Opaniuk1ec7c002019-10-16 13:39:35 +030017 chosen {
18 stdout-path = &uart1;
19 };
20
21 reg_module_3v3: regulator-module-3v3 {
22 compatible = "regulator-fixed";
23 regulator-always-on;
24 regulator-name = "+V3.3";
25 regulator-min-microvolt = <3300000>;
26 regulator-max-microvolt = <3300000>;
27 };
28
29 reg_module_3v3_avdd: regulator-module-3v3-avdd {
30 compatible = "regulator-fixed";
31 regulator-always-on;
32 regulator-name = "+V3.3_AVDD_AUDIO";
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
35 };
36
37 reg_5v0: regulator-5v0 {
38 compatible = "regulator-fixed";
39 regulator-name = "5V";
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
42 };
43
Marcel Ziswiler27fd2802022-04-08 12:28:21 +020044 reg_sd1_vqmmc: regulator-sd1-vqmmc {
Igor Opaniuk1ec7c002019-10-16 13:39:35 +030045 compatible = "regulator-gpio";
Marcel Ziswiler27fd2802022-04-08 12:28:21 +020046 gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
Igor Opaniuk1ec7c002019-10-16 13:39:35 +030047 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_snvs_reg_sd>;
49 regulator-always-on;
50 regulator-name = "+V3.3_1.8_SD";
51 regulator-min-microvolt = <1800000>;
52 regulator-max-microvolt = <3300000>;
53 states = <1800000 0x1 3300000 0x0>;
54 vin-supply = <&reg_module_3v3>;
55 };
56
57 reg_usbh_vbus: regulator-usbh-vbus {
58 compatible = "regulator-fixed";
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_usbh_reg>;
61 regulator-name = "VCC_USB[1-4]";
62 regulator-min-microvolt = <5000000>;
63 regulator-max-microvolt = <5000000>;
64 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; /* USBH_PEN */
65 vin-supply = <&reg_5v0>;
66 };
Philippe Schenkerc0f15262022-04-08 10:07:11 +020067
68 reg_eth_phy: regulator-eth-phy {
69 compatible = "regulator-fixed-clock";
70 regulator-boot-on;
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
73 regulator-name = "eth_phy";
74 regulator-type = "voltage";
75 vin-supply = <&reg_module_3v3>;
76 clocks = <&clks IMX6UL_CLK_ENET2_REF_125M>;
77 startup-delay-us = <150000>;
78 };
Igor Opaniuk1ec7c002019-10-16 13:39:35 +030079};
80
81&adc1 {
82 num-channels = <10>;
83 vref-supply = <&reg_module_3v3_avdd>;
84};
85
86/* Colibri SPI */
87&ecspi1 {
88 cs-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
91};
92
93/* Ethernet */
94&fec2 {
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_enet2>;
97 phy-mode = "rmii";
98 phy-handle = <&ethphy1>;
Philippe Schenkerc0f15262022-04-08 10:07:11 +020099 phy-supply = <&reg_eth_phy>;
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300100 status = "okay";
101
102 mdio {
103 #address-cells = <1>;
104 #size-cells = <0>;
105
106 ethphy1: ethernet-phy@2 {
107 compatible = "ethernet-phy-ieee802.3-c22";
108 max-speed = <100>;
109 reg = <2>;
110 };
111 };
112};
113
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300114/*
115 * I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier board)
116 */
117&i2c1 {
118 pinctrl-names = "default", "gpio";
119 pinctrl-0 = <&pinctrl_i2c1>;
120 pinctrl-1 = <&pinctrl_i2c1_gpio>;
121 sda-gpios = <&gpio1 29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
122 scl-gpios = <&gpio1 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
123 status = "okay";
124};
125
126/*
127 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
128 * touch screen controller
129 */
130&i2c2 {
131 pinctrl-names = "default", "gpio";
132 pinctrl-0 = <&pinctrl_i2c2>;
133 pinctrl-1 = <&pinctrl_i2c2_gpio>;
134 sda-gpios = <&gpio1 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
135 scl-gpios = <&gpio1 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
136 status = "okay";
137
138 ad7879@2c {
139 compatible = "adi,ad7879-1";
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_snvs_ad7879_int>;
142 reg = <0x2c>;
143 interrupt-parent = <&gpio5>;
144 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
145 touchscreen-max-pressure = <4096>;
146 adi,resistance-plate-x = <120>;
147 adi,first-conversion-delay = /bits/ 8 <3>;
148 adi,acquisition-time = /bits/ 8 <1>;
149 adi,median-filter-size = /bits/ 8 <2>;
150 adi,averaging = /bits/ 8 <1>;
151 adi,conversion-interval = /bits/ 8 <255>;
152 };
153};
154
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300155/* PWM <A> */
156&pwm4 {
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_pwm4>;
159 #pwm-cells = <3>;
160};
161
162/* PWM <B> */
163&pwm5 {
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_pwm5>;
166 #pwm-cells = <3>;
167};
168
169/* PWM <C> */
170&pwm6 {
171 pinctrl-names = "default";
172 pinctrl-0 = <&pinctrl_pwm6>;
173 #pwm-cells = <3>;
174};
175
176/* PWM <D> */
177&pwm7 {
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_pwm7>;
180 #pwm-cells = <3>;
181};
182
183&sdma {
184 status = "okay";
185};
186
187&snvs_pwrkey {
188 status = "disabled";
189};
190
191/* Colibri UART_A */
192&uart1 {
193 pinctrl-names = "default";
194 pinctrl-0 = <&pinctrl_uart1 &pinctrl_uart1_ctrl1>;
195 uart-has-rtscts;
196 fsl,dte-mode;
197 status = "okay";
198};
199
200/* Colibri UART_B */
201&uart2 {
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_uart2>;
204 uart-has-rtscts;
205 fsl,dte-mode;
206};
207
208/* Colibri UART_C */
209&uart5 {
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_uart5>;
212 fsl,dte-mode;
213};
214
215/* Colibri USBC */
216&usbotg1 {
217 dr_mode = "host";
218 srp-disable;
219 hnp-disable;
220 adp-disable;
221 status = "okay";
222};
223
224/* Colibri USBH */
225&usbotg2 {
226 dr_mode = "host";
227 vbus-supply = <&reg_usbh_vbus>;
228 status = "okay";
229};
230
231/* Colibri MMC */
232&usdhc1 {
233 assigned-clocks = <&clks IMX6UL_CLK_USDHC1_SEL>, <&clks IMX6UL_CLK_USDHC1>;
234 assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
235 assigned-clock-rates = <0>, <198000000>;
Marcel Ziswiler27fd2802022-04-08 12:28:21 +0200236 bus-width = <4>;
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300237 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; /* MMC_CD */
Marcel Ziswiler27fd2802022-04-08 12:28:21 +0200238 disable-wp;
239 no-1-8-v;
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300240 pinctrl-names = "default", "state_100mhz", "state_200mhz";
241 pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_cd>;
242 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
243 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
Marcel Ziswiler27fd2802022-04-08 12:28:21 +0200244 vqmmc-supply = <&reg_sd1_vqmmc>;
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300245 status = "okay";
246};
247
248&iomuxc {
249 pinctrl_can_int: canint-grp {
250 fsl,pins = <
251 /* SODIMM 73 */
252 MX6UL_PAD_ENET1_TX_DATA1__GPIO2_IO04 0X14
253 >;
254 };
255
256 pinctrl_enet2: enet2-grp {
257 fsl,pins = <
258 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
259 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0
260 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
261 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
262 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
263 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
264 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031
265 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
266 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
267 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
268 >;
269 };
270
271 pinctrl_ecspi1_cs: ecspi1-cs-grp {
272 fsl,pins = <
273 MX6UL_PAD_LCD_DATA21__GPIO3_IO26 0x000a0
274 >;
275 };
276
277 pinctrl_ecspi1: ecspi1-grp {
278 fsl,pins = <
279 MX6UL_PAD_LCD_DATA20__ECSPI1_SCLK 0x000a0
280 MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI 0x000a0
281 MX6UL_PAD_LCD_DATA23__ECSPI1_MISO 0x100a0
282 >;
283 };
284
285 pinctrl_flexcan2: flexcan2-grp {
286 fsl,pins = <
287 MX6UL_PAD_ENET1_TX_DATA0__FLEXCAN2_RX 0x1b020
288 MX6UL_PAD_ENET1_RX_EN__FLEXCAN2_TX 0x1b020
289 >;
290 };
291
292 pinctrl_gpio_bl_on: gpio-bl-on-grp {
293 fsl,pins = <
294 MX6UL_PAD_JTAG_TMS__GPIO1_IO11 0x000a0
295 >;
296 };
297
298 pinctrl_gpio1: gpio1-grp {
299 fsl,pins = <
300 MX6UL_PAD_ENET1_RX_DATA0__GPIO2_IO00 0x74 /* SODIMM 55 */
301 MX6UL_PAD_ENET1_RX_DATA1__GPIO2_IO01 0x74 /* SODIMM 63 */
302 MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25 0X14 /* SODIMM 77 */
303 MX6UL_PAD_JTAG_TCK__GPIO1_IO14 0x14 /* SODIMM 99 */
304 MX6UL_PAD_NAND_CE1_B__GPIO4_IO14 0x14 /* SODIMM 133 */
305 MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24 0x14 /* SODIMM 135 */
306 MX6UL_PAD_UART3_CTS_B__GPIO1_IO26 0x14 /* SODIMM 100 */
307 MX6UL_PAD_JTAG_TRST_B__GPIO1_IO15 0x14 /* SODIMM 102 */
308 MX6UL_PAD_ENET1_RX_ER__GPIO2_IO07 0x14 /* SODIMM 104 */
309 MX6UL_PAD_UART3_RTS_B__GPIO1_IO27 0x14 /* SODIMM 186 */
310 >;
311 };
312
313 pinctrl_gpio2: gpio2-grp { /* Camera */
314 fsl,pins = <
315 MX6UL_PAD_CSI_DATA04__GPIO4_IO25 0x74 /* SODIMM 69 */
316 MX6UL_PAD_CSI_MCLK__GPIO4_IO17 0x14 /* SODIMM 75 */
317 MX6UL_PAD_CSI_DATA06__GPIO4_IO27 0x14 /* SODIMM 85 */
318 MX6UL_PAD_CSI_PIXCLK__GPIO4_IO18 0x14 /* SODIMM 96 */
319 MX6UL_PAD_CSI_DATA05__GPIO4_IO26 0x14 /* SODIMM 98 */
320 >;
321 };
322
323 pinctrl_gpio3: gpio3-grp { /* CAN2 */
324 fsl,pins = <
325 MX6UL_PAD_ENET1_RX_EN__GPIO2_IO02 0x14 /* SODIMM 178 */
326 MX6UL_PAD_ENET1_TX_DATA0__GPIO2_IO03 0x14 /* SODIMM 188 */
327 >;
328 };
329
330 pinctrl_gpio4: gpio4-grp {
331 fsl,pins = <
332 MX6UL_PAD_CSI_DATA07__GPIO4_IO28 0x74 /* SODIMM 65 */
333 >;
334 };
335
336 pinctrl_gpio5: gpio5-grp { /* ATMEL MXT TOUCH */
337 fsl,pins = <
338 MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x74 /* SODIMM 106 */
339 >;
340 };
341
342 pinctrl_gpio6: gpio6-grp { /* Wifi pins */
343 fsl,pins = <
344 MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0x14 /* SODIMM 89 */
345 MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x14 /* SODIMM 79 */
346 MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x14 /* SODIMM 81 */
347 MX6UL_PAD_CSI_DATA03__GPIO4_IO24 0x14 /* SODIMM 97 */
348 MX6UL_PAD_CSI_DATA00__GPIO4_IO21 0x14 /* SODIMM 101 */
349 MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x14 /* SODIMM 103 */
350 MX6UL_PAD_CSI_HSYNC__GPIO4_IO20 0x14 /* SODIMM 94 */
351 >;
352 };
353
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300354 pinctrl_i2c1: i2c1-grp {
355 fsl,pins = <
356 MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
357 MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
358 >;
359 };
360
361 pinctrl_i2c1_gpio: i2c1-gpio-grp {
362 fsl,pins = <
363 MX6UL_PAD_UART4_TX_DATA__GPIO1_IO28 0x4001b8b0
364 MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x4001b8b0
365 >;
366 };
367
368 pinctrl_i2c2: i2c2-grp {
369 fsl,pins = <
370 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
371 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
372 >;
373 };
374
375 pinctrl_i2c2_gpio: i2c2-gpio-grp {
376 fsl,pins = <
377 MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x4001b8b0
378 MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x4001b8b0
379 >;
380 };
381
382 pinctrl_lcdif_dat: lcdif-dat-grp {
383 fsl,pins = <
384 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x00079
385 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x00079
386 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x00079
387 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x00079
388 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x00079
389 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x00079
390 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x00079
391 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x00079
392 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x00079
393 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x00079
394 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x00079
395 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x00079
396 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x00079
397 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x00079
398 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x00079
399 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x00079
400 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x00079
401 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x00079
402 >;
403 };
404
405 pinctrl_lcdif_ctrl: lcdif-ctrl-grp {
406 fsl,pins = <
407 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x00079
408 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x00079
409 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x00079
410 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x00079
411 >;
412 };
413
414 pinctrl_pwm4: pwm4-grp {
415 fsl,pins = <
416 MX6UL_PAD_NAND_WP_B__PWM4_OUT 0x00079
417 >;
418 };
419
420 pinctrl_pwm5: pwm5-grp {
421 fsl,pins = <
422 MX6UL_PAD_NAND_DQS__PWM5_OUT 0x00079
423 >;
424 };
425
426 pinctrl_pwm6: pwm6-grp {
427 fsl,pins = <
428 MX6UL_PAD_ENET1_TX_EN__PWM6_OUT 0x00079
429 >;
430 };
431
432 pinctrl_pwm7: pwm7-grp {
433 fsl,pins = <
434 MX6UL_PAD_ENET1_TX_CLK__PWM7_OUT 0x00079
435 >;
436 };
437
438 pinctrl_uart1: uart1-grp {
439 fsl,pins = <
440 MX6UL_PAD_UART1_TX_DATA__UART1_DTE_RX 0x1b0b1
441 MX6UL_PAD_UART1_RX_DATA__UART1_DTE_TX 0x1b0b1
442 MX6UL_PAD_UART1_RTS_B__UART1_DTE_CTS 0x1b0b1
443 MX6UL_PAD_UART1_CTS_B__UART1_DTE_RTS 0x1b0b1
444 >;
445 };
446
447 pinctrl_uart1_ctrl1: uart1-ctrl1-grp { /* Additional DTR, DCD */
448 fsl,pins = <
449 MX6UL_PAD_JTAG_TDI__GPIO1_IO13 0x1b0b1 /* DCD */
450 MX6UL_PAD_LCD_DATA18__GPIO3_IO23 0x1b0b1 /* DSR */
451 MX6UL_PAD_JTAG_TDO__GPIO1_IO12 0x1b0b1 /* DTR */
452 MX6UL_PAD_LCD_DATA19__GPIO3_IO24 0x1b0b1 /* RI */
453 >;
454 };
455
456 pinctrl_uart2: uart2-grp {
457 fsl,pins = <
458 MX6UL_PAD_UART2_TX_DATA__UART2_DTE_RX 0x1b0b1
459 MX6UL_PAD_UART2_RX_DATA__UART2_DTE_TX 0x1b0b1
460 MX6UL_PAD_UART2_CTS_B__UART2_DTE_RTS 0x1b0b1
461 MX6UL_PAD_UART2_RTS_B__UART2_DTE_CTS 0x1b0b1
462 >;
463 };
464 pinctrl_uart5: uart5-grp {
465 fsl,pins = <
466 MX6UL_PAD_GPIO1_IO04__UART5_DTE_RX 0x1b0b1
467 MX6UL_PAD_GPIO1_IO05__UART5_DTE_TX 0x1b0b1
468 >;
469 };
470
471 pinctrl_usbh_reg: gpio-usbh-reg {
472 fsl,pins = <
473 MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0x1b0b1 /* SODIMM 129 USBH PEN */
474 >;
475 };
476
477 pinctrl_usdhc1: usdhc1-grp {
478 fsl,pins = <
Marcel Ziswiler27fd2802022-04-08 12:28:21 +0200479 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10059
480 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300481 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
482 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
483 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
484 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
485 >;
486 };
487
488 pinctrl_usdhc1_100mhz: usdhc1-100mhz-grp {
489 fsl,pins = <
Marcel Ziswiler27fd2802022-04-08 12:28:21 +0200490 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100b9
491 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170b9
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300492 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9
493 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9
494 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9
495 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9
496 >;
497 };
498
499 pinctrl_usdhc1_200mhz: usdhc1-200mhz-grp {
500 fsl,pins = <
Marcel Ziswiler27fd2802022-04-08 12:28:21 +0200501 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100f9
502 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170f9
Igor Opaniuk1ec7c002019-10-16 13:39:35 +0300503 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9
504 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9
505 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9
506 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9
507 >;
508 };
509
510 pinctrl_usdhc2: usdhc2-grp {
511 fsl,pins = <
512 MX6UL_PAD_CSI_DATA00__USDHC2_DATA0 0x17059
513 MX6UL_PAD_CSI_DATA01__USDHC2_DATA1 0x17059
514 MX6UL_PAD_CSI_DATA02__USDHC2_DATA2 0x17059
515 MX6UL_PAD_CSI_DATA03__USDHC2_DATA3 0x17059
516 MX6UL_PAD_CSI_HSYNC__USDHC2_CMD 0x17059
517 MX6UL_PAD_CSI_VSYNC__USDHC2_CLK 0x17059
518
519 MX6UL_PAD_GPIO1_IO03__OSC32K_32K_OUT 0x14
520 >;
521 };
522};
523
524&iomuxc_snvs {
525 pinctrl_snvs_gpio1: snvs-gpio1-grp {
526 fsl,pins = <
527 MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x14 /* SODIMM 93 */
528 MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x14 /* SODIMM 95 */
529 MX6ULL_PAD_BOOT_MODE0__GPIO5_IO10 0x74 /* SODIMM 105 */
530 MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x14 /* SODIMM 131 USBH OC */
531 MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x74 /* SODIMM 138 */
532 >;
533 };
534
535 pinctrl_snvs_gpio2: snvs-gpio2-grp { /* ATMEL MXT TOUCH */
536 fsl,pins = <
537 MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x74 /* SODIMM 107 */
538 >;
539 };
540
541 pinctrl_snvs_gpio3: snvs-gpio3-grp { /* Wifi pins */
542 fsl,pins = <
543 MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x14 /* SODIMM 127 */
544 >;
545 };
546
547 pinctrl_snvs_ad7879_int: snvs-ad7879-int-grp { /* TOUCH Interrupt */
548 fsl,pins = <
549 MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x1b0b0
550 >;
551 };
552
553 pinctrl_snvs_reg_sd: snvs-reg-sd-grp {
554 fsl,pins = <
555 MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x4001b8b0
556 >;
557 };
558
559 pinctrl_snvs_usbc_det: snvs-usbc-det-grp {
560 fsl,pins = <
561 MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x1b0b0
562 >;
563 };
564
565 pinctrl_snvs_gpiokeys: snvs-gpiokeys-grp {
566 fsl,pins = <
567 MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x130b0
568 >;
569 };
570
571 pinctrl_snvs_usdhc1_cd: snvs-usdhc1-cd-grp {
572 fsl,pins = <
573 MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x1b0b0 /* CD */
574 >;
575 };
576
577 pinctrl_snvs_wifi_pdn: snvs-wifi-pdn-grp {
578 fsl,pins = <
579 MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x14
580 >;
581 };
582};