ARM: dts: rockchip: add vpu service for RK3288
authorRandy Li <randy.li@rock-chips.com>
Mon, 31 Oct 2016 08:31:54 +0000 (16:31 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 30 Nov 2016 02:24:08 +0000 (10:24 +0800)
It is not harm to keep both vpu service and vpu v4l2 at the same time,
that the board file choose a driver implementation and interace to
be used.

Change-Id: If79deac5bf19395cfdca821f20486985e3034389
Signed-off-by: Randy Li <randy.li@rock-chips.com>
arch/arm/boot/dts/rk3288.dtsi

index 422760e63814122de5b830db0c836d527611da75..99bce3b994eb663f8bca946699162e574fc2b36f 100644 (file)
                status = "disabled";
        };
 
+       vpu_service: vpu-service@ff9a0000 {
+               compatible = "rockchip,vpu_service";
+               reg = <0xff9a0000 0x800>;
+               interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "irq_enc", "irq_dec";
+               clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
+               clock-names = "aclk_vcodec", "hclk_vcodec";
+               power-domains = <&power RK3288_PD_VIDEO>;
+               rockchip,grf = <&grf>;
+               resets = <&cru SRST_VCODEC_AXI>, <&cru SRST_VCODEC_AHB>;
+               reset-names = "video_a", "video_h";
+               iommus = <&vpu_mmu>;
+               iommu_enabled = <1>;
+               dev_mode = <0>;
+               status = "disabled";
+       };
+
        vpu_mmu: iommu@ff9a0800 {
                compatible = "rockchip,iommu";
                reg = <0xff9a0800 0x100>;