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/esp32-pinctrl.h>
9#include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h>
10
11&pinctrl {
12
13	uart0_default: uart0_default {
14		group1 {
15			pinmux = <UART0_TX_GPIO1>;
16			output-high;
17		};
18		group2 {
19			pinmux = <UART0_RX_GPIO3>;
20			bias-pull-up;
21		};
22	};
23
24	spim3_default: spim3_default {
25		group1 {
26			pinmux = <SPIM3_MISO_GPIO19>,
27				 <SPIM3_SCLK_GPIO5>;
28		};
29		group2 {
30			pinmux = <SPIM3_MOSI_GPIO27>;
31			output-low;
32		};
33	};
34
35	i2c0_default: i2c0_default {
36		group1 {
37			pinmux = <I2C0_SDA_GPIO21>,
38				 <I2C0_SCL_GPIO22>;
39			bias-pull-up;
40			drive-open-drain;
41			output-high;
42		};
43	};
44
45	sdhc0_default: sdhc0_default {
46		group1 {
47			pinmux = <SDHC0_CD_GPIO34>;
48			bias-pull-up;
49			output-high;
50		};
51	};
52};
53