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_GPIO43>; 15 output-high; 16 }; 17 group2 { 18 pinmux = <UART0_RX_GPIO44>; 19 bias-pull-up; 20 }; 21 }; 22 23 spim2_default: spim2_default { 24 group1 { 25 pinmux = <SPIM2_MISO_GPIO8>, 26 <SPIM2_SCLK_GPIO7>; 27 }; 28 group2 { 29 pinmux = <SPIM2_MOSI_GPIO9>; 30 output-low; 31 }; 32 }; 33 34 i2c0_default: i2c0_default { 35 group1 { 36 pinmux = <I2C0_SDA_GPIO5>, 37 <I2C0_SCL_GPIO6>; 38 bias-pull-up; 39 drive-open-drain; 40 output-high; 41 }; 42 }; 43 44 i2c1_default: i2c1_default { 45 group1 { 46 pinmux = <I2C1_SDA_GPIO40>, 47 <I2C1_SCL_GPIO39>; 48 bias-pull-up; 49 drive-open-drain; 50 output-high; 51 }; 52 }; 53 54 lcd_cam_default: lcd_cam_default { 55 group1 { 56 pinmux = <LCD_CAM_CAM_CLK_GPIO10>; 57 output-enable; 58 }; 59 group2 { 60 pinmux = <LCD_CAM_V_SYNC_CAM_GPIO38>, 61 <LCD_CAM_H_ENABLE_CAM_GPIO47>, 62 <LCD_CAM_CAM_PCLK_GPIO13>, 63 <LCD_CAM_DATA_IN0_GPIO15>, 64 <LCD_CAM_DATA_IN1_GPIO17>, 65 <LCD_CAM_DATA_IN2_GPIO18>, 66 <LCD_CAM_DATA_IN3_GPIO16>, 67 <LCD_CAM_DATA_IN4_GPIO14>, 68 <LCD_CAM_DATA_IN5_GPIO12>, 69 <LCD_CAM_DATA_IN6_GPIO11>, 70 <LCD_CAM_DATA_IN7_GPIO48>; 71 input-enable; 72 bias-disable; 73 }; 74 }; 75 76 twai_default: twai_default { 77 group1 { 78 pinmux = <TWAI_TX_GPIO3>, 79 <TWAI_RX_GPIO4>; 80 }; 81 }; 82}; 83