1/*
2 * NOTE: File generated by gen_board_pinctrl.py
3 * from MIMXRT595-EVK.mex
4 *
5 * Copyright 2022, 2024 NXP
6 * SPDX-License-Identifier: Apache-2.0
7 */
8
9
10#include <nxp/nxp_imx/rt/MIMXRT595SFFOC-pinctrl.h>
11
12&pinctrl {
13	pinmux_flexcomm0_usart: pinmux_flexcomm0_usart {
14		group0 {
15			pinmux = <FC0_RXD_SDA_MOSI_DATA_PIO0_2>;
16			input-enable;
17			slew-rate = "normal";
18			drive-strength = "normal";
19		};
20		group1 {
21			pinmux = <FC0_TXD_SCL_MISO_WS_PIO0_1>;
22			slew-rate = "normal";
23			drive-strength = "normal";
24		};
25	};
26
27	/* RX */
28	pinmux_flexcomm1_i2s: pinmux_flexcomm1_i2s {
29		group0 {
30			pinmux = <FC1_RXD_SDA_MOSI_DATA_PIO0_9>,
31				<FC1_TXD_SCL_MISO_WS_PIO0_8>,
32				<FC1_SCK_PIO0_7>,
33				<MCLK_PIO1_10>;
34			slew-rate = "normal";
35			input-enable;
36			drive-strength = "high";
37		};
38	};
39
40	/* TX */
41	pinmux_flexcomm3_i2s: pinmux_flexcomm3_i2s {
42		group0 {
43			pinmux = <FC3_RXD_SDA_MOSI_DATA_PIO0_23>, <MCLK_PIO1_10>;
44			input-enable;
45			slew-rate = "normal";
46			drive-strength = "high";
47		};
48	};
49
50	pinmux_dmic0: pinmux_dmic0 {
51		group0 {
52			pinmux = <DMIC0_DATA23_PIO3_1>, <DMIC0_DATA01_PIO5_8>,
53			       <DMIC0_CLK01_PIO5_4>;
54			slew-rate = "normal";
55			drive-strength = "normal";
56			input-enable;
57		};
58	};
59
60	pinmux_flexcomm4_i2c: pinmux_flexcomm4_i2c {
61		group0 {
62			pinmux = <FC4_TXD_SCL_MISO_WS_PIO0_29>,
63			       <FC4_RXD_SDA_MOSI_DATA_PIO0_30>;
64			input-enable;
65			slew-rate = "normal";
66			drive-strength = "high";
67			drive-open-drain;
68		};
69	};
70
71	pinmux_flexcomm12_usart: pinmux_flexcomm12_usart {
72		group0 {
73			pinmux = <FC12_RXD_SDA_MOSI_PIO4_31>;
74			input-enable;
75			slew-rate = "normal";
76			drive-strength = "normal";
77		};
78		group1 {
79			pinmux = <FC12_TXD_SCL_MISO_PIO4_30>;
80			slew-rate = "normal";
81			drive-strength = "normal";
82		};
83	};
84
85	pinmux_flexcomm16_spi: pinmux_flexcomm16_spi {
86		group0 {
87			pinmux = <HS_SPI1_SCK_PIO1_3>,
88					<HS_SPI1_MISO_PIO1_4>,
89					<HS_SPI1_MOSI_PIO1_5>,
90					<HS_SPI1_SSELN0_PIO1_6>;
91			input-enable;
92			slew-rate = "normal";
93			drive-strength = "normal";
94		};
95	};
96
97	pinmux_pmic_i2c: pinmux_pmic_i2c {
98		group0 {
99			pinmux = <PMIC_I2C_SCL>,
100				<PMIC_I2C_SDA>;
101			bias-pull-up;
102			input-enable;
103			slew-rate = "normal";
104			drive-strength = "normal";
105			drive-open-drain;
106		};
107	};
108
109	pinmux_flexspi2: pinmux_flexspi2 {
110		group0 {
111			pinmux =
112				<FLEXSPI1_SCLK_PIO4_11>,
113				<FLEXSPI1_DATA0_PIO4_12>,
114				<FLEXSPI1_DATA1_PIO4_13>,
115				<FLEXSPI1_DATA2_PIO4_14>,
116				<FLEXSPI1_DATA3_PIO4_15>,
117				<FLEXSPI1_DATA4_PIO5_15>,
118				<FLEXSPI1_DATA5_PIO5_16>,
119				<FLEXSPI1_DATA6_PIO5_17>,
120				<FLEXSPI1_DATA7_PIO5_18>,
121				<FLEXSPI1_SS0_N_PIO4_18>;
122			slew-rate = "normal";
123			input-enable;
124			drive-strength = "high";
125		};
126		group1 {
127			pinmux = <FLEXSPI1_DQS_PIO4_16>;
128			slew-rate = "normal";
129			input-enable;
130			drive-strength = "high";
131			bias-pull-down;
132		};
133	};
134
135	pinmux_flexspi: pinmux_flexspi {
136		group0 {
137			pinmux = <FLEXSPI0_SCLK_PIO1_18>,
138					<FLEXSPI0_SS0_N_PIO1_19>,
139					<FLEXSPI0_DATA0_PIO1_20>,
140					<FLEXSPI0_DATA1_PIO1_21>,
141					<FLEXSPI0_DATA2_PIO1_22>,
142					<FLEXSPI0_DATA3_PIO1_23>,
143					<FLEXSPI0_DATA4_PIO1_24>,
144					<FLEXSPI0_DATA5_PIO1_25>,
145					<FLEXSPI0_DATA6_PIO1_26>,
146					<FLEXSPI0_DATA7_PIO1_27>;
147			input-enable;
148			slew-rate = "normal";
149			drive-strength = "high";
150		};
151	};
152
153	pinmux_flexspi_sleep: pinmux_flexspi_sleep {
154		group0 {
155			pinmux = <FLEXSPI0_SCLK_PIO1_18>,
156					<FLEXSPI0_SS0_N_PIO1_19>;
157			slew-rate = "normal";
158			drive-strength = "high";
159		};
160		group1 {
161			pinmux = <FLEXSPI0_DATA0_PIO1_20>,
162					<FLEXSPI0_DATA1_PIO1_21>,
163					<FLEXSPI0_DATA2_PIO1_22>,
164					<FLEXSPI0_DATA3_PIO1_23>,
165					<FLEXSPI0_DATA4_PIO1_24>,
166					<FLEXSPI0_DATA5_PIO1_25>,
167					<FLEXSPI0_DATA6_PIO1_26>,
168					<FLEXSPI0_DATA7_PIO1_27>;
169			input-enable;
170			slew-rate = "normal";
171			drive-strength = "high";
172			bias-pull-up;
173		};
174	};
175
176	pinmux_lpadc0: pinmux_lpadc0 {
177		group0 {
178			pinmux = <ADC0_CH0_PIO0_5>,
179				<ADC0_CH8_PIO0_6>,
180				<ADC0_CH2_PIO0_19>;
181			slew-rate = "normal";
182			drive-strength = "normal";
183			nxp,analog-mode;
184		};
185	};
186
187	pinmux_usdhc: pinmux_usdhc {
188		group0 {
189			pinmux = <SD0_CMD_PIO1_31>,
190				 <USDHC0_USDHC_DATA0_PIO2_0>,
191				 <USDHC0_USDHC_DATA1_PIO2_1>,
192				 <USDHC0_USDHC_DATA2_PIO2_2>,
193				 <USDHC0_USDHC_DATA3_PIO2_3>,
194				 <USDHC0_USDHC_DATA4_PIO2_5>,
195				 <USDHC0_USDHC_DATA5_PIO2_6>,
196				 <USDHC0_USDHC_DATA6_PIO2_7>,
197				 <USDHC0_USDHC_DATA7_PIO2_8>,
198				 <SD0_CARD_DET_N_PIO2_9>;
199			bias-pull-up;
200			input-enable;
201			slew-rate = "normal";
202			drive-strength = "normal";
203		};
204		group1 {
205			pinmux = <SD0_CLK_PIO1_30>;
206			bias-pull-down;
207			input-enable;
208			slew-rate = "normal";
209			drive-strength = "normal";
210		};
211		group2 {
212			pinmux = <GPIO_PIO210_PIO2_10>;
213			bias-pull-down;
214			slew-rate = "normal";
215			drive-strength = "normal";
216		};
217		group3 {
218			pinmux = <SD0_DS_PIO2_4>;
219			bias-pull-down;
220			input-enable;
221			slew-rate = "slow";
222			drive-strength = "normal";
223		};
224	};
225
226	pinmux_sctimer_default: pinmux_sctimer_default {
227		group0 {
228			pinmux = <SCT0_OUT0_PIO0_5>,
229			       <SCT0_OUT1_PIO0_6>;
230			slew-rate = "normal";
231			drive-strength = "normal";
232		};
233	};
234
235	pinmux_i3c: pinmux_i3c {
236		group0 {
237			pinmux = <I3C0_SCL_PIO2_29>,
238				<I3C0_SDA_PIO2_30>;
239			input-enable;
240			bias-pull-up;
241			slew-rate = "slow";
242			drive-strength = "normal";
243		};
244
245		group1 {
246			pinmux = <I3C0_PUR_PIO2_31>;
247			slew-rate = "normal";
248			drive-strength = "normal";
249		};
250	};
251};
252