zephyr/dts/xtensa/espressif/esp32s3/esp32s3_wroom_n8r2.dtsi
Marek Matej d13fae97e4 soc: espressif: Fix psram0 node size and smh heap size calculation
Fixing multiple things related to psram usage:
- fix conflicting psram0 dts node for all ESP32 SiP and SoC.
- fix dcache and icache area used in psram mapping.
- fix smh spiram heap allocations.
- add `espressif,esp32-psram` compatible to set psram0 size in dts.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-02-25 07:56:19 +01:00

17 lines
253 B
Text

/*
* 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 {
size = <DT_SIZE_M(2)>;
};