mirror of https://gitee.com/openkylin/linux.git
dt-bindings: iommu/rockchip: Add clock property
Add clock property, since we are going to control clocks in rockchip iommu driver. Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
f2e3a5f557
commit
8fa9eb39c6
|
@ -14,6 +14,11 @@ Required properties:
|
||||||
"single-master" device, and needs no additional information
|
"single-master" device, and needs no additional information
|
||||||
to associate with its master device. See:
|
to associate with its master device. See:
|
||||||
Documentation/devicetree/bindings/iommu/iommu.txt
|
Documentation/devicetree/bindings/iommu/iommu.txt
|
||||||
|
- clocks : A list of clocks required for the IOMMU to be accessible by
|
||||||
|
the host CPU.
|
||||||
|
- clock-names : Should contain the following:
|
||||||
|
"iface" - Main peripheral bus clock (PCLK/HCL) (required)
|
||||||
|
"aclk" - AXI bus clock (required)
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
- rockchip,disable-mmu-reset : Don't use the mmu reset operation.
|
- rockchip,disable-mmu-reset : Don't use the mmu reset operation.
|
||||||
|
@ -27,5 +32,7 @@ Example:
|
||||||
reg = <0xff940300 0x100>;
|
reg = <0xff940300 0x100>;
|
||||||
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
interrupt-names = "vopl_mmu";
|
interrupt-names = "vopl_mmu";
|
||||||
|
clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
|
||||||
|
clock-names = "aclk", "iface";
|
||||||
#iommu-cells = <0>;
|
#iommu-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue