mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
From 673ae7d301fcfa6707a92b3346f96e119d86857e Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Gaignard <benjamin.gaignard@collabora.com>
|
|
Date: Mon, 25 Aug 2025 17:34:44 +0200
|
|
Subject: [PATCH 036/110] FROMLIST(v7): arm64: dts: rockchip: Add verisilicon
|
|
IOMMU node on RK3588
|
|
|
|
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>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
|
|
index 56bf903eb04f..3bd1b5e3b101 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
|
|
@@ -1418,6 +1418,17 @@ av1d: video-codec@fdc70000 {
|
|
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 {
|
|
--
|
|
2.34.1
|
|
|