From 9ad514e0eaf364fb45a2dbe358d60e03610a9b22 Mon Sep 17 00:00:00 2001 From: Randy Li Date: Thu, 29 Dec 2016 14:51:53 +0800 Subject: [PATCH] ARM: dts: rockchip: add clocks for iommu in RK3288 As the commit "iommu/rockchip: Add pd/clk operation in iommu" make iommu could operation clocks and power, this commit would assign clocks to VPU, HEVC and VOP at rk3288. Change-Id: I6a8f57e41e7db4f57200481e5a45dd24324c72f2 Signed-off-by: Randy Li --- arch/arm/boot/dts/rk3288.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index e13c9febae2c..52b21ec66fd9 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1175,6 +1175,8 @@ reg = <0xff930300 0x100>; interrupts = ; interrupt-names = "vopb_mmu"; + clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>; + clock-names = "aclk", "hclk"; power-domains = <&power RK3288_PD_VIO>; #iommu-cells = <0>; status = "disabled"; @@ -1224,6 +1226,8 @@ reg = <0xff940300 0x100>; interrupts = ; interrupt-names = "vopl_mmu"; + clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>; + clock-names = "aclk", "hclk"; power-domains = <&power RK3288_PD_VIO>; #iommu-cells = <0>; status = "disabled"; @@ -1390,6 +1394,8 @@ reg = <0xff9a0800 0x100>; interrupts = ; interrupt-names = "vpu_mmu"; + clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; + clock-names = "aclk", "hclk"; power-domains = <&power RK3288_PD_VIDEO>; #iommu-cells = <0>; }; @@ -1431,6 +1437,11 @@ reg = <0xff9c0440 0x40>, <0xff9c0480 0x40>; interrupts = ; interrupt-names = "hevc_mmu"; + clocks = <&cru ACLK_HEVC>, <&cru HCLK_HEVC>, + <&cru SCLK_HEVC_CORE>, + <&cru SCLK_HEVC_CABAC>; + clock-names = "aclk", "hclk", "clk_core", + "clk_cabac"; power-domains = <&power RK3288_PD_HEVC>; #iommu-cells = <0>; }; -- 2.34.1