iommu/rockchip: add compatible string for vpu_mmu
vpu changed its mmu compatible string, modify accordingly. Signed-off-by: ZhengShunQian <zhengsq@rock-chips.com>
This commit is contained in:
@@ -851,7 +851,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
vpu_mmu: iommu@ff9a0800 {
|
vpu_mmu: iommu@ff9a0800 {
|
||||||
compatible = "rockchip,iommu";
|
compatible = "rockchip,vpu_mmu";
|
||||||
reg = <0xff9a0800 0x100>;
|
reg = <0xff9a0800 0x100>;
|
||||||
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
interrupt-names = "vpu_mmu";
|
interrupt-names = "vpu_mmu";
|
||||||
|
|||||||
@@ -1163,6 +1163,7 @@ static int rk_iommu_remove(struct platform_device *pdev)
|
|||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
static const struct of_device_id rk_iommu_dt_ids[] = {
|
static const struct of_device_id rk_iommu_dt_ids[] = {
|
||||||
{ .compatible = "rockchip,iommu" },
|
{ .compatible = "rockchip,iommu" },
|
||||||
|
{ .compatible = "rockchip,vpu_mmu" },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, rk_iommu_dt_ids);
|
MODULE_DEVICE_TABLE(of, rk_iommu_dt_ids);
|
||||||
|
|||||||
Reference in New Issue
Block a user