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>
17 lines
253 B
Text
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)>;
|
|
};
|