1/*
2 * Copyright (c) 2024 Lothar Felten <lothar.felten@gmail.com>
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_GPIO1>,
26				 <I2C0_SCL_GPIO2>;
27			bias-pull-up;
28			drive-open-drain;
29			output-high;
30		};
31	};
32
33	spim2_default: spim2_default {
34		group1 {
35			pinmux = <SPIM2_MISO_GPIO13>,
36				 <SPIM2_SCLK_GPIO12>,
37				 <SPIM2_CSEL_GPIO10>;
38		};
39		group2 {
40			pinmux = <SPIM2_MOSI_GPIO11>;
41			output-low;
42		};
43	};
44
45	spim3_default: spim3_default {
46		group1 {
47			pinmux = <SPIM3_MISO_GPIO37>,
48				 <SPIM3_SCLK_GPIO36>,
49				 <SPIM3_CSEL_GPIO38>;
50		};
51		group2 {
52			pinmux = <SPIM3_MOSI_GPIO39>;
53			output-low;
54		};
55	};
56
57	twai_default: twai_default {
58		group1 {
59			pinmux = <TWAI_TX_GPIO5>,
60				<TWAI_RX_GPIO6>;
61		};
62	};
63};
64