1/* 2 * Copyright 2022 Google LLC 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/esp32s3-pinctrl.h> 9#include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h> 10 11&pinctrl { 12 uart0_default: uart0_default { 13 group1 { 14 pinmux = <UART0_TX_GPIO5>; 15 output-high; 16 }; 17 group2 { 18 pinmux = <UART0_RX_GPIO16>; 19 bias-pull-up; 20 }; 21 }; 22 23 spim2_default: spim2_default { 24 group1 { 25 pinmux = <SPIM2_MISO_GPIO37>, 26 <SPIM2_SCLK_GPIO36>; 27 }; 28 group2 { 29 pinmux = <SPIM2_MOSI_GPIO35>; 30 output-low; 31 }; 32 }; 33 34 spim3_ws2812_led: spim3_ws2812_led { 35 group1 { 36 pinmux = <SPIM3_MOSI_GPIO39>; 37 output-low; 38 }; 39 }; 40 41 i2c0_default: i2c0_default { 42 group1 { 43 pinmux = <I2C0_SDA_GPIO7>, 44 <I2C0_SCL_GPIO6>; 45 bias-pull-up; 46 drive-open-drain; 47 output-high; 48 }; 49 }; 50 51 i2c1_default: i2c1_default { 52 group1 { 53 pinmux = <I2C1_SDA_GPIO41>, 54 <I2C1_SCL_GPIO40>; 55 bias-pull-up; 56 drive-open-drain; 57 output-high; 58 }; 59 }; 60 61 twai_default: twai_default { 62 group1 { 63 pinmux = <TWAI_TX_GPIO9>, 64 <TWAI_RX_GPIO8>; 65 }; 66 }; 67}; 68