1/*
2 * Copyright (c) 2023 Benjamin Cabé <benjamin@zephyrproject.org>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
8 #include <dt-bindings/pinctrl/esp32s3-pinctrl.h>
9 #include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h>
10
11&pinctrl {
12	uart0_default: uart0_default {
13		 group1 {
14			 pinmux = <UART0_TX_GPIO43>;
15			 output-high;
16		 };
17		 group2 {
18			 pinmux = <UART0_RX_GPIO44>;
19			 bias-pull-up;
20		 };
21	 };
22
23	i2c0_default: i2c0_default {
24		group1 {
25			pinmux = <I2C0_SDA_GPIO38>,
26				 <I2C0_SCL_GPIO39>;
27			bias-pull-up;
28			drive-open-drain;
29			output-high;
30		};
31	};
32
33	i2c1_default: i2c1_default {
34		group1 {
35			pinmux = <I2C1_SDA_GPIO2>,
36				 <I2C1_SCL_GPIO1>;
37			bias-pull-up;
38			drive-open-drain;
39			output-high;
40		};
41	};
42
43	spim2_default: spim2_default {
44		group1 {
45			pinmux = <SPIM2_SCLK_GPIO17>,
46				 <SPIM2_CSEL_GPIO15>;
47		};
48		group2 {
49			pinmux = <SPIM2_MOSI_GPIO21>;
50			output-low;
51		};
52
53	};
54};
55