blob: 262205ac5e810f4f9ea4fa7680a4d767f9fe8e12 [file] [log] [blame]
Stefan Agner7b852342018-05-30 19:01:48 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
Marcel Ziswilera8576742019-04-09 17:24:15 +02003 * Copyright 2018-2019 Toradex AG
Stefan Agner7b852342018-05-30 19:01:48 +02004 */
5
6/dts-v1/;
7#include <dt-bindings/gpio/gpio.h>
8#include "imx6ull.dtsi"
9
10/ {
11 model = "Toradex Colibri iMX6ULL";
Marcel Ziswiler51d37492019-04-18 01:57:32 +020012 compatible = "toradex,colibri-imx6ull", "fsl,imx6ull";
Stefan Agner7b852342018-05-30 19:01:48 +020013
Marcel Ziswilera8576742019-04-09 17:24:15 +020014 aliases {
Igor Opaniukc5fae282019-06-19 11:47:09 +030015 u-boot,dm-pre-reloc;
Marcel Ziswilera8576742019-04-09 17:24:15 +020016 mmc0 = &usdhc1;
Marcel Ziswilera7099e82019-04-09 17:24:16 +020017 usb0 = &usbotg1; /* required for ums */
Igor Opaniukc5fae282019-06-19 11:47:09 +030018 display0 = &lcdif;
Marcel Ziswilera8576742019-04-09 17:24:15 +020019 };
20
Stefan Agner7b852342018-05-30 19:01:48 +020021 chosen {
22 stdout-path = &uart1;
23 };
24
25 reg_module_3v3: regulator-module-3v3 {
26 compatible = "regulator-fixed";
27 regulator-always-on;
28 regulator-name = "+V3.3";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
31 };
32
33 reg_module_3v3_avdd: regulator-module-3v3-avdd {
34 compatible = "regulator-fixed";
35 regulator-always-on;
36 regulator-name = "+V3.3_AVDD_AUDIO";
37 regulator-min-microvolt = <3300000>;
38 regulator-max-microvolt = <3300000>;
39 };
40
Marcel Ziswilera7099e82019-04-09 17:24:16 +020041 reg_5v0: regulator-5v0 {
42 compatible = "regulator-fixed";
43 regulator-name = "5V";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
46 };
47
Stefan Agner7b852342018-05-30 19:01:48 +020048 reg_sd1_vmmc: regulator-sd1-vmmc {
49 compatible = "regulator-gpio";
50 gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&pinctrl_snvs_reg_sd>;
53 regulator-always-on;
54 regulator-name = "+V3.3_1.8_SD";
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <3300000>;
57 states = <1800000 0x1 3300000 0x0>;
58 vin-supply = <&reg_module_3v3>;
59 };
Marcel Ziswilera7099e82019-04-09 17:24:16 +020060
61 reg_usbh_vbus: regulator-usbh-vbus {
62 compatible = "regulator-fixed";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_usbh_reg>;
65 regulator-name = "VCC_USB[1-4]";
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5000000>;
68 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; /* USBH_PEN */
69 vin-supply = <&reg_5v0>;
70 };
Stefan Agner7b852342018-05-30 19:01:48 +020071};
72
73&adc1 {
74 num-channels = <10>;
75 vref-supply = <&reg_module_3v3_avdd>;
76};
77
78/* Colibri SPI */
79&ecspi1 {
80 cs-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
83};
84
Marcel Ziswiler542d0682019-04-09 17:24:17 +020085/* Ethernet */
Stefan Agner7b852342018-05-30 19:01:48 +020086&fec2 {
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_enet2>;
89 phy-mode = "rmii";
90 phy-handle = <&ethphy1>;
91 status = "okay";
92
93 mdio {
94 #address-cells = <1>;
95 #size-cells = <0>;
96
97 ethphy1: ethernet-phy@2 {
98 compatible = "ethernet-phy-ieee802.3-c22";
99 max-speed = <100>;
100 reg = <2>;
101 };
102 };
103};
104
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200105/* NAND */
Stefan Agner7b852342018-05-30 19:01:48 +0200106&gpmi {
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_gpmi_nand>;
109 nand-on-flash-bbt;
110 nand-ecc-mode = "hw";
111 nand-ecc-strength = <8>;
112 nand-ecc-step-size = <512>;
113 status = "okay";
114};
115
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200116/*
117 * I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier board)
118 */
Stefan Agner7b852342018-05-30 19:01:48 +0200119&i2c1 {
120 pinctrl-names = "default", "gpio";
121 pinctrl-0 = <&pinctrl_i2c1>;
122 pinctrl-1 = <&pinctrl_i2c1_gpio>;
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200123 sda-gpios = <&gpio1 29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
124 scl-gpios = <&gpio1 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Stefan Agner7b852342018-05-30 19:01:48 +0200125 status = "okay";
126};
127
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200128/*
129 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
130 * touch screen controller
131 */
Stefan Agner7b852342018-05-30 19:01:48 +0200132&i2c2 {
133 pinctrl-names = "default", "gpio";
134 pinctrl-0 = <&pinctrl_i2c2>;
135 pinctrl-1 = <&pinctrl_i2c2_gpio>;
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200136 sda-gpios = <&gpio1 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
137 scl-gpios = <&gpio1 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Stefan Agner7b852342018-05-30 19:01:48 +0200138 status = "okay";
139
140 ad7879@2c {
141 compatible = "adi,ad7879-1";
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_snvs_ad7879_int>;
144 reg = <0x2c>;
145 interrupt-parent = <&gpio5>;
146 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
147 touchscreen-max-pressure = <4096>;
148 adi,resistance-plate-x = <120>;
149 adi,first-conversion-delay = /bits/ 8 <3>;
150 adi,acquisition-time = /bits/ 8 <1>;
151 adi,median-filter-size = /bits/ 8 <2>;
152 adi,averaging = /bits/ 8 <1>;
153 adi,conversion-interval = /bits/ 8 <255>;
154 };
155};
156
157&lcdif {
158 pinctrl-names = "default";
159 pinctrl-0 = <&pinctrl_lcdif_dat
160 &pinctrl_lcdif_ctrl>;
Igor Opaniukc5fae282019-06-19 11:47:09 +0300161 status = "okay";
162 display = <&display0>;
163 u-boot,dm-pre-reloc;
164
165 display0: display0 {
166 bits-per-pixel = <18>;
167 bus-width = <24>;
168 status = "okay";
169
170 display-timings {
171 native-mode = <&timing_vga>;
172 timing_vga: 640x480 {
173 u-boot,dm-pre-reloc;
174 clock-frequency = <25175000>;
175 hactive = <640>;
176 vactive = <480>;
177 hback-porch = <48>;
178 hfront-porch = <16>;
179 vback-porch = <33>;
180 vfront-porch = <10>;
181 hsync-len = <96>;
182 vsync-len = <2>;
183
184 de-active = <1>;
185 hsync-active = <0>;
186 vsync-active = <0>;
187 pixelclk-active = <0>;
188 };
189 };
190 };
Stefan Agner7b852342018-05-30 19:01:48 +0200191};
192
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200193/* PWM <A> */
Stefan Agner7b852342018-05-30 19:01:48 +0200194&pwm4 {
195 pinctrl-names = "default";
196 pinctrl-0 = <&pinctrl_pwm4>;
197 #pwm-cells = <3>;
198};
199
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200200/* PWM <B> */
Stefan Agner7b852342018-05-30 19:01:48 +0200201&pwm5 {
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_pwm5>;
204 #pwm-cells = <3>;
205};
206
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200207/* PWM <C> */
Stefan Agner7b852342018-05-30 19:01:48 +0200208&pwm6 {
209 pinctrl-names = "default";
210 pinctrl-0 = <&pinctrl_pwm6>;
211 #pwm-cells = <3>;
212};
213
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200214/* PWM <D> */
Stefan Agner7b852342018-05-30 19:01:48 +0200215&pwm7 {
216 pinctrl-names = "default";
217 pinctrl-0 = <&pinctrl_pwm7>;
218 #pwm-cells = <3>;
219};
220
221&sdma {
222 status = "okay";
223};
224
225&snvs_pwrkey {
226 status = "disabled";
227};
228
Marcel Ziswilerdcc146f2019-04-09 17:24:18 +0200229/* Colibri UART_A */
Stefan Agner7b852342018-05-30 19:01:48 +0200230&uart1 {
231 pinctrl-names = "default";
232 pinctrl-0 = <&pinctrl_uart1 &pinctrl_uart1_ctrl1>;
Marcel Ziswilerdcc146f2019-04-09 17:24:18 +0200233 uart-has-rtscts;
Stefan Agner7b852342018-05-30 19:01:48 +0200234 fsl,dte-mode;
235 status = "okay";
236};
237
Marcel Ziswilerdcc146f2019-04-09 17:24:18 +0200238/* Colibri UART_B */
Stefan Agner7b852342018-05-30 19:01:48 +0200239&uart2 {
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_uart2>;
Marcel Ziswilerdcc146f2019-04-09 17:24:18 +0200242 uart-has-rtscts;
Stefan Agner7b852342018-05-30 19:01:48 +0200243 fsl,dte-mode;
244};
245
Marcel Ziswilerdcc146f2019-04-09 17:24:18 +0200246/* Colibri UART_C */
Stefan Agner7b852342018-05-30 19:01:48 +0200247&uart5 {
248 pinctrl-names = "default";
249 pinctrl-0 = <&pinctrl_uart5>;
250 fsl,dte-mode;
251};
252
Marcel Ziswilera7099e82019-04-09 17:24:16 +0200253/* Colibri USBC */
Stefan Agner7b852342018-05-30 19:01:48 +0200254&usbotg1 {
Marcel Ziswiler710abb82019-04-26 20:48:14 +0200255 dr_mode = "host";
Stefan Agner7b852342018-05-30 19:01:48 +0200256 srp-disable;
257 hnp-disable;
258 adp-disable;
Marcel Ziswilera7099e82019-04-09 17:24:16 +0200259 status = "okay";
Stefan Agner7b852342018-05-30 19:01:48 +0200260};
261
Marcel Ziswilera7099e82019-04-09 17:24:16 +0200262/* Colibri USBH */
Stefan Agner7b852342018-05-30 19:01:48 +0200263&usbotg2 {
264 dr_mode = "host";
Marcel Ziswilera7099e82019-04-09 17:24:16 +0200265 vbus-supply = <&reg_usbh_vbus>;
266 status = "okay";
Stefan Agner7b852342018-05-30 19:01:48 +0200267};
268
Marcel Ziswilera8576742019-04-09 17:24:15 +0200269/* Colibri MMC */
Stefan Agner7b852342018-05-30 19:01:48 +0200270&usdhc1 {
271 assigned-clocks = <&clks IMX6UL_CLK_USDHC1_SEL>, <&clks IMX6UL_CLK_USDHC1>;
272 assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
273 assigned-clock-rates = <0>, <198000000>;
Marcel Ziswilera8576742019-04-09 17:24:15 +0200274 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; /* MMC_CD */
275 pinctrl-names = "default", "state_100mhz", "state_200mhz";
276 pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_cd>;
277 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
278 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
279 vmmc-supply = <&reg_sd1_vmmc>;
280 status = "okay";
Stefan Agner7b852342018-05-30 19:01:48 +0200281};
282
283&iomuxc {
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200284 pinctrl_can_int: canint-grp {
285 fsl,pins = <
286 /* SODIMM 73 */
287 MX6UL_PAD_ENET1_TX_DATA1__GPIO2_IO04 0X14
288 >;
289 };
290
Marcel Ziswiler542d0682019-04-09 17:24:17 +0200291 pinctrl_enet2: enet2-grp {
292 fsl,pins = <
293 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
294 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0
295 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
296 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
297 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
298 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
299 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031
300 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
301 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
302 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
303 >;
304 };
305
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200306 pinctrl_ecspi1_cs: ecspi1-cs-grp {
307 fsl,pins = <
308 MX6UL_PAD_LCD_DATA21__GPIO3_IO26 0x000a0
309 >;
310 };
311
312 pinctrl_ecspi1: ecspi1-grp {
313 fsl,pins = <
314 MX6UL_PAD_LCD_DATA20__ECSPI1_SCLK 0x000a0
315 MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI 0x000a0
316 MX6UL_PAD_LCD_DATA23__ECSPI1_MISO 0x100a0
317 >;
318 };
319
320 pinctrl_flexcan2: flexcan2-grp {
321 fsl,pins = <
322 MX6UL_PAD_ENET1_TX_DATA0__FLEXCAN2_RX 0x1b020
323 MX6UL_PAD_ENET1_RX_EN__FLEXCAN2_TX 0x1b020
324 >;
325 };
326
327 pinctrl_gpio_bl_on: gpio-bl-on-grp {
328 fsl,pins = <
329 MX6UL_PAD_JTAG_TMS__GPIO1_IO11 0x000a0
330 >;
331 };
332
Stefan Agner7b852342018-05-30 19:01:48 +0200333 pinctrl_gpio1: gpio1-grp {
334 fsl,pins = <
335 MX6UL_PAD_ENET1_RX_DATA0__GPIO2_IO00 0x74 /* SODIMM 55 */
336 MX6UL_PAD_ENET1_RX_DATA1__GPIO2_IO01 0x74 /* SODIMM 63 */
337 MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25 0X14 /* SODIMM 77 */
338 MX6UL_PAD_JTAG_TCK__GPIO1_IO14 0x14 /* SODIMM 99 */
339 MX6UL_PAD_NAND_CE1_B__GPIO4_IO14 0x14 /* SODIMM 133 */
340 MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24 0x14 /* SODIMM 135 */
341 MX6UL_PAD_UART3_CTS_B__GPIO1_IO26 0x14 /* SODIMM 100 */
342 MX6UL_PAD_JTAG_TRST_B__GPIO1_IO15 0x14 /* SODIMM 102 */
343 MX6UL_PAD_ENET1_RX_ER__GPIO2_IO07 0x14 /* SODIMM 104 */
344 MX6UL_PAD_UART3_RTS_B__GPIO1_IO27 0x14 /* SODIMM 186 */
345 >;
346 };
347
348 pinctrl_gpio2: gpio2-grp { /* Camera */
349 fsl,pins = <
350 MX6UL_PAD_CSI_DATA04__GPIO4_IO25 0x74 /* SODIMM 69 */
351 MX6UL_PAD_CSI_MCLK__GPIO4_IO17 0x14 /* SODIMM 75 */
352 MX6UL_PAD_CSI_DATA06__GPIO4_IO27 0x14 /* SODIMM 85 */
353 MX6UL_PAD_CSI_PIXCLK__GPIO4_IO18 0x14 /* SODIMM 96 */
354 MX6UL_PAD_CSI_DATA05__GPIO4_IO26 0x14 /* SODIMM 98 */
355 >;
356 };
357
358 pinctrl_gpio3: gpio3-grp { /* CAN2 */
359 fsl,pins = <
360 MX6UL_PAD_ENET1_RX_EN__GPIO2_IO02 0x14 /* SODIMM 178 */
361 MX6UL_PAD_ENET1_TX_DATA0__GPIO2_IO03 0x14 /* SODIMM 188 */
362 >;
363 };
364
365 pinctrl_gpio4: gpio4-grp {
366 fsl,pins = <
367 MX6UL_PAD_CSI_DATA07__GPIO4_IO28 0x74 /* SODIMM 65 */
368 >;
369 };
370
371 pinctrl_gpio5: gpio5-grp { /* ATMEL MXT TOUCH */
372 fsl,pins = <
373 MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x74 /* SODIMM 106 */
374 >;
375 };
376
377 pinctrl_gpio6: gpio6-grp { /* Wifi pins */
378 fsl,pins = <
379 MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0x14 /* SODIMM 89 */
380 MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x14 /* SODIMM 79 */
381 MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x14 /* SODIMM 81 */
382 MX6UL_PAD_CSI_DATA03__GPIO4_IO24 0x14 /* SODIMM 97 */
383 MX6UL_PAD_CSI_DATA00__GPIO4_IO21 0x14 /* SODIMM 101 */
384 MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x14 /* SODIMM 103 */
385 MX6UL_PAD_CSI_HSYNC__GPIO4_IO20 0x14 /* SODIMM 94 */
386 >;
387 };
388
Stefan Agner7b852342018-05-30 19:01:48 +0200389 pinctrl_gpmi_nand: gpmi-nand-grp {
390 fsl,pins = <
391 MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0x100a9
392 MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01 0x100a9
393 MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02 0x100a9
394 MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03 0x100a9
395 MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04 0x100a9
396 MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05 0x100a9
397 MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06 0x100a9
398 MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07 0x100a9
399 MX6UL_PAD_NAND_CLE__RAWNAND_CLE 0x100a9
400 MX6UL_PAD_NAND_ALE__RAWNAND_ALE 0x100a9
401 MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B 0x100a9
402 MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B 0x100a9
403 MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B 0x100a9
404 MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0x100a9
405 >;
406 };
407
408 pinctrl_i2c1: i2c1-grp {
409 fsl,pins = <
410 MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
411 MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
412 >;
413 };
414
415 pinctrl_i2c1_gpio: i2c1-gpio-grp {
416 fsl,pins = <
417 MX6UL_PAD_UART4_TX_DATA__GPIO1_IO28 0x4001b8b0
418 MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x4001b8b0
419 >;
420 };
421
422 pinctrl_i2c2: i2c2-grp {
423 fsl,pins = <
424 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
425 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
426 >;
427 };
428
429 pinctrl_i2c2_gpio: i2c2-gpio-grp {
430 fsl,pins = <
431 MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x4001b8b0
432 MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x4001b8b0
433 >;
434 };
435
436 pinctrl_lcdif_dat: lcdif-dat-grp {
437 fsl,pins = <
438 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x00079
439 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x00079
440 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x00079
441 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x00079
442 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x00079
443 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x00079
444 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x00079
445 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x00079
446 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x00079
447 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x00079
448 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x00079
449 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x00079
450 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x00079
451 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x00079
452 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x00079
453 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x00079
454 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x00079
455 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x00079
456 >;
457 };
458
459 pinctrl_lcdif_ctrl: lcdif-ctrl-grp {
460 fsl,pins = <
461 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x00079
462 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x00079
463 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x00079
464 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x00079
465 >;
466 };
467
468 pinctrl_pwm4: pwm4-grp {
469 fsl,pins = <
470 MX6UL_PAD_NAND_WP_B__PWM4_OUT 0x00079
471 >;
472 };
473
474 pinctrl_pwm5: pwm5-grp {
475 fsl,pins = <
476 MX6UL_PAD_NAND_DQS__PWM5_OUT 0x00079
477 >;
478 };
479
480 pinctrl_pwm6: pwm6-grp {
481 fsl,pins = <
482 MX6UL_PAD_ENET1_TX_EN__PWM6_OUT 0x00079
483 >;
484 };
485
486 pinctrl_pwm7: pwm7-grp {
487 fsl,pins = <
488 MX6UL_PAD_ENET1_TX_CLK__PWM7_OUT 0x00079
489 >;
490 };
491
492 pinctrl_uart1: uart1-grp {
493 fsl,pins = <
494 MX6UL_PAD_UART1_TX_DATA__UART1_DTE_RX 0x1b0b1
495 MX6UL_PAD_UART1_RX_DATA__UART1_DTE_TX 0x1b0b1
496 MX6UL_PAD_UART1_RTS_B__UART1_DTE_CTS 0x1b0b1
497 MX6UL_PAD_UART1_CTS_B__UART1_DTE_RTS 0x1b0b1
498 >;
499 };
500
501 pinctrl_uart1_ctrl1: uart1-ctrl1-grp { /* Additional DTR, DCD */
502 fsl,pins = <
503 MX6UL_PAD_JTAG_TDI__GPIO1_IO13 0x1b0b1 /* DCD */
504 MX6UL_PAD_LCD_DATA18__GPIO3_IO23 0x1b0b1 /* DSR */
505 MX6UL_PAD_JTAG_TDO__GPIO1_IO12 0x1b0b1 /* DTR */
506 MX6UL_PAD_LCD_DATA19__GPIO3_IO24 0x1b0b1 /* RI */
507 >;
508 };
509
510 pinctrl_uart2: uart2-grp {
511 fsl,pins = <
512 MX6UL_PAD_UART2_TX_DATA__UART2_DTE_RX 0x1b0b1
513 MX6UL_PAD_UART2_RX_DATA__UART2_DTE_TX 0x1b0b1
514 MX6UL_PAD_UART2_CTS_B__UART2_DTE_RTS 0x1b0b1
515 MX6UL_PAD_UART2_RTS_B__UART2_DTE_CTS 0x1b0b1
516 >;
517 };
518 pinctrl_uart5: uart5-grp {
519 fsl,pins = <
520 MX6UL_PAD_GPIO1_IO04__UART5_DTE_RX 0x1b0b1
521 MX6UL_PAD_GPIO1_IO05__UART5_DTE_TX 0x1b0b1
522 >;
523 };
524
525 pinctrl_usbh_reg: gpio-usbh-reg {
526 fsl,pins = <
527 MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0x1b0b1 /* SODIMM 129 USBH PEN */
528 >;
529 };
530
531 pinctrl_usdhc1: usdhc1-grp {
532 fsl,pins = <
533 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x17059
534 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x10059
535 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
536 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
537 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
538 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
539 >;
540 };
541
542 pinctrl_usdhc1_100mhz: usdhc1-100mhz-grp {
543 fsl,pins = <
544 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x170b9
545 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x100b9
546 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9
547 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9
548 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9
549 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9
550 >;
551 };
552
553 pinctrl_usdhc1_200mhz: usdhc1-200mhz-grp {
554 fsl,pins = <
555 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x170f9
556 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x100f9
557 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9
558 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9
559 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9
560 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9
561 >;
562 };
563
564 pinctrl_usdhc2: usdhc2-grp {
565 fsl,pins = <
566 MX6UL_PAD_CSI_DATA00__USDHC2_DATA0 0x17059
567 MX6UL_PAD_CSI_DATA01__USDHC2_DATA1 0x17059
568 MX6UL_PAD_CSI_DATA02__USDHC2_DATA2 0x17059
569 MX6UL_PAD_CSI_DATA03__USDHC2_DATA3 0x17059
570 MX6UL_PAD_CSI_HSYNC__USDHC2_CMD 0x17059
571 MX6UL_PAD_CSI_VSYNC__USDHC2_CLK 0x17059
Marcel Ziswiler706edc12019-04-18 01:57:31 +0200572
573 MX6UL_PAD_GPIO1_IO03__OSC32K_32K_OUT 0x14
Stefan Agner7b852342018-05-30 19:01:48 +0200574 >;
575 };
576};
577
578&iomuxc_snvs {
579 pinctrl_snvs_gpio1: snvs-gpio1-grp {
580 fsl,pins = <
581 MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x14 /* SODIMM 93 */
582 MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x14 /* SODIMM 95 */
583 MX6ULL_PAD_BOOT_MODE0__GPIO5_IO10 0x74 /* SODIMM 105 */
584 MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x14 /* SODIMM 131 USBH OC */
585 MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x74 /* SODIMM 138 */
586 >;
587 };
588
589 pinctrl_snvs_gpio2: snvs-gpio2-grp { /* ATMEL MXT TOUCH */
590 fsl,pins = <
591 MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x74 /* SODIMM 107 */
592 >;
593 };
594
595 pinctrl_snvs_gpio3: snvs-gpio3-grp { /* Wifi pins */
596 fsl,pins = <
597 MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x14 /* SODIMM 127 */
598 >;
599 };
600
Marcel Ziswiler51d37492019-04-18 01:57:32 +0200601 pinctrl_snvs_ad7879_int: snvs-ad7879-int-grp { /* TOUCH Interrupt */
Stefan Agner7b852342018-05-30 19:01:48 +0200602 fsl,pins = <
603 MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x1b0b0
604 >;
605 };
606
607 pinctrl_snvs_reg_sd: snvs-reg-sd-grp {
608 fsl,pins = <
609 MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x4001b8b0
610 >;
611 };
612
613 pinctrl_snvs_usbc_det: snvs-usbc-det-grp {
614 fsl,pins = <
615 MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x1b0b0
616 >;
617 };
618
619 pinctrl_snvs_gpiokeys: snvs-gpiokeys-grp {
620 fsl,pins = <
621 MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x130b0
622 >;
623 };
624
625 pinctrl_snvs_usdhc1_cd: snvs-usdhc1-cd-grp {
626 fsl,pins = <
627 MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x1b0b0 /* CD */
628 >;
629 };
630
631 pinctrl_snvs_wifi_pdn: snvs-wifi-pdn-grp {
632 fsl,pins = <
633 MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x14
634 >;
635 };
636};