1/*
2 * Copyright 2022 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7
8#include <nxp/nxp_imx7d_m4.dtsi>
9#include <nxp/nxp_imx/mimx7d-pinctrl.dtsi>
10
11&pinctrl {
12	uart2_default: uart2_default {
13		group0 {
14			pinmux = <&mx7d_pad_uart2_rx_data__uart2_dce_rx>,
15				<&mx7d_pad_uart2_tx_data__uart2_dce_tx>;
16			bias-pull-up;
17			bias-pull-up-value = "100k";
18			input-schmitt-enable;
19			slew-rate = "slow";
20			drive-strength = "x1";
21		};
22	};
23
24	uart5_default: uart5_default {
25		group0 {
26			pinmux = <&mx7d_pad_i2c4_scl__uart5_dce_rx>,
27				<&mx7d_pad_i2c4_sda__uart5_dce_tx>;
28			bias-pull-up;
29			bias-pull-up-value = "100k";
30			input-schmitt-enable;
31			slew-rate = "slow";
32			drive-strength = "x1";
33		};
34	};
35
36	uart6_default: uart6_default {
37		group0 {
38			pinmux = <&mx7d_pad_epdc_data08__uart6_dce_rx>,
39				<&mx7d_pad_epdc_data09__uart6_dce_tx>;
40			bias-pull-up;
41			bias-pull-up-value = "100k";
42			input-schmitt-enable;
43			slew-rate = "slow";
44			drive-strength = "x1";
45		};
46	};
47
48	i2c1_default: i2c1_default {
49		group0 {
50			pinmux = <&mx7d_pad_uart1_rx_data__i2c1_scl>,
51				<&mx7d_pad_uart1_tx_data__i2c1_sda>;
52			bias-pull-up;
53			bias-pull-up-value = "100k";
54			input-schmitt-enable;
55			slew-rate = "slow";
56			drive-strength = "x1";
57			input-enable;
58		};
59	};
60
61	i2c2_default: i2c2_default {
62		group0 {
63			pinmux = <&mx7d_pad_i2c2_scl__i2c2_scl>,
64				<&mx7d_pad_i2c2_sda__i2c2_sda>;
65			bias-pull-up;
66			bias-pull-up-value = "100k";
67			input-schmitt-enable;
68			slew-rate = "slow";
69			drive-strength = "x1";
70			input-enable;
71		};
72	};
73
74	i2c3_default: i2c3_default {
75		group0 {
76			pinmux = <&mx7d_pad_i2c3_scl__i2c3_scl>,
77				<&mx7d_pad_i2c3_sda__i2c3_sda>;
78			bias-pull-up;
79			bias-pull-up-value = "100k";
80			input-schmitt-enable;
81			slew-rate = "slow";
82			drive-strength = "x1";
83			input-enable;
84		};
85	};
86
87	i2c4_default: i2c4_default {
88		group0 {
89			pinmux = <&mx7d_pad_sai1_rx_sync__i2c4_scl>,
90				<&mx7d_pad_sai1_rx_bclk__i2c4_sda>;
91			bias-pull-up;
92			bias-pull-up-value = "100k";
93			input-schmitt-enable;
94			slew-rate = "slow";
95			drive-strength = "x1";
96			input-enable;
97		};
98	};
99};
100