soc: xtensa: esp32s3: Update SOC variant list

Add missing combinations of the ESP32-S3 Wroom module.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
Marek Matej 2023-11-16 19:28:13 +01:00 committed by Carles Cufí
commit d34f725df8
5 changed files with 62 additions and 1 deletions

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp32s3_common.dtsi"
/* 16MB flash */
&flash0 {
reg = <0x0 DT_SIZE_M(16)>;
};
/* 2MB psram */
&psram0 {
reg = <0x3c000000 DT_SIZE_M(2)>;
status = "okay";
};

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp32s3_common.dtsi"
/* 4MB flash */
&flash0 {
reg = <0x0 DT_SIZE_M(4)>;
};
/* 2MB psram */
&psram0 {
reg = <0x3c000000 DT_SIZE_M(2)>;
status = "okay";
};

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp32s3_common.dtsi"
/* 8MB flash */
&flash0 {
reg = <0x0 DT_SIZE_M(8)>;
};
/* 2MB psram */
&psram0 {
reg = <0x3c000000 DT_SIZE_M(2)>;
status = "okay";
};

View file

@ -14,4 +14,5 @@
/* 8MB psram */
&psram0 {
reg = <0x3c000000 DT_SIZE_M(8)>;
status = "okay";
};

View file

@ -43,7 +43,13 @@ choice SOC_PART_NUMBER
config SOC_ESP32S3_WROOM_N8R8
bool "ESP32S3_WROOM_N8R8"
config SOC_ESP32S3_WROOM_N16R8
bool "ESP32S3_WROOM_N16"
bool "ESP32S3_WROOM_N16R8"
config SOC_ESP32S3_WROOM_N4R2
bool "ESP32S3_WROOM_N4R2"
config SOC_ESP32S3_WROOM_N8R2
bool "ESP32S3_WROOM_N8R2"
config SOC_ESP32S3_WROOM_N16R2
bool "ESP32S3_WROOM_N16R2"
endchoice # SOC_PART_NUMBER