1/* 2 * Copyright 2024 Tobias Kässer <t.kaesser@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 uart0_default: uart0_default { 13 group1 { 14 pinmux = <UART0_TX_GPIO1>; 15 output-high; 16 }; 17 group2 { 18 pinmux = <UART0_RX_GPIO3>; 19 bias-pull-up; 20 }; 21 }; 22 23 spim3_default: spim3_default { 24 group1 { 25 pinmux = <SPIM3_MISO_GPIO19>, 26 <SPIM3_SCLK_GPIO18>; 27 }; 28 /* GPIO5 is CS */ 29 group2 { 30 pinmux = <SPIM3_MOSI_GPIO23>; 31 output-low; 32 }; 33 }; 34 35 i2c0_default: i2c0_default { 36 group1 { 37 pinmux = <I2C1_SDA_GPIO21>, 38 <I2C1_SCL_GPIO22>; 39 bias-pull-up; 40 drive-open-drain; 41 output-high; 42 }; 43 }; 44}; 45