[PATCH v5 04/10] arm64: dts: socfpga: agilex5: smmu enablement

Dinh Nguyen dinguyen at kernel.org
Fri Oct 24 05:05:21 PDT 2025



On 10/24/25 06:49, Steffen Trumtrar wrote:
> From: Austin Zhang <austin.zhang at intel.com>
> 
> Add iommu property for peripherals connected to TBU.
> 
> Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng at intel.com>
> Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> ---
>   arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> index 4f7ed20749927..4ccfebfd9d322 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> @@ -303,6 +303,7 @@ nand: nand-controller at 10b80000 {
>   			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
>   			clocks = <&clkmgr AGILEX5_NAND_NF_CLK>;
>   			cdns,board-delay-ps = <4830>;
> +			iommus = <&smmu 4>;
>   			status = "disabled";
>   		};
>   
> @@ -329,6 +330,7 @@ dmac0: dma-controller at 10db0000 {
>   			snps,block-size = <32767 32767 32767 32767>;
>   			snps,priority = <0 1 2 3>;
>   			snps,axi-max-burst-len = <8>;
> +			iommus = <&smmu 8>;
>   		};
>   
>   		dmac1: dma-controller at 10dc0000 {
> @@ -346,6 +348,7 @@ dmac1: dma-controller at 10dc0000 {
>   			snps,block-size = <32767 32767 32767 32767>;
>   			snps,priority = <0 1 2 3>;
>   			snps,axi-max-burst-len = <8>;
> +			iommus = <&smmu 9>;
>   		};
>   
>   		rst: rstmgr at 10d11000 {
> @@ -468,6 +471,7 @@ usb0: usb at 10b00000 {
>   			reset-names = "dwc2", "dwc2-ecc";
>   			clocks = <&clkmgr AGILEX5_USB2OTG_HCLK>;
>   			clock-names = "otg";
> +			iommus = <&smmu 6>;
>   			status = "disabled";
>   		};
>   
> @@ -553,6 +557,7 @@ gmac0: ethernet at 10810000 {
>   			snps,tso;
>   			altr,sysmgr-syscon = <&sysmgr 0x44 0>;
>   			snps,clk-csr = <0>;
> +			iommus = <&smmu 1>;
>   			status = "disabled";
>   
>   			stmmac_axi_emac0_setup: stmmac-axi-config {
> @@ -665,6 +670,7 @@ gmac1: ethernet at 10820000 {
>   			snps,tso;
>   			altr,sysmgr-syscon = <&sysmgr 0x48 0>;
>   			snps,clk-csr = <0>;
> +			iommus = <&smmu 2>;
>   			status = "disabled";
>   
>   			stmmac_axi_emac1_setup: stmmac-axi-config {
> @@ -777,6 +783,7 @@ gmac2: ethernet at 10830000 {
>   			snps,tso;
>   			altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
>   			snps,clk-csr = <0>;
> +			iommus = <&smmu 3>;
>   			status = "disabled";
>   
>   			stmmac_axi_emac2_setup: stmmac-axi-config {
> 


I have a similar patches for this and 3/10 queued up for v6.19.

The DTS patches are staged in my repo under the branch 
socfpga_updates_for_v6.19

Dinh



More information about the linux-arm-kernel mailing list