Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 0c85e2e

Browse files
Andre-ARMwens
authored andcommitted
arm64: dts: allwinner: h616: add IOMMU node
The Allwinner H616 contains a scatter-gather IOMMU connected to some video related devices. It's almost compatible to the one used in the H6, though with minor incompatibilities. Add the DT node describing its resources, so that devices like the video or display engine can connect to it. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Tested-by: Ryan Walklin <ryan@testtoast.com> Link: https://lore.kernel.org/r/20240616224056.29159-6-andre.przywara@arm.com [wens@csie.org: Move IOMMU node after GIC node for address order] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent e1e61fe commit 0c85e2e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,15 @@
343343
#interrupt-cells = <3>;
344344
};
345345

346+
iommu: iommu@30f0000 {
347+
compatible = "allwinner,sun50i-h616-iommu";
348+
reg = <0x030f0000 0x10000>;
349+
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
350+
clocks = <&ccu CLK_BUS_IOMMU>;
351+
resets = <&ccu RST_BUS_IOMMU>;
352+
#iommu-cells = <1>;
353+
};
354+
346355
mmc0: mmc@4020000 {
347356
compatible = "allwinner,sun50i-h616-mmc",
348357
"allwinner,sun50i-a100-mmc";

0 commit comments

Comments
 (0)