From 674529e11b147e5c33332c82deba107b5ff60369 Mon Sep 17 00:00:00 2001 From: Marcio Ribeiro Date: Tue, 10 Dec 2024 14:03:40 -0300 Subject: [PATCH] dts: esp32: fix sram0 start address for esp32c2 and esp32c3 Changes the sram0 start address from 0x4037_0000 to 0x4037_C000 for: - esp32c2 - esp32c3 Signed-off-by: Marcio Ribeiro --- dts/riscv/espressif/esp32c2/esp32c2_common.dtsi | 4 ++-- dts/riscv/espressif/esp32c3/esp32c3_common.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi b/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi index a2e40c0ddbf09c..ccb952653c0b8c 100644 --- a/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi +++ b/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi @@ -56,9 +56,9 @@ compatible = "simple-bus"; ranges; - sram0: memory@40370000 { + sram0: memory@4037c000 { compatible = "zephyr,memory-region", "mmio-sram"; - reg = <0x40370000 DT_SIZE_K(16)>; + reg = <0x4037c000 DT_SIZE_K(16)>; zephyr,memory-region = "SRAM0"; }; diff --git a/dts/riscv/espressif/esp32c3/esp32c3_common.dtsi b/dts/riscv/espressif/esp32c3/esp32c3_common.dtsi index e9e10972b29aea..9f297e97e81e5d 100644 --- a/dts/riscv/espressif/esp32c3/esp32c3_common.dtsi +++ b/dts/riscv/espressif/esp32c3/esp32c3_common.dtsi @@ -80,9 +80,9 @@ compatible = "simple-bus"; ranges; - sram0: memory@40370000 { + sram0: memory@4037c000 { compatible = "zephyr,memory-region", "mmio-sram"; - reg = <0x40370000 DT_SIZE_K(16)>; + reg = <0x4037c000 DT_SIZE_K(16)>; zephyr,memory-region = "SRAM0"; };