[PATCH v2 RESEND v2 1/5] arm64: dts: socfpga: agilex5: add FPGA manager and region nodes
Adrian Ng Ho Yin <[email protected]>
| Newsgroups | org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <c1210302cb5dd630dfb5d98b7e0920fb38837822.1786520346.git.adrian.ho.yin.ng@altera.com> |
Add the fpga-mgr child node under the svc firmware node and a fpga-region node to enable FPGA configuration and partial reconfiguration on Agilex5. Also enable the SMMU by removing the disabled status from the smmu node, which is required for the svc driver to allocate DMA buffers within the SDM-accessible address range. Signed-off-by: Adrian Ng Ho Yin <[email protected]> --- arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi index 02e62d954e94..1cd9773a1500 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi @@ -85,9 +85,20 @@ svc { method = "smc"; memory-region = <&service_reserved>; iommus = <&smmu 10>; + + fpga_mgr: fpga-mgr { + compatible = "intel,agilex-soc-fpga-mgr"; + }; }; }; + fpga-region { + compatible = "fpga-region"; + #address-cells = <0x2>; + #size-cells = <0x2>; + fpga-mgr = <&fpga_mgr>; + }; + psci { compatible = "arm,psci-0.2"; method = "smc"; @@ -385,7 +396,6 @@ smmu: iommu@16000000 { interrupt-names = "eventq", "gerror", "priq"; dma-coherent; #iommu-cells = <1>; - status = "disabled"; }; spi0: spi@10da4000 { -- 2.49.GIT