feat(tc): bind SMMU-700 with DPU on TC3

TC3 adds a new SMMU-700 specifically for the DPU. This is used as the
DPU SMMU instead of the existing SMMU used for the DPU. Update the
device tree to reflect this.

Change-Id: I865140f8f53bceaa8849f6583190b240eeee0539
Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com>
Signed-off-by: Leo Yan <leo.yan@arm.com>
This commit is contained in:
Jackson Cooper-Driver 2024-06-04 13:15:00 +01:00 committed by Leo Yan
parent 2458b38772
commit 0458d3acae
2 changed files with 23 additions and 0 deletions

View file

@ -516,6 +516,18 @@
status = "disabled"; status = "disabled";
}; };
smmu_700_dpu: iommu@4002a00000 {
#iommu-cells = <1>;
compatible = "arm,smmu-v3";
reg = <HI(0x4002a00000) LO(0x4002a00000) 0x0 0x5000000>;
interrupts = <GIC_SPI 481 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 482 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 483 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "eventq", "cmdq-sync", "gerror";
dma-coherent;
status = "disabled";
};
dp0: display@DPU_ADDR { dp0: display@DPU_ADDR {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View file

@ -90,8 +90,19 @@
smmu_700: iommu@3f000000 { smmu_700: iommu@3f000000 {
status = "okay"; status = "okay";
}; };
smmu_700_dpu: iommu@4002a00000 {
status = "okay";
};
#endif #endif
dp0: display@DPU_ADDR {
#if TARGET_FLAVOUR_FVP
iommus = <&smmu_700_dpu 0x000>, <&smmu_700_dpu 0x100>,
<&smmu_700_dpu 0x200>, <&smmu_700_dpu 0x600>;
#endif
};
gpu: gpu@2d000000 { gpu: gpu@2d000000 {
#if TARGET_FLAVOUR_FVP #if TARGET_FLAVOUR_FVP
iommus = <&smmu_700 0x200>; iommus = <&smmu_700 0x200>;