Skip to content

Commit 865f4e6

Browse files
Felipe Nevesnashif
authored andcommitted
dts: xtensa: esp32: modify esp32 dts
To split ipm area into ipm memory and general use shared memory. Signed-off-by: Felipe Neves <[email protected]>
1 parent a25bcfd commit 865f4e6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

dts/xtensa/espressif/esp32.dtsi

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,14 @@
6868
reg = <0x3FFB0000 0x2c200>;
6969
};
7070

71-
shm0: memory@3ffe5230 {
71+
ipmmem0: memory@3ffe5230 {
7272
compatible = "mmio-sram";
73-
reg = <0x3FFE5230 0x800>;
73+
reg = <0x3FFE5230 0x400>;
74+
};
75+
76+
shm0: memory@3ffe5630 {
77+
compatible = "mmio-sram";
78+
reg = <0x3FFE5630 0x400>;
7479
};
7580

7681
intc: interrupt-controller@3ff00104 {
@@ -117,8 +122,8 @@
117122
compatible = "espressif,esp32-ipm";
118123
reg = <0x3FFE5A30 0x8>;
119124
status = "disabled";
120-
shared-memory = <&shm0>;
121-
shared-memory-size = <2048>;
125+
shared-memory = <&ipmmem0>;
126+
shared-memory-size = <0x400>;
122127
interrupts = <FROM_CPU_INTR0_SOURCE FROM_CPU_INTR1_SOURCE>;
123128
interrupt-parent = <&intc>;
124129
};

0 commit comments

Comments
 (0)