]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Add verisilicon IOMMU node on RK3588
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Wed, 15 Apr 2026 07:23:40 +0000 (09:23 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 11 May 2026 08:01:00 +0000 (10:01 +0200)
Add the device tree node for the Verisilicon IOMMU present
in the RK3588 SoC.
This IOMMU handles address translation for the VPU hardware blocks.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi

index 4fb8888c281c8c7ce31e90e91abe1fd703804dd2..b78347a83ed99bf91692454b156def7d7db313fc 100644 (file)
                clock-names = "aclk", "hclk";
                power-domains = <&power RK3588_PD_AV1>;
                resets = <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, <&cru SRST_P_AV1_BIU>;
+               iommus = <&av1d_mmu>;
+       };
+
+       av1d_mmu: iommu@fdca0000 {
+               compatible = "rockchip,rk3588-av1-iommu", "verisilicon,iommu-1.2";
+               reg = <0x0 0xfdca0000 0x0 0x600>;
+               interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>;
+               clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
+               clock-names = "core", "iface";
+               #iommu-cells = <0>;
+               power-domains = <&power RK3588_PD_AV1>;
        };
 
        vop: vop@fdd90000 {