1/*
2 * Copyright 2024 NXP
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6
7#include <nxp/mcx/MCXN236VDF-pinctrl.h>
8
9&pinctrl {
10	pinmux_flexcomm2_lpuart: pinmux_flexcomm2_lpuart {
11		group0 {
12			pinmux = <FC2_P2_PIO4_2>,
13				<FC2_P3_PIO4_3>;
14			slew-rate = "fast";
15			drive-strength = "low";
16			input-enable;
17		};
18	};
19
20	pinmux_flexcomm2_lpi2c: pinmux_flexcomm2_lpi2c {
21		group0 {
22			pinmux = <FC2_P0_PIO4_0>,
23			    <FC2_P1_PIO4_1>;
24			slew-rate = "fast";
25			drive-strength = "low";
26			input-enable;
27			bias-pull-up;
28			drive-open-drain;
29		};
30	};
31
32	pinmux_flexcomm3_lpspi: pinmux_flexcomm3_lpspi {
33		group0 {
34			pinmux = <FC3_P0_PIO1_0>,
35				<FC3_P1_PIO1_1>,
36				<FC3_P2_PIO1_2>,
37				<FC3_P3_PIO1_3>;
38			slew-rate = "fast";
39			drive-strength = "low";
40			input-enable;
41		};
42	};
43
44	pinmux_flexcomm4_lpuart: pinmux_flexcomm4_lpuart {
45		group0 {
46			pinmux = <FC4_P0_PIO1_8>,
47				<FC4_P1_PIO1_9>;
48			slew-rate = "fast";
49			drive-strength = "low";
50			input-enable;
51		};
52	};
53
54	pinmux_flexcomm5_lpi2c: pinmux_flexcomm5_lpi2c {
55		group0 {
56			pinmux = <FC5_P0_PIO1_16>,
57				<FC5_P1_PIO1_17>;
58			slew-rate = "fast";
59			drive-strength = "low";
60			input-enable;
61			bias-pull-up;
62			drive-open-drain;
63		};
64	};
65
66	pinmux_flexpwm1_pwm0: pinmux_flexpwm1_pwm0 {
67		group0 {
68			pinmux = <PWM1_A0_PIO3_12>,
69				<PWM1_B0_PIO2_7>;
70			slew-rate = "fast";
71			drive-strength = "low";
72		};
73	};
74
75	pinmux_flexpwm1_pwm1: pinmux_flexpwm1_pwm1 {
76		group0 {
77			pinmux = <PWM1_A1_PIO3_14>,
78				<PWM1_B1_PIO3_15>;
79			slew-rate = "fast";
80			drive-strength = "low";
81		};
82	};
83
84	pinmux_flexpwm1_pwm2: pinmux_flexpwm1_pwm2 {
85		group0 {
86			pinmux = <PWM1_A2_PIO3_16>,
87				<PWM1_B2_PIO3_17>;
88			slew-rate = "fast";
89			drive-strength = "low";
90		};
91	};
92
93
94	pinmux_lpadc0: pinmux_lpadc0 {
95		group0 {
96			pinmux = <ADC0_A2_PIO4_23>,
97				<ADC0_A1_PIO4_15>,
98				<ADC0_B1_PIO4_19>;
99			slew-rate = "fast";
100			drive-strength = "low";
101		};
102	};
103
104	pinmux_lpcmp0: pinmux_lpcmp0 {
105		group0 {
106			pinmux = <CMP0_IN0_PIO1_0>;
107			drive-strength = "low";
108			slew-rate = "fast";
109			bias-pull-up;
110		};
111	};
112
113	pinmux_flexcan1: pinmux_flexcan1 {
114		group0 {
115			pinmux = <CAN1_TXD_PIO4_16>,
116				<CAN1_RXD_PIO4_15>;
117			slew-rate = "fast";
118			drive-strength = "low";
119			input-enable;
120		};
121	};
122
123	pinmux_flexio_lcd: pinmux_flexio_lcd {
124		group0 {
125			pinmux = <FLEXIO0_D4_PIO0_20>,
126				<FLEXIO0_D5_PIO0_21>,
127				<FLEXIO0_D6_PIO0_14>,
128				<FLEXIO0_D7_PIO0_15>,
129				<FLEXIO0_D8_PIO3_0>,
130				<FLEXIO0_D9_PIO3_1>,
131				<FLEXIO0_D10_PIO3_2>,
132				<FLEXIO0_D11_PIO2_3>,
133				<FLEXIO0_D12_PIO2_4>,
134				<FLEXIO0_D13_PIO2_5>,
135				<FLEXIO0_D14_PIO2_6>,
136				<FLEXIO0_D15_PIO3_7>,
137				<FLEXIO0_D16_PIO3_8>,
138				<FLEXIO0_D17_PIO3_9>,
139				<FLEXIO0_D18_PIO3_10>,
140				<FLEXIO0_D19_PIO3_11>,
141				<PIO0_24>,
142				<PIO4_14>,
143				<PIO4_7>;
144			slew-rate = "fast";
145			drive-strength = "low";
146			input-enable;
147		};
148		group1 {
149			pinmux = <FLEXIO0_D27_PIO4_19>;
150			slew-rate = "fast";
151			drive-strength = "low";
152			input-enable;
153			bias-pull-up;
154		};
155		group2 {
156			pinmux = <FLEXIO0_D28_PIO4_20>;
157			slew-rate = "slow";
158			drive-strength = "low";
159			input-enable;
160			bias-pull-up;
161		};
162	};
163};
164