diff --git a/components/efuse/esp32h2/esp_efuse_table.c b/components/efuse/esp32h2/esp_efuse_table.c index f0f422b0d4..4e5d212328 100644 --- a/components/efuse/esp32h2/esp_efuse_table.c +++ b/components/efuse/esp32h2/esp_efuse_table.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2017-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -9,7 +9,7 @@ #include #include "esp_efuse_table.h" -// md5_digest_table 1dc5045e8a74c32825696ca314128499 +// md5_digest_table 4b1296d3b432e2675dd1c7bbceef856c // This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY. // If you want to change some fields, you need to change esp_efuse_table.csv file // then run `efuse_common_table` or `efuse_custom_table` command it will generate this file. @@ -223,6 +223,10 @@ static const esp_efuse_desc_t WR_DIS_DBIAS_VOL_GAP[] = { {EFUSE_BLK0, 20, 1}, // [] wr_dis of DBIAS_VOL_GAP, }; +static const esp_efuse_desc_t WR_DIS_LSLP_HP_DBIAS[] = { + {EFUSE_BLK0, 20, 1}, // [] wr_dis of LSLP_HP_DBIAS, +}; + static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MINOR[] = { {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MINOR, }; @@ -621,6 +625,10 @@ static const esp_efuse_desc_t DBIAS_VOL_GAP[] = { {EFUSE_BLK1, 95, 5}, // [] Stores the low 1 bit of dbias_vol_gap, }; +static const esp_efuse_desc_t LSLP_HP_DBIAS[] = { + {EFUSE_BLK1, 100, 3}, // [] LSLP_HP_DBIAS (available on Wafer v1.2 and BLK_VERSION >= 0.4), +}; + static const esp_efuse_desc_t WAFER_VERSION_MINOR[] = { {EFUSE_BLK1, 114, 3}, // [] Stores the wafer version minor, }; @@ -1021,6 +1029,11 @@ const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DBIAS_VOL_GAP[] = { NULL }; +const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_LSLP_HP_DBIAS[] = { + &WR_DIS_LSLP_HP_DBIAS[0], // [] wr_dis of LSLP_HP_DBIAS + NULL +}; + const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR[] = { &WR_DIS_WAFER_VERSION_MINOR[0], // [] wr_dis of WAFER_VERSION_MINOR NULL @@ -1517,6 +1530,11 @@ const esp_efuse_desc_t* ESP_EFUSE_DBIAS_VOL_GAP[] = { NULL }; +const esp_efuse_desc_t* ESP_EFUSE_LSLP_HP_DBIAS[] = { + &LSLP_HP_DBIAS[0], // [] LSLP_HP_DBIAS (available on Wafer v1.2 and BLK_VERSION >= 0.4) + NULL +}; + const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR[] = { &WAFER_VERSION_MINOR[0], // [] Stores the wafer version minor NULL diff --git a/components/efuse/esp32h2/esp_efuse_table.csv b/components/efuse/esp32h2/esp_efuse_table.csv index dfbb77562c..5353afce69 100644 --- a/components/efuse/esp32h2/esp_efuse_table.csv +++ b/components/efuse/esp32h2/esp_efuse_table.csv @@ -9,7 +9,7 @@ # this will generate new source files, next rebuild all the sources. # !!!!!!!!!!! # -# This file was generated by regtools.py based on the efuses.yaml file with the version: 44563d2af4ebdba4db6c0a34a50c94f9 +# This file was generated by regtools.py based on the efuses.yaml file with the version: 11c7025451192cbb14f11dfe294ca26a WR_DIS, EFUSE_BLK0, 0, 32, [] Disable programming of individual eFuses WR_DIS.RD_DIS, EFUSE_BLK0, 0, 1, [] wr_dis of RD_DIS @@ -63,6 +63,7 @@ WR_DIS.ACTIVE_HP_DBIAS, EFUSE_BLK0, 20, 1, [] wr_dis WR_DIS.ACTIVE_LP_DBIAS, EFUSE_BLK0, 20, 1, [] wr_dis of ACTIVE_LP_DBIAS WR_DIS.DSLP_DBIAS, EFUSE_BLK0, 20, 1, [] wr_dis of DSLP_DBIAS WR_DIS.DBIAS_VOL_GAP, EFUSE_BLK0, 20, 1, [] wr_dis of DBIAS_VOL_GAP +WR_DIS.LSLP_HP_DBIAS, EFUSE_BLK0, 20, 1, [] wr_dis of LSLP_HP_DBIAS WR_DIS.WAFER_VERSION_MINOR, EFUSE_BLK0, 20, 1, [] wr_dis of WAFER_VERSION_MINOR WR_DIS.WAFER_VERSION_MAJOR, EFUSE_BLK0, 20, 1, [] wr_dis of WAFER_VERSION_MAJOR WR_DIS.DISABLE_WAFER_VERSION_MAJOR, EFUSE_BLK0, 20, 1, [] wr_dis of DISABLE_WAFER_VERSION_MAJOR @@ -167,6 +168,7 @@ ACTIVE_HP_DBIAS, EFUSE_BLK1, 81, 5, [] Stores ACTIVE_LP_DBIAS, EFUSE_BLK1, 86, 5, [] Stores the PMU active lp dbias DSLP_DBIAS, EFUSE_BLK1, 91, 4, [] Stores the PMU sleep dbias DBIAS_VOL_GAP, EFUSE_BLK1, 95, 5, [] Stores the low 1 bit of dbias_vol_gap +LSLP_HP_DBIAS, EFUSE_BLK1, 100, 3, [] LSLP_HP_DBIAS (available on Wafer v1.2 and BLK_VERSION >= 0.4) WAFER_VERSION_MINOR, EFUSE_BLK1, 114, 3, [] Stores the wafer version minor WAFER_VERSION_MAJOR, EFUSE_BLK1, 117, 2, [] Stores the wafer version major DISABLE_WAFER_VERSION_MAJOR, EFUSE_BLK1, 119, 1, [] Disables check of wafer version major diff --git a/components/efuse/esp32h2/include/esp_efuse_table.h b/components/efuse/esp32h2/include/esp_efuse_table.h index ee6d55a945..fe4b69aa36 100644 --- a/components/efuse/esp32h2/include/esp_efuse_table.h +++ b/components/efuse/esp32h2/include/esp_efuse_table.h @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2017-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -14,7 +14,7 @@ extern "C" { #include "esp_efuse_table_v0.0_v1.1.h" #endif -// md5_digest_table 1dc5045e8a74c32825696ca314128499 +// md5_digest_table 4b1296d3b432e2675dd1c7bbceef856c // This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY. // If you want to change some fields, you need to change esp_efuse_table.csv file // then run `efuse_common_table` or `efuse_custom_table` command it will generate this file. @@ -82,6 +82,7 @@ extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ACTIVE_HP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ACTIVE_LP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DSLP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DBIAS_VOL_GAP[]; +extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_LSLP_HP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR[]; extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MAJOR[]; extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DISABLE_WAFER_VERSION_MAJOR[]; @@ -206,6 +207,7 @@ extern const esp_efuse_desc_t* ESP_EFUSE_ACTIVE_HP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_ACTIVE_LP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_DSLP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_DBIAS_VOL_GAP[]; +extern const esp_efuse_desc_t* ESP_EFUSE_LSLP_HP_DBIAS[]; extern const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR[]; extern const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MAJOR[]; extern const esp_efuse_desc_t* ESP_EFUSE_DISABLE_WAFER_VERSION_MAJOR[]; diff --git a/components/soc/esp32h2/register/soc/efuse_reg.h b/components/soc/esp32h2/register/soc/efuse_reg.h index 3235ea6794..fb2e788321 100644 --- a/components/soc/esp32h2/register/soc/efuse_reg.h +++ b/components/soc/esp32h2/register/soc/efuse_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -688,13 +688,20 @@ extern "C" { #define EFUSE_DBIAS_VOL_GAP_SIGN_M (EFUSE_DBIAS_VOL_GAP_SIGN_V << EFUSE_DBIAS_VOL_GAP_SIGN_S) #define EFUSE_DBIAS_VOL_GAP_SIGN_V 0x00000001U #define EFUSE_DBIAS_VOL_GAP_SIGN_S 3 -/** EFUSE_MAC_RESERVED_2 : RO; bitpos: [17:4]; default: 0; - * Reserved. +/** EFUSE_LSLP_HP_DBIAS : R; bitpos: [6:4]; default: 0; + * LSLP_HP_DBIAS (available on Wafer v1.2 and BLK_VERSION >= 0.4) */ -#define EFUSE_MAC_RESERVED_2 0x00003FFFU -#define EFUSE_MAC_RESERVED_2_M (EFUSE_MAC_RESERVED_2_V << EFUSE_MAC_RESERVED_2_S) -#define EFUSE_MAC_RESERVED_2_V 0x00003FFFU -#define EFUSE_MAC_RESERVED_2_S 4 +#define EFUSE_LSLP_HP_DBIAS 0x00000007U +#define EFUSE_LSLP_HP_DBIAS_M (EFUSE_LSLP_HP_DBIAS_V << EFUSE_LSLP_HP_DBIAS_S) +#define EFUSE_LSLP_HP_DBIAS_V 0x00000007U +#define EFUSE_LSLP_HP_DBIAS_S 4 +/** EFUSE_RESERVED_1_103 : R; bitpos: [17:7]; default: 0; + * reserved + */ +#define EFUSE_RESERVED_1_103 0x000007FFU +#define EFUSE_RESERVED_1_103_M (EFUSE_RESERVED_1_103_V << EFUSE_RESERVED_1_103_S) +#define EFUSE_RESERVED_1_103_V 0x000007FFU +#define EFUSE_RESERVED_1_103_S 7 /** EFUSE_WAFER_VERSION_MINOR : RO; bitpos: [20:18]; default: 0; * Stores the wafer version minor. */ diff --git a/components/soc/esp32h2/register/soc/efuse_struct.h b/components/soc/esp32h2/register/soc/efuse_struct.h index 83352a6d3a..72ae9e8a15 100644 --- a/components/soc/esp32h2/register/soc/efuse_struct.h +++ b/components/soc/esp32h2/register/soc/efuse_struct.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -537,10 +537,14 @@ typedef union { * Stores the sign bit of dbias_vol_gap. */ uint32_t dbias_vol_gap_sign:1; - /** mac_reserved_2 : RO; bitpos: [17:4]; default: 0; - * Reserved. + /** lslp_hp_dbias : R; bitpos: [6:4]; default: 0; + * LSLP_HP_DBIAS (available on Wafer v1.2 and BLK_VERSION >= 0.4) */ - uint32_t mac_reserved_2:14; + uint32_t lslp_hp_dbias:3; + /** reserved_1_103 : R; bitpos: [17:7]; default: 0; + * reserved + */ + uint32_t reserved_1_103:11; /** wafer_version_minor : RO; bitpos: [20:18]; default: 0; * Stores the wafer version minor. */