Skip to content

Commit 400f6af

Browse files
tnmyshmathieupoirier
authored andcommitted
arm64: dts: xilinx: zynqmp: Add RPU subsystem device node
RPU subsystem can be configured in cluster-mode or split mode. Also each r5 core has separate power domains. Signed-off-by: Tanmay Shah <[email protected]> Acked-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent ba4fde7 commit 400f6af

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

arch/arm64/boot/dts/xilinx/zynqmp.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,22 @@
100100
};
101101
};
102102

103+
reserved-memory {
104+
#address-cells = <2>;
105+
#size-cells = <2>;
106+
ranges;
107+
108+
rproc_0_fw_image: memory@3ed00000 {
109+
no-map;
110+
reg = <0x0 0x3ed00000 0x0 0x40000>;
111+
};
112+
113+
rproc_1_fw_image: memory@3ef00000 {
114+
no-map;
115+
reg = <0x0 0x3ef00000 0x0 0x40000>;
116+
};
117+
};
118+
103119
zynqmp_ipi: zynqmp_ipi {
104120
compatible = "xlnx,zynqmp-ipi-mailbox";
105121
interrupt-parent = <&gic>;
@@ -203,6 +219,23 @@
203219
ranges;
204220
};
205221

222+
remoteproc {
223+
compatible = "xlnx,zynqmp-r5fss";
224+
xlnx,cluster-mode = <1>;
225+
226+
r5f-0 {
227+
compatible = "xlnx,zynqmp-r5f";
228+
power-domains = <&zynqmp_firmware PD_RPU_0>;
229+
memory-region = <&rproc_0_fw_image>;
230+
};
231+
232+
r5f-1 {
233+
compatible = "xlnx,zynqmp-r5f";
234+
power-domains = <&zynqmp_firmware PD_RPU_1>;
235+
memory-region = <&rproc_1_fw_image>;
236+
};
237+
};
238+
206239
amba: axi {
207240
compatible = "simple-bus";
208241
#address-cells = <2>;

0 commit comments

Comments
 (0)