Skip to content

Commit

Permalink
dts: esp32: fix sram0 start address for esp32c2 and esp32c3
Browse files Browse the repository at this point in the history
Changes the sram0 start address from 0x4037_0000 to 0x4037_C000 for:
- esp32c2
- esp32c3

Signed-off-by: Marcio Ribeiro <[email protected]>
  • Loading branch information
wmrsouza committed Dec 10, 2024
1 parent 3254291 commit 0e4dc15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dts/riscv/espressif/esp32c2/esp32c2_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down
4 changes: 2 additions & 2 deletions dts/riscv/espressif/esp32c3/esp32c3_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down

0 comments on commit 0e4dc15

Please sign in to comment.