1/*
2 * Copyright 2022 TOKITA Hiroshi <tokita.hiroshi@fujitsu.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/esp32c3-pinctrl.h>
9#include <zephyr/dt-bindings/pinctrl/esp32c3-gpio-sigmap.h>
10
11&pinctrl {
12
13	uart0_default: uart0_default {
14		group1 {
15			pinmux = <UART0_TX_GPIO21>;
16			output-high;
17		};
18		group2 {
19			pinmux = <UART0_RX_GPIO20>;
20			bias-pull-up;
21		};
22	};
23
24	spim2_default: spim2_default {
25		group1 {
26			pinmux = <SPIM2_MISO_GPIO5>,
27				 <SPIM2_SCLK_GPIO4>,
28				 <SPIM2_CSEL_GPIO7>;
29		};
30		group2 {
31			pinmux = <SPIM2_MOSI_GPIO6>;
32			output-low;
33		};
34	};
35
36	i2c0_default: i2c0_default {
37		group1 {
38			pinmux = <I2C0_SDA_GPIO8>,
39				 <I2C0_SCL_GPIO9>;
40			bias-pull-up;
41			drive-open-drain;
42			output-high;
43		};
44	};
45
46	twai_default: twai_default {
47		group1 {
48			pinmux = <TWAI_TX_GPIO0>,
49				 <TWAI_RX_GPIO1>;
50		};
51	};
52};
53