Commit b3a0a2f9 authored by Maxime Ripard's avatar Maxime Ripard

arm64: dts: allwinner: h6: Add IOMMU

Now that we have a driver for the IOMMU, let's start using it.
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 5961bdf2
...@@ -135,6 +135,7 @@ mixer0: mixer@100000 { ...@@ -135,6 +135,7 @@ mixer0: mixer@100000 {
clock-names = "bus", clock-names = "bus",
"mod"; "mod";
resets = <&display_clocks RST_MIXER0>; resets = <&display_clocks RST_MIXER0>;
iommus = <&iommu 0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
...@@ -413,6 +414,15 @@ gic: interrupt-controller@3021000 { ...@@ -413,6 +414,15 @@ gic: interrupt-controller@3021000 {
#interrupt-cells = <3>; #interrupt-cells = <3>;
}; };
iommu: iommu@30f0000 {
compatible = "allwinner,sun50i-h6-iommu";
reg = <0x030f0000 0x10000>;
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_IOMMU>;
resets = <&ccu RST_BUS_IOMMU>;
#iommu-cells = <1>;
};
mmc0: mmc@4020000 { mmc0: mmc@4020000 {
compatible = "allwinner,sun50i-h6-mmc", compatible = "allwinner,sun50i-h6-mmc",
"allwinner,sun50i-a64-mmc"; "allwinner,sun50i-a64-mmc";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment