Commit 5cd4c31a authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: add VPU device node for RK3399



Add the Video Processing Unit node for the RK3399 SoC.

Also, fix the VPU IOMMU node, which was disabled and lacking
its power domain property.

Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
Signed-off-by: default avatarEzequiel Garcia <ezequiel@collabora.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 17222eb9
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -1242,6 +1242,18 @@
		status = "disabled";
	};

	vpu: video-codec@ff650000 {
		compatible = "rockchip,rk3399-vpu";
		reg = <0x0 0xff650000 0x0 0x800>;
		interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH 0>,
			     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>;
		interrupt-names = "vepu", "vdpu";
		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
		clock-names = "aclk", "hclk";
		iommus = <&vpu_mmu>;
		power-domains = <&power RK3399_PD_VCODEC>;
	};

	vpu_mmu: iommu@ff650800 {
		compatible = "rockchip,iommu";
		reg = <0x0 0xff650800 0x0 0x40>;
@@ -1250,7 +1262,7 @@
		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
		clock-names = "aclk", "iface";
		#iommu-cells = <0>;
		status = "disabled";
		power-domains = <&power RK3399_PD_VCODEC>;
	};

	vdec_mmu: iommu@ff660480 {