Skip to content

Commit f3e70fd

Browse files
marekmatejmmahadevan108
authored andcommitted
dts: esp32s3: shm nodes update
Align the shared memories with the memory.h layout. Reorder nodes to show memory related nodes together. Signed-off-by: Marek Matej <[email protected]>
1 parent 1cf4455 commit f3e70fd

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

dts/xtensa/espressif/esp32s3/esp32s3_common.dtsi

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,39 @@
9191
reg = <0x3fc88000 0x77FFF>;
9292
};
9393

94-
ipmmem0: memory@3fcbd000 {
94+
ipmmem0: memory@3fcb2000 {
9595
compatible = "mmio-sram";
96-
reg = <0x3fcbd000 0x400>;
96+
reg = <0x3fcb2000 0x400>;
9797
};
9898

99-
shm0: memory@3fcbd400 {
99+
shm0: memory@3fcb2400 {
100100
compatible = "mmio-sram";
101-
reg = <0x3fcbd400 0x4000>;
101+
reg = <0x3fcb2400 0x3c00>;
102+
};
103+
104+
ipm0: ipm@3fcb6000 {
105+
compatible = "espressif,esp32-ipm";
106+
reg = <0x3fcb6000 0x8>;
107+
status = "disabled";
108+
shared-memory = <&ipmmem0>;
109+
shared-memory-size = <0x400>;
110+
interrupts =
111+
<FROM_CPU_INTR0_SOURCE IRQ_DEFAULT_PRIORITY 0>,
112+
<FROM_CPU_INTR1_SOURCE IRQ_DEFAULT_PRIORITY 0>;
113+
interrupt-parent = <&intc>;
114+
};
115+
116+
mbox0: mbox@3fcb6008 {
117+
compatible = "espressif,mbox-esp32";
118+
reg = <0x3fcb6008 0x8>;
119+
status = "disabled";
120+
shared-memory = <&ipmmem0>;
121+
shared-memory-size = <0x400>;
122+
interrupts =
123+
<FROM_CPU_INTR0_SOURCE IRQ_DEFAULT_PRIORITY 0>,
124+
<FROM_CPU_INTR1_SOURCE IRQ_DEFAULT_PRIORITY 0>;
125+
interrupt-parent = <&intc>;
126+
#mbox-cells = <1>;
102127
};
103128

104129
intc: interrupt-controller@600c2000 {
@@ -159,31 +184,6 @@
159184
status = "disabled";
160185
};
161186

162-
ipm0: ipm@3fcc1400 {
163-
compatible = "espressif,esp32-ipm";
164-
reg = <0x3fcc1400 0x8>;
165-
status = "disabled";
166-
shared-memory = <&ipmmem0>;
167-
shared-memory-size = <0x400>;
168-
interrupts =
169-
<FROM_CPU_INTR0_SOURCE IRQ_DEFAULT_PRIORITY 0>,
170-
<FROM_CPU_INTR1_SOURCE IRQ_DEFAULT_PRIORITY 0>;
171-
interrupt-parent = <&intc>;
172-
};
173-
174-
mbox0: mbox@3fcc1408 {
175-
compatible = "espressif,mbox-esp32";
176-
reg = <0x3fcc1408 0x8>;
177-
status = "disabled";
178-
shared-memory = <&ipmmem0>;
179-
shared-memory-size = <0x400>;
180-
interrupts =
181-
<FROM_CPU_INTR0_SOURCE IRQ_DEFAULT_PRIORITY 0>,
182-
<FROM_CPU_INTR1_SOURCE IRQ_DEFAULT_PRIORITY 0>;
183-
interrupt-parent = <&intc>;
184-
#mbox-cells = <1>;
185-
};
186-
187187
uart0: uart@60000000 {
188188
compatible = "espressif,esp32-uart";
189189
reg = <0x60000000 0x1000>;

0 commit comments

Comments
 (0)