ARM64: dts: rk3368: add vpu & hevc node

Change-Id: Iee8fb808ad0c929be8fa5db8164fd6e05321b352
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
This commit is contained in:
Jung Zhao
2017-03-20 11:14:27 +08:00
committed by Huang, Tao
parent f7f4bdd020
commit 25f0664f67

View File

@@ -1252,8 +1252,8 @@
hevc_mmu: iommu@ff9a0440 {
compatible = "rockchip,iommu";
reg = <0x0 0xff9a0440 0x0 0x100>,
<0x0 0xff9a0480 0x0 0x100>;
reg = <0x0 0xff9a0440 0x0 0x40>,
<0x0 0xff9a0480 0x0 0x40>;
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hevc_mmu";
clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
@@ -1266,8 +1266,9 @@
vpu_mmu: iommu@ff9a0800 {
compatible = "rockchip,iommu";
reg = <0x0 0xff9a0800 0x0 0x100>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "vpu_mmu";
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "vepu_mmu", "vdpu_mmu";
clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
clock-names = "aclk", "hclk";
power-domains = <&power RK3368_PD_VIDEO>;
@@ -1275,6 +1276,49 @@
status = "disabled";
};
vpu: vpu_service {
compatible = "rockchip,vpu_sub";
iommu_enabled = <1>;
iommus = <&vpu_mmu>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "irq_enc","irq_dec";
dev_mode = <0>;
name = "vpu_service";
allocator = <1>;
};
hevc: hevc_service {
compatible = "rockchip,hevc_sub";
iommu_enabled = <1>;
iommus = <&hevc_mmu>;
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "irq_dec";
dev_mode = <1>;
name = "hevc_service";
allocator = <1>;
};
vpu_combo: vpu_combo@ff9a0000 {
compatible = "rockchip,vpu_combo";
reg = <0x0 0xff9a0000 0x0 0x440>;
rockchip,grf = <&grf>;
subcnt = <2>;
rockchip,sub = <&vpu>, <&hevc>;
clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>,
<&cru SCLK_HEVC_CORE>, <&cru SCLK_HEVC_CABAC>;
clock-names = "aclk_vcodec", "hclk_vcodec",
"clk_core", "clk_cabac";
resets = <&cru SRST_VIDEO_AXI>, <&cru SRST_VIDEO_AHB>,
<&cru SRST_VIDEO>;
reset-names = "video_a", "video_h", "video";
mode_bit = <12>;
mode_ctrl = <0x418>;
name = "vpu_combo";
power-domains = <&power RK3368_PD_VIDEO>;
status = "disabled";
};
gic: interrupt-controller@ffb71000 {
compatible = "arm,gic-400";
interrupt-controller;