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:
ZhengShunQian
2016-03-22 09:31:05 +08:00
parent 024956ae51
commit a5bb31b08b
2 changed files with 2 additions and 1 deletions

View File

@@ -851,7 +851,7 @@
};
vpu_mmu: iommu@ff9a0800 {
compatible = "rockchip,iommu";
compatible = "rockchip,vpu_mmu";
reg = <0xff9a0800 0x100>;
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "vpu_mmu";

View File

@@ -1163,6 +1163,7 @@ static int rk_iommu_remove(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id rk_iommu_dt_ids[] = {
{ .compatible = "rockchip,iommu" },
{ .compatible = "rockchip,vpu_mmu" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, rk_iommu_dt_ids);