1/*
2 * Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
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_GPIO18>,
28				 <SPIM3_CSEL_GPIO5>,
29				 <SPIM3_CSEL1_GPIO22>;
30		};
31		group2 {
32			pinmux = <SPIM3_MOSI_GPIO23>;
33			output-low;
34		};
35	};
36
37	i2c0_default: i2c0_default {
38		group1 {
39			pinmux = <I2C0_SDA_GPIO4>,
40				 <I2C0_SCL_GPIO15>;
41			bias-pull-up;
42			drive-open-drain;
43			output-high;
44		};
45	};
46
47};
48