1/*
2 * Copyright (c) 2022, NXP
3 * SPDX-License-Identifier: Apache-2.0
4 *
5 * Note: File generated by gen_board_pinctrl.py
6 * from mm_feather.mex
7 */
8
9#include <nxp/nxp_imx/rt/mimxrt1062dvl6a-pinctrl.dtsi>
10
11&pinctrl {
12	pinmux_lpi2c1: pinmux_lpi2c1 {
13		group0 {
14			pinmux = <&iomuxc_gpio_ad_b1_01_lpi2c1_sda>,
15				<&iomuxc_gpio_ad_b1_00_lpi2c1_scl>;
16			drive-strength = "r0-6";
17			drive-open-drain;
18			slew-rate = "slow";
19			nxp,speed = "100-mhz";
20			input-enable;
21		};
22	};
23
24	pinmux_lpi2c3: pinmux_lpi2c3 {
25		group0 {
26			pinmux = <&iomuxc_gpio_ad_b1_07_lpi2c3_scl>,
27				<&iomuxc_gpio_ad_b1_06_lpi2c3_sda>;
28			drive-strength = "r0-6";
29			drive-open-drain;
30			slew-rate = "slow";
31			nxp,speed = "100-mhz";
32		};
33	};
34
35	pinmux_lpuart1: pinmux_lpuart1 {
36		group0 {
37			pinmux = <&iomuxc_gpio_ad_b0_13_lpuart1_rx>,
38				<&iomuxc_gpio_ad_b0_12_lpuart1_tx>;
39			drive-strength = "r0-6";
40			slew-rate = "slow";
41			nxp,speed = "100-mhz";
42		};
43	};
44
45	pinmux_lpuart1_sleep: pinmux_lpuart1_sleep {
46		group0 {
47			pinmux = <&iomuxc_gpio_ad_b0_13_gpio1_io13>;
48			drive-strength = "r0-6";
49			bias-pull-up;
50			bias-pull-up-value = "100k";
51			slew-rate = "slow";
52			nxp,speed = "100-mhz";
53		};
54		group1 {
55			pinmux = <&iomuxc_gpio_ad_b0_12_lpuart1_tx>;
56			drive-strength = "r0-6";
57			slew-rate = "slow";
58			nxp,speed = "100-mhz";
59		};
60	};
61
62	pinmux_usdhc1: pinmux_usdhc1 {
63		group0 {
64			pinmux = <&iomuxc_gpio_sd_b0_01_usdhc1_clk>;
65			bias-disable;
66			drive-strength = "r0";
67			input-schmitt-enable;
68			slew-rate = "fast";
69			nxp,speed = "100-mhz";
70		};
71		group1 {
72			pinmux = <&iomuxc_gpio_b1_12_gpio2_io28>,
73				<&iomuxc_gpio_sd_b0_00_usdhc1_cmd>,
74				<&iomuxc_gpio_sd_b0_02_usdhc1_data0>,
75				<&iomuxc_gpio_sd_b0_03_usdhc1_data1>,
76				<&iomuxc_gpio_sd_b0_04_usdhc1_data2>,
77				<&iomuxc_gpio_sd_b0_05_usdhc1_data3>;
78			drive-strength = "r0";
79			input-schmitt-enable;
80			bias-pull-up;
81			bias-pull-up-value = "47k";
82			slew-rate = "fast";
83			nxp,speed = "100-mhz";
84		};
85		group2 {
86			pinmux = <&iomuxc_gpio_b1_14_usdhc1_vselect>;
87			drive-strength = "r0-4";
88			input-schmitt-enable;
89			bias-pull-up;
90			bias-pull-up-value = "47k";
91			slew-rate = "fast";
92			nxp,speed = "100-mhz";
93		};
94		group3 {
95			pinmux = <&iomuxc_gpio_ad_b0_05_gpio1_io05>;
96			drive-strength = "r0-6";
97			slew-rate = "slow";
98			nxp,speed = "100-mhz";
99		};
100	};
101
102	/* fast pinmux settings for USDHC (over 100 Mhz) */
103	pinmux_usdhc1_fast: pinmux_usdhc1_fast {
104		group0 {
105			pinmux = <&iomuxc_gpio_sd_b0_01_usdhc1_clk>;
106			bias-disable;
107			drive-strength = "r0-7";
108			input-schmitt-enable;
109			slew-rate = "fast";
110			nxp,speed = "200-mhz";
111		};
112		group1 {
113			pinmux = <&iomuxc_gpio_sd_b0_00_usdhc1_cmd>,
114				<&iomuxc_gpio_sd_b0_02_usdhc1_data0>,
115				<&iomuxc_gpio_sd_b0_03_usdhc1_data1>,
116				<&iomuxc_gpio_sd_b0_04_usdhc1_data2>,
117				<&iomuxc_gpio_sd_b0_05_usdhc1_data3>;
118			drive-strength = "r0-7";
119			input-schmitt-enable;
120			bias-pull-up;
121			bias-pull-up-value = "47k";
122			slew-rate = "fast";
123			nxp,speed = "200-mhz";
124		};
125	};
126
127	/* medium pinmux settings for USDHC (under 100 Mhz) */
128	pinmux_usdhc1_med: pinmux_usdhc1_med {
129		group0 {
130			pinmux = <&iomuxc_gpio_sd_b0_01_usdhc1_clk>;
131			bias-disable;
132			drive-strength = "r0-7";
133			input-schmitt-enable;
134			slew-rate = "fast";
135			nxp,speed = "100-mhz";
136		};
137		group1 {
138			pinmux = <&iomuxc_gpio_sd_b0_00_usdhc1_cmd>,
139				<&iomuxc_gpio_sd_b0_02_usdhc1_data0>,
140				<&iomuxc_gpio_sd_b0_03_usdhc1_data1>,
141				<&iomuxc_gpio_sd_b0_04_usdhc1_data2>,
142				<&iomuxc_gpio_sd_b0_05_usdhc1_data3>;
143			drive-strength = "r0-7";
144			input-schmitt-enable;
145			bias-pull-up;
146			bias-pull-up-value = "47k";
147			slew-rate = "fast";
148			nxp,speed = "100-mhz";
149		};
150	};
151
152	/* slow pinmux settings for USDHC (under 50 Mhz) */
153	pinmux_usdhc1_slow: pinmux_usdhc1_slow {
154		group0 {
155			pinmux = <&iomuxc_gpio_sd_b0_01_usdhc1_clk>;
156			bias-disable;
157			drive-strength = "r0-7";
158			input-schmitt-enable;
159			slew-rate = "fast";
160			nxp,speed = "50-mhz";
161		};
162		group1 {
163			pinmux = <&iomuxc_gpio_sd_b0_00_usdhc1_cmd>,
164				<&iomuxc_gpio_sd_b0_02_usdhc1_data0>,
165				<&iomuxc_gpio_sd_b0_03_usdhc1_data1>,
166				<&iomuxc_gpio_sd_b0_04_usdhc1_data2>,
167				<&iomuxc_gpio_sd_b0_05_usdhc1_data3>;
168			drive-strength = "r0-7";
169			input-schmitt-enable;
170			bias-pull-up;
171			bias-pull-up-value = "47k";
172			slew-rate = "fast";
173			nxp,speed = "50-mhz";
174		};
175	};
176
177};
178
179