arm64: dts: rockchip: move vpu/rkvdec to rk3399.dtsi
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-android.dtsi
index 720a902c10060ee9a76caf1e1d1f331ceecb480f..b2953c2896d0b7b4aae872418700807ad9090cd3 100644 (file)
                };
        };
 
-       vpu: vpu_service@ff650000 {
-               compatible = "rockchip,vpu_service";
-               rockchip,grf = <&grf>;
-               iommu_enabled = <1>;
-               reg = <0x0 0xff650000 0x0 0x800>;
-               interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>,
-                       <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH 0>;
-               interrupt-names = "irq_dec", "irq_enc";
-               clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
-               clock-names = "aclk_vcodec", "hclk_vcodec";
-               resets = <&cru SRST_H_VCODEC>, <&cru SRST_A_VCODEC>;
-               reset-names = "video_h", "video_a";
-               power-domains = <&power RK3399_PD_VCODEC>;
-               name = "vpu_service";
-               dev_mode = <0>;
-               /* 0 means ion, 1 means drm */
-               allocator = <0>;
-       };
-
-       vpu_mmu: vpu_mmu {
-               dbgname = "vpu";
-               compatible = "rockchip,vpu_mmu";
-               reg = <0x0 0xff650800 0x0 0x40>;
-               interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH 0>;
-               interrupt-names = "vpu_mmu";
-       };
-
-       rkvdec: rkvdec@ff660000 {
-               compatible = "rockchip,rkvdec";
-               rockchip,grf = <&grf>;
-               iommu_enabled = <1>;
-               reg = <0x0 0xff660000 0x0 0x400>;
-               interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
-               interrupt-names = "irq_dec";
-               clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,<&cru SCLK_VDU_CA>,<&cru SCLK_VDU_CORE>;
-               clock-names = "aclk_vcodec", "hclk_vcodec", "clk_cabac", "clk_core";
-               resets = <&cru SRST_H_VDU>, <&cru SRST_A_VDU>;
-               reset-names = "video_h", "video_a";
-               power-domains = <&power RK3399_PD_VDU>;
-               dev_mode = <2>;
-               name = "rkvdec";
-               /* 0 means ion, 1 means drm */
-               allocator = <0>;
-       };
-
-       vdec_mmu: vdec_mmu {
-               dbgname = "vdec";
-               compatible = "rockchip,vdec_mmu";
-               reg = <0x0 0xff660480 0x0 0x40>,
-                     <0x0 0xff6604c0 0x0 0x40>;
-               interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>;
-               interrupt-names = "vdec_mmu";
-       };
-
        iep: iep@ff670000 {
                compatible = "rockchip,iep";
                iommu_enabled = <1>;
        };
 };
 
+&vpu {
+       status = "okay";
+       /delete-property/ iommus;
+       /* 0 means ion, 1 means drm */
+       allocator = <0>;
+};
+
+&vpu_mmu {
+       dbgname = "vpu";
+       compatible = "rockchip,vpu_mmu";
+};
+
+&rkvdec {
+       status = "okay";
+       /delete-property/ iommus;
+       /* 0 means ion, 1 means drm */
+       allocator = <0>;
+};
+
+&vdec_mmu {
+       dbgname = "vdec";
+       compatible = "rockchip,vdec_mmu";
+};
+
 &pinctrl {
        isp {
                cif_clkout: cif-clkout {