1/*
2 * Copyright (c) 2022 AVSystem Sławomir Wolf Sp.j. (AVSystem)
3 * Copyright (c) 2023 Martin Kiepfer <m.kiepfer@teleschrim.org>
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
9#include <dt-bindings/pinctrl/esp32-pinctrl.h>
10#include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h>
11
12&pinctrl {
13
14	uart0_tx_gpio1: uart0_tx_gpio1 {
15		pinmux = <UART0_TX_GPIO1>;
16	};
17
18	uart0_rx_gpio3: uart0_rx_gpio3 {
19		pinmux = <UART0_RX_GPIO3>;
20		bias-pull-up;
21	};
22
23	uart1_rx_gpio33: uart1_rx_gpio33 {
24		pinmux = <UART1_RX_GPIO33>;
25	};
26
27	uart2_rx_gpio13: uart2_rx_gpio13 {
28		pinmux = <UART2_RX_GPIO13>;
29	};
30
31	uart2_tx_gpio14: uart2_rx_gpio14 {
32		pinmux = <UART2_TX_GPIO14>;
33	};
34
35	uart1_tx_gpio32: uart1_tx_gpio32 {
36		pinmux = <UART1_TX_GPIO32>;
37	};
38
39	spim3_default: spim3_default {
40		group1 {
41			pinmux = <SPIM3_MISO_GPIO38>,
42				 <SPIM3_SCLK_GPIO18>;
43		};
44		group2 {
45			pinmux = <SPIM3_MOSI_GPIO23>;
46			output-low;
47		};
48	};
49
50	i2c0_default: i2c0_default {
51		group1 {
52			pinmux = <I2C0_SDA_GPIO21>,
53				 <I2C0_SCL_GPIO22>;
54			drive-open-drain;
55			output-high;
56		};
57	};
58
59	i2c1_default: i2c1_default {
60		group1 {
61			pinmux = <I2C1_SDA_GPIO32>,
62				 <I2C1_SCL_GPIO33>;
63			drive-open-drain;
64			output-high;
65		};
66	};
67
68};
69