1/*
2 * Copyright (c) 2022-2024 PHYTEC Messtechnik GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <nxp/nxp_imx/mimx8mm6dvtlz-pinctrl.dtsi>
8
9&pinctrl {
10	uart4_default: uart4_default {
11		group0 {
12			pinmux = <&iomuxc_uart4_rxd_uart_rx_uart4_rx>,
13				<&iomuxc_uart4_txd_uart_tx_uart4_tx>;
14			slew-rate = "fast";
15			drive-strength = "x6";
16		};
17	};
18
19	uart3_default: uart3_default {
20		group0 {
21			pinmux = <&iomuxc_uart3_rxd_uart_rx_uart3_rx>,
22				<&iomuxc_uart3_txd_uart_tx_uart3_tx>;
23			slew-rate = "fast";
24			drive-strength = "x6";
25		};
26	};
27
28	uart2_default: uart2_default {
29		group0 {
30			pinmux = <&iomuxc_sai3_rxd_uart_cts_b_uart2_rts_b>,
31				<&iomuxc_sai3_rxd_uart_rts_b_uart2_rts_b>,
32				<&iomuxc_sai3_txfs_uart_tx_uart2_rx>,
33				<&iomuxc_sai3_txc_uart_rx_uart2_tx>;
34			slew-rate = "fast";
35			drive-strength = "x6";
36		};
37	};
38
39	uart1_default: uart1_default {
40		group0 {
41			pinmux = <&iomuxc_sai2_rxfs_uart_rx_uart1_tx>,
42				<&iomuxc_sai2_rxc_uart_rx_uart1_rx>,
43				<&iomuxc_sai2_rxd0_uart_rts_b_uart1_rts_b>,
44				<&iomuxc_sai2_txfs_uart_cts_b_uart1_cts_b>;
45			slew-rate = "fast";
46			drive-strength = "x6";
47		};
48	};
49
50	ecspi1_default: ecspi1_default {
51		group1 {
52			pinmux = <&iomuxc_ecspi1_miso_ecspi_miso_ecspi1_miso>,
53					 <&iomuxc_ecspi1_mosi_ecspi_mosi_ecspi1_mosi>,
54					 <&iomuxc_ecspi1_sclk_ecspi_sclk_ecspi1_sclk>;
55			slew-rate = "fast";
56			drive-strength = "x6";
57		};
58		group2 {
59			pinmux = <&iomuxc_ecspi1_ss0_gpio_io_gpio5_io09>;
60			slew-rate = "fast";
61			drive-strength = "x6";
62			bias-pull-up;
63		};
64		group3 {
65			pinmux = <&iomuxc_sd2_wp_gpio_io_gpio2_io20>;
66			slew-rate = "fast";
67			drive-strength = "x6";
68			bias-pull-up;
69		};
70	};
71
72	ecspi2_default: ecspi2_default {
73		group1 {
74			pinmux = <&iomuxc_ecspi2_miso_ecspi_miso_ecspi2_miso>,
75					 <&iomuxc_ecspi2_mosi_ecspi_mosi_ecspi2_mosi>,
76					 <&iomuxc_ecspi2_sclk_ecspi_sclk_ecspi2_sclk>;
77			slew-rate = "fast";
78			drive-strength = "x6";
79			bias-pull-up;
80		};
81		group2 {
82			pinmux = <&iomuxc_ecspi2_ss0_gpio_io_gpio5_io13>;
83			slew-rate = "fast";
84			drive-strength = "x6";
85			bias-pull-up;
86		};
87	};
88};
89