From: Tanmay Shah <tanmay.shah@amd.com> To: <bjorn.andersson@linaro.org>, <mathieu.poirier@linaro.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <michal.simek@xilinx.com>, <ben.levinsky@xilinx.com>, <tanmay.shah@xilinx.com>, <michal.simek@amd.com> Cc: <linux-remoteproc@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Tanmay Shah <tanmay.shah@amd.com> Subject: [PATCH v9 2/6] arm64: dts: xilinx: zynqmp: Add RPU subsystem device node Date: Thu, 7 Jul 2022 18:39:51 -0700 [thread overview] Message-ID: <20220708013955.2340449-3-tanmay.shah@amd.com> (raw) In-Reply-To: <20220708013955.2340449-1-tanmay.shah@amd.com> From: Tanmay Shah <tanmay.shah@xilinx.com> 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@xilinx.com> Signed-off-by: Tanmay Shah <tanmay.shah@amd.com> --- Changes in v9: - remove unused labels Changes in v8: - None Changes in v7: - None Changes in v6: - None Changes in v5: - Remove optional reg property from r5fss node - Move r5fss node out of axi node Changes in v4: - Add reserved memory region node and use it in RPU subsystem node Changes in v3: - Fix checkpatch.pl style warning arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index c715a18368c2..1c19d9a03c49 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -100,6 +100,22 @@ opp03 { }; }; + 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 { compatible = "xlnx,zynqmp-ipi-mailbox"; interrupt-parent = <&gic>; @@ -203,6 +219,23 @@ fpga_full: fpga-full { ranges; }; + r5fss { + 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"; #address-cells = <2>; -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Tanmay Shah <tanmay.shah@amd.com> To: <bjorn.andersson@linaro.org>, <mathieu.poirier@linaro.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <michal.simek@xilinx.com>, <ben.levinsky@xilinx.com>, <tanmay.shah@xilinx.com>, <michal.simek@amd.com> Cc: <linux-remoteproc@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Tanmay Shah <tanmay.shah@amd.com> Subject: [PATCH v9 2/6] arm64: dts: xilinx: zynqmp: Add RPU subsystem device node Date: Thu, 7 Jul 2022 18:39:51 -0700 [thread overview] Message-ID: <20220708013955.2340449-3-tanmay.shah@amd.com> (raw) In-Reply-To: <20220708013955.2340449-1-tanmay.shah@amd.com> From: Tanmay Shah <tanmay.shah@xilinx.com> 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@xilinx.com> Signed-off-by: Tanmay Shah <tanmay.shah@amd.com> --- Changes in v9: - remove unused labels Changes in v8: - None Changes in v7: - None Changes in v6: - None Changes in v5: - Remove optional reg property from r5fss node - Move r5fss node out of axi node Changes in v4: - Add reserved memory region node and use it in RPU subsystem node Changes in v3: - Fix checkpatch.pl style warning arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index c715a18368c2..1c19d9a03c49 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -100,6 +100,22 @@ opp03 { }; }; + 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 { compatible = "xlnx,zynqmp-ipi-mailbox"; interrupt-parent = <&gic>; @@ -203,6 +219,23 @@ fpga_full: fpga-full { ranges; }; + r5fss { + 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"; #address-cells = <2>; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-07-08 1:40 UTC|newest] Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-08 1:39 [PATCH v9 0/6] Add Xilinx RPU subsystem support Tanmay Shah 2022-07-08 1:39 ` Tanmay Shah 2022-07-08 1:39 ` [PATCH v9 1/6] dt-bindings: remoteproc: Add Xilinx RPU subsystem bindings Tanmay Shah 2022-07-08 1:39 ` Tanmay Shah 2022-09-01 17:38 ` Mathieu Poirier 2022-09-01 17:38 ` Mathieu Poirier 2022-09-01 19:29 ` Tanmay Shah 2022-09-01 19:29 ` Tanmay Shah 2022-09-06 23:02 ` Tanmay Shah 2022-09-06 23:02 ` Tanmay Shah 2022-07-08 1:39 ` Tanmay Shah [this message] 2022-07-08 1:39 ` [PATCH v9 2/6] arm64: dts: xilinx: zynqmp: Add RPU subsystem device node Tanmay Shah 2022-07-08 1:39 ` [PATCH v9 3/6] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration Tanmay Shah 2022-07-08 1:39 ` Tanmay Shah 2022-07-08 1:39 ` [PATCH v9 4/6] firmware: xilinx: Add shutdown/wakeup APIs Tanmay Shah 2022-07-08 1:39 ` Tanmay Shah 2022-07-08 1:39 ` [PATCH v9 5/6] firmware: xilinx: Add RPU configuration APIs Tanmay Shah 2022-07-08 1:39 ` Tanmay Shah 2022-07-08 1:39 ` [PATCH v9 6/6] drivers: remoteproc: Add Xilinx r5 remoteproc driver Tanmay Shah 2022-07-08 1:39 ` Tanmay Shah 2022-07-08 19:38 ` kernel test robot 2022-07-08 19:38 ` kernel test robot 2022-09-01 20:25 ` Mathieu Poirier 2022-09-01 20:25 ` Mathieu Poirier 2022-09-02 0:04 ` Tanmay Shah 2022-09-02 0:04 ` Tanmay Shah 2022-09-02 19:59 ` Mathieu Poirier 2022-09-02 19:59 ` Mathieu Poirier 2022-09-08 19:42 ` Tanmay Shah 2022-09-08 19:42 ` Tanmay Shah 2022-09-02 0:06 ` Tanmay Shah 2022-09-02 0:06 ` Tanmay Shah 2022-09-26 22:02 ` Tanmay Shah 2022-09-26 22:02 ` Tanmay Shah 2022-09-29 17:22 ` Mathieu Poirier 2022-09-29 17:22 ` Mathieu Poirier 2022-09-29 19:28 ` Tanmay Shah 2022-09-29 19:28 ` Tanmay Shah 2022-09-29 23:20 ` Mathieu Poirier 2022-09-29 23:20 ` Mathieu Poirier 2022-09-06 21:07 ` Mathieu Poirier 2022-09-06 21:07 ` Mathieu Poirier
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220708013955.2340449-3-tanmay.shah@amd.com \ --to=tanmay.shah@amd.com \ --cc=ben.levinsky@xilinx.com \ --cc=bjorn.andersson@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-remoteproc@vger.kernel.org \ --cc=mathieu.poirier@linaro.org \ --cc=michal.simek@amd.com \ --cc=michal.simek@xilinx.com \ --cc=robh+dt@kernel.org \ --cc=tanmay.shah@xilinx.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.