]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: xilinx: zynqmp: Add RPU subsystem device node
authorTanmay Shah <tanmay.shah@amd.com>
Fri, 22 Sep 2023 10:35:31 +0000 (12:35 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 9 Oct 2023 08:25:32 +0000 (10:25 +0200)
RPU subsystem can be configured in cluster-mode or split mode.
Also each r5 core has separate power domains.

Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/dde364939b4fbe3f7be7b6f5dff42e7d8b2f5c46.1695378830.git.michal.simek@amd.com
arch/arm/dts/zynqmp.dtsi

index fb6520e371de19d3dbb117f4079600b2b8ff4a2b..c0e2654cc3c832cd5dbaa260e88e39783a43dbb2 100644 (file)
                };
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               rproc_0_fw_image: memory@3ed00000 {
+                       no-map;
+                       reg = <0x0 0x3ed00000 0x0 0x40000>;
+               };
+
+               rproc_1_fw_image: memory@3ef00000 {
+                       no-map;
+                       reg = <0x0 0x3ef00000 0x0 0x40000>;
+               };
+       };
+
        zynqmp_ipi: zynqmp_ipi {
                bootph-all;
                compatible = "xlnx,zynqmp-ipi-mailbox";
                power-domains = <&zynqmp_firmware PD_PL>;
        };
 
+       remoteproc {
+               compatible = "xlnx,zynqmp-r5fss";
+               xlnx,cluster-mode = <1>;
+
+               r5f-0 {
+                       compatible = "xlnx,zynqmp-r5f";
+                       power-domains = <&zynqmp_firmware PD_RPU_0>;
+                       memory-region = <&rproc_0_fw_image>;
+               };
+
+               r5f-1 {
+                       compatible = "xlnx,zynqmp-r5f";
+                       power-domains = <&zynqmp_firmware PD_RPU_1>;
+                       memory-region = <&rproc_1_fw_image>;
+               };
+       };
+
        amba: axi {
                compatible = "simple-bus";
                bootph-all;