1/* 2 * Copyright (c) 2022 AVSystem Sławomir Wolf Sp.j. (AVSystem) 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_tx_gpio1: uart0_tx_gpio1 { 14 pinmux = <UART0_TX_GPIO1>; 15 output-high; 16 }; 17 18 uart0_rx_gpio3: uart0_rx_gpio3 { 19 pinmux = <UART0_RX_GPIO3>; 20 bias-pull-up; 21 }; 22 23 spim2_miso_gpio12: spim2_miso_gpio12 { 24 pinmux = <SPIM2_MISO_GPIO12>; 25 }; 26 27 spim2_mosi_gpio11: spim2_mosi_gpio11 { 28 pinmux = <SPIM2_MOSI_GPIO11>; 29 output-low; 30 }; 31 32 spim2_sclk_gpio14: spim2_sclk_gpio14 { 33 pinmux = <SPIM2_SCLK_GPIO14>; 34 }; 35 36 spim2_csel_gpio16: spim2_csel_gpio16 { 37 pinmux = <SPIM2_CSEL_GPIO16>; 38 }; 39 40 spim3_miso_gpio25: spim3_miso_gpio25 { 41 pinmux = <SPIM3_MISO_GPIO25>; 42 }; 43 44 spim3_mosi_gpio15: spim3_mosi_gpio15 { 45 pinmux = <SPIM3_MOSI_GPIO15>; 46 output-low; 47 }; 48 49 spim3_sclk_gpio13: spim3_sclk_gpio13 { 50 pinmux = <SPIM3_SCLK_GPIO13>; 51 }; 52 53 spim3_csel_gpio5: spim3_csel_gpio5 { 54 pinmux = <SPIM3_CSEL_GPIO5>; 55 }; 56 57 i2c0_sda_gpio21: i2c0_sda_gpio21 { 58 pinmux = <I2C0_SDA_GPIO21>; 59 bias-pull-up; 60 drive-open-drain; 61 output-high; 62 }; 63 64 i2c0_scl_gpio22: i2c0_scl_gpio22 { 65 pinmux = <I2C0_SCL_GPIO22>; 66 bias-pull-up; 67 drive-open-drain; 68 output-high; 69 }; 70 71}; 72