[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9559cde8-8dc4-4f4b-8e9f-973656bb575c@kernel.org>
Date: Fri, 24 Oct 2025 07:05:21 -0500
From: Dinh Nguyen <dinguyen@...nel.org>
To: Steffen Trumtrar <s.trumtrar@...gutronix.de>,
Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Maxime Chevallier <maxime.chevallier@...tlin.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Matthew Gerlach <matthew.gerlach@...era.com>
Cc: kernel@...gutronix.de, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, Austin Zhang <austin.zhang@...el.com>,
Adrian Ng Ho Yin <adrian.ho.yin.ng@...el.com>
Subject: Re: [PATCH v5 04/10] arm64: dts: socfpga: agilex5: smmu enablement
On 10/24/25 06:49, Steffen Trumtrar wrote:
> From: Austin Zhang <austin.zhang@...el.com>
>
> Add iommu property for peripherals connected to TBU.
>
> Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng@...el.com>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@...gutronix.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@...80000 {
> 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@...b0000 {
> 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@...c0000 {
> @@ -346,6 +348,7 @@ dmac1: dma-controller@...c0000 {
> snps,block-size = <32767 32767 32767 32767>;
> snps,priority = <0 1 2 3>;
> snps,axi-max-burst-len = <8>;
> + iommus = <&smmu 9>;
> };
>
> rst: rstmgr@...11000 {
> @@ -468,6 +471,7 @@ usb0: usb@...00000 {
> reset-names = "dwc2", "dwc2-ecc";
> clocks = <&clkmgr AGILEX5_USB2OTG_HCLK>;
> clock-names = "otg";
> + iommus = <&smmu 6>;
> status = "disabled";
> };
>
> @@ -553,6 +557,7 @@ gmac0: ethernet@...10000 {
> 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@...20000 {
> 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@...30000 {
> 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
Powered by blists - more mailing lists