Skip to content

Commit

Permalink
dts: xtensa: esp32: modify esp32 dts
Browse files Browse the repository at this point in the history
To split ipm area into ipm memory and
general use shared memory.

Signed-off-by: Felipe Neves <felipe.neves@linaro.org>
  • Loading branch information
uLipe authored and nashif committed Feb 20, 2023
1 parent a25bcfd commit 865f4e6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions dts/xtensa/espressif/esp32.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,14 @@
reg = <0x3FFB0000 0x2c200>;
};

shm0: memory@3ffe5230 {
ipmmem0: memory@3ffe5230 {
compatible = "mmio-sram";
reg = <0x3FFE5230 0x800>;
reg = <0x3FFE5230 0x400>;
};

shm0: memory@3ffe5630 {
compatible = "mmio-sram";
reg = <0x3FFE5630 0x400>;
};

intc: interrupt-controller@3ff00104 {
Expand Down Expand Up @@ -117,8 +122,8 @@
compatible = "espressif,esp32-ipm";
reg = <0x3FFE5A30 0x8>;
status = "disabled";
shared-memory = <&shm0>;
shared-memory-size = <2048>;
shared-memory = <&ipmmem0>;
shared-memory-size = <0x400>;
interrupts = <FROM_CPU_INTR0_SOURCE FROM_CPU_INTR1_SOURCE>;
interrupt-parent = <&intc>;
};
Expand Down

0 comments on commit 865f4e6

Please sign in to comment.