Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: Add CM4 reserved memory, rproc and IPCC on DHCOR SoM

Add reserved memory nodes for CortexM4 on the STM32MP1 DHCOR SoM, enable
rproc to control the CM4 and IPCC mailbox to interact with it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Marek Vasut and committed by
Alexandre Torgue
1deab7ed 26c1d8c7

+56
+56
arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi
··· 19 19 device_type = "memory"; 20 20 reg = <0xc0000000 0x40000000>; 21 21 }; 22 + 23 + reserved-memory { 24 + #address-cells = <1>; 25 + #size-cells = <1>; 26 + ranges; 27 + 28 + mcuram2: mcuram2@10000000 { 29 + compatible = "shared-dma-pool"; 30 + reg = <0x10000000 0x40000>; 31 + no-map; 32 + }; 33 + 34 + vdev0vring0: vdev0vring0@10040000 { 35 + compatible = "shared-dma-pool"; 36 + reg = <0x10040000 0x1000>; 37 + no-map; 38 + }; 39 + 40 + vdev0vring1: vdev0vring1@10041000 { 41 + compatible = "shared-dma-pool"; 42 + reg = <0x10041000 0x1000>; 43 + no-map; 44 + }; 45 + 46 + vdev0buffer: vdev0buffer@10042000 { 47 + compatible = "shared-dma-pool"; 48 + reg = <0x10042000 0x4000>; 49 + no-map; 50 + }; 51 + 52 + mcuram: mcuram@30000000 { 53 + compatible = "shared-dma-pool"; 54 + reg = <0x30000000 0x40000>; 55 + no-map; 56 + }; 57 + 58 + retram: retram@38000000 { 59 + compatible = "shared-dma-pool"; 60 + reg = <0x38000000 0x10000>; 61 + no-map; 62 + }; 63 + }; 22 64 }; 23 65 24 66 &crc1 { ··· 221 179 }; 222 180 }; 223 181 182 + &ipcc { 183 + status = "okay"; 184 + }; 185 + 224 186 &iwdg2 { 225 187 timeout-sec = <32>; 188 + status = "okay"; 189 + }; 190 + 191 + &m4_rproc { 192 + memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, 193 + <&vdev0vring1>, <&vdev0buffer>; 194 + mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; 195 + mbox-names = "vq0", "vq1", "shutdown"; 196 + interrupt-parent = <&exti>; 197 + interrupts = <68 1>; 226 198 status = "okay"; 227 199 }; 228 200