/* * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32C2_GPIO_SIGMAP_H_ #define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32C2_GPIO_SIGMAP_H_ #define ESP_NOSIG ESP_SIG_INVAL #define ESP_SPICLK_OUT_MUX ESP_SPICLK_OUT #define ESP_SPIQ_IN 0 #define ESP_SPIQ_OUT 0 #define ESP_SPID_IN 1 #define ESP_SPID_OUT 1 #define ESP_SPIHD_IN 2 #define ESP_SPIHD_OUT 2 #define ESP_SPIWP_IN 3 #define ESP_SPIWP_OUT 3 #define ESP_SPICLK_OUT 4 #define ESP_SPICS0_OUT 5 #define ESP_U0RXD_IN 6 #define ESP_U0TXD_OUT 6 #define ESP_U0CTS_IN 7 #define ESP_U0RTS_OUT 7 #define ESP_U0DSR_IN 8 #define ESP_U0DTR_OUT 8 #define ESP_U1RXD_IN 9 #define ESP_U1TXD_OUT 9 #define ESP_U1CTS_IN 10 #define ESP_U1RTS_OUT 10 #define ESP_U1DSR_IN 11 #define ESP_U1DTR_OUT 11 #define ESP_SPIQ_MONITOR 15 #define ESP_SPID_MONITOR 16 #define ESP_SPIHD_MONITOR 17 #define ESP_SPIWP_MONITOR 18 #define ESP_SPICS1_OUT 19 #define ESP_CPU_TESTBUS0 20 #define ESP_CPU_TESTBUS1 21 #define ESP_CPU_TESTBUS2 22 #define ESP_CPU_TESTBUS3 23 #define ESP_CPU_TESTBUS4 24 #define ESP_CPU_TESTBUS5 25 #define ESP_CPU_TESTBUS6 26 #define ESP_CPU_TESTBUS7 27 #define ESP_CPU_GPIO_IN0 28 #define ESP_CPU_GPIO_OUT0 28 #define ESP_CPU_GPIO_IN1 29 #define ESP_CPU_GPIO_OUT1 29 #define ESP_CPU_GPIO_IN2 30 #define ESP_CPU_GPIO_OUT2 30 #define ESP_CPU_GPIO_IN3 31 #define ESP_CPU_GPIO_OUT3 31 #define ESP_CPU_GPIO_IN4 32 #define ESP_CPU_GPIO_OUT4 32 #define ESP_CPU_GPIO_IN5 33 #define ESP_CPU_GPIO_OUT5 33 #define ESP_CPU_GPIO_IN6 34 #define ESP_CPU_GPIO_OUT6 34 #define ESP_CPU_GPIO_IN7 35 #define ESP_CPU_GPIO_OUT7 35 #define ESP_EXT_ADC_START 45 #define ESP_LEDC_LS_SIG_OUT0 45 #define ESP_LEDC_LS_SIG_OUT1 46 #define ESP_LEDC_LS_SIG_OUT2 47 #define ESP_LEDC_LS_SIG_OUT3 48 #define ESP_LEDC_LS_SIG_OUT4 49 #define ESP_LEDC_LS_SIG_OUT5 50 #define ESP_RMT_SIG_IN0 51 #define ESP_RMT_SIG_OUT0 51 #define ESP_RMT_SIG_IN1 52 #define ESP_RMT_SIG_OUT1 52 #define ESP_I2CEXT0_SCL_IN 53 #define ESP_I2CEXT0_SCL_OUT 53 #define ESP_I2CEXT0_SDA_IN 54 #define ESP_I2CEXT0_SDA_OUT 54 #define ESP_FSPICLK_IN 63 #define ESP_FSPICLK_OUT 63 #define ESP_FSPIQ_IN 64 #define ESP_FSPIQ_OUT 64 #define ESP_FSPID_IN 65 #define ESP_FSPID_OUT 65 #define ESP_FSPIHD_IN 66 #define ESP_FSPIHD_OUT 66 #define ESP_FSPIWP_IN 67 #define ESP_FSPIWP_OUT 67 #define ESP_FSPICS0_IN 68 #define ESP_FSPICS0_OUT 68 #define ESP_FSPICS1_OUT 69 #define ESP_FSPICS2_OUT 70 #define ESP_FSPICS3_OUT 71 #define ESP_FSPICS4_OUT 72 #define ESP_FSPICS5_OUT 73 #define ESP_EXTERN_PRIORITY_I 77 #define ESP_EXTERN_PRIORITY_O 77 #define ESP_EXTERN_ACTIVE_I 78 #define ESP_EXTERN_ACTIVE_O 78 #define ESP_GPIO_EVENT_MATRIX_IN0 79 #define ESP_GPIO_TASK_MATRIX_OUT0 79 #define ESP_GPIO_EVENT_MATRIX_IN1 80 #define ESP_GPIO_TASK_MATRIX_OUT1 80 #define ESP_GPIO_EVENT_MATRIX_IN2 81 #define ESP_GPIO_TASK_MATRIX_OUT2 81 #define ESP_GPIO_EVENT_MATRIX_IN3 82 #define ESP_GPIO_TASK_MATRIX_OUT3 82 #define ESP_BB_DIAG8_OUT 83 #define ESP_BB_DIAG9_OUT 84 #define ESP_BB_DIAG10_OUT 85 #define ESP_BB_DIAG11_OUT 86 #define ESP_BB_DIAG12_OUT 87 #define ESP_BB_DIAG13_OUT 88 #define ESP_ANT_SEL0 89 #define ESP_ANT_SEL1 90 #define ESP_ANT_SEL2 91 #define ESP_ANT_SEL3 92 #define ESP_ANT_SEL4 93 #define ESP_ANT_SEL5 94 #define ESP_ANT_SEL6 95 #define ESP_ANT_SEL7 96 #define ESP_SIG_IN_FUNC_97 97 #define ESP_SIG_IN_FUNC97 97 #define ESP_SIG_IN_FUNC_98 98 #define ESP_SIG_IN_FUNC98 98 #define ESP_SIG_IN_FUNC_99 99 #define ESP_SIG_IN_FUNC99 99 #define ESP_SIG_IN_FUNC_100 100 #define ESP_SIG_IN_FUNC100 100 #define ESP_BLE_DBG_SYNCERR 101 #define ESP_BLE_DBG_SYNC_FOUND 102 #define ESP_BLE_DBG_CH_IDX 103 #define ESP_BLE_DBG_SYNC_WINDOW 104 #define ESP_BLE_DBG_DATA_EN 105 #define ESP_BLE_DBG_DATA 106 #define ESP_BLE_DBG_PKT_TX_ON 107 #define ESP_BLE_DBG_PKT_RX_ON 108 #define ESP_BLE_DBG_TXRU_ON 109 #define ESP_BLE_DBG_RXRU_ON 110 #define ESP_BLE_DBG_LELC_ST0 111 #define ESP_BLE_DBG_LELC_ST1 112 #define ESP_BLE_DBG_LELC_ST2 113 #define ESP_BLE_DBG_LELC_ST3 114 #define ESP_BLE_DBG_CRCOK 115 #define ESP_BLE_DBG_CLK_GPIO 116 #define ESP_BLE_DBG_RADIO_START 117 #define ESP_BLE_DBG_SEQUENCE_ON 118 #define ESP_BLE_DBG_COEX_BT_ON 119 #define ESP_BLE_DBG_COEX_WIFI_ON 120 #define ESP_CLK_OUT_OUT1 123 #define ESP_CLK_OUT_OUT2 124 #define ESP_CLK_OUT_OUT3 125 #define ESP_SIG_GPIO_OUT 128 #define ESP_GPIO_MAP_DATE 0x2106190 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32C2_GPIO_SIGMAP_H_ */