Skip to content

Commit 4de83ea

Browse files
yueshuasus-leslieyu
authored andcommitted
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 <randy.li@rock-chips.com> Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
1 parent d8f24cf commit 4de83ea

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

arch/arm/boot/dts/rk3288.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,8 @@
10291029
reg = <0xff930300 0x100>;
10301030
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
10311031
interrupt-names = "vopb_mmu";
1032+
clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>;
1033+
clock-names = "aclk", "hclk";
10321034
power-domains = <&power RK3288_PD_VIO>;
10331035
#iommu-cells = <0>;
10341036
status = "disabled";
@@ -1078,6 +1080,8 @@
10781080
reg = <0xff940300 0x100>;
10791081
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
10801082
interrupt-names = "vopl_mmu";
1083+
clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
1084+
clock-names = "aclk", "hclk";
10811085
power-domains = <&power RK3288_PD_VIO>;
10821086
#iommu-cells = <0>;
10831087
status = "disabled";
@@ -1290,6 +1294,8 @@
12901294
reg = <0xff9a0800 0x100>;
12911295
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
12921296
interrupt-names = "vpu_mmu";
1297+
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
1298+
clock-names = "aclk", "hclk";
12931299
power-domains = <&power RK3288_PD_VIDEO>;
12941300
#iommu-cells = <0>;
12951301
};
@@ -1331,6 +1337,11 @@
13311337
reg = <0xff9c0440 0x40>, <0xff9c0480 0x40>;
13321338
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
13331339
interrupt-names = "hevc_mmu";
1340+
clocks = <&cru ACLK_HEVC>, <&cru HCLK_HEVC>,
1341+
<&cru SCLK_HEVC_CORE>,
1342+
<&cru SCLK_HEVC_CABAC>;
1343+
clock-names = "aclk", "hclk", "clk_core",
1344+
"clk_cabac";
13341345
power-domains = <&power RK3288_PD_HEVC>;
13351346
#iommu-cells = <0>;
13361347
};

0 commit comments

Comments
 (0)