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

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
...@@ -1242,6 +1242,18 @@ pwm3: pwm@ff420030 { ...@@ -1242,6 +1242,18 @@ pwm3: pwm@ff420030 {
status = "disabled"; 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 { vpu_mmu: iommu@ff650800 {
compatible = "rockchip,iommu"; compatible = "rockchip,iommu";
reg = <0x0 0xff650800 0x0 0x40>; reg = <0x0 0xff650800 0x0 0x40>;
...@@ -1250,7 +1262,7 @@ vpu_mmu: iommu@ff650800 { ...@@ -1250,7 +1262,7 @@ vpu_mmu: iommu@ff650800 {
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
clock-names = "aclk", "iface"; clock-names = "aclk", "iface";
#iommu-cells = <0>; #iommu-cells = <0>;
status = "disabled"; power-domains = <&power RK3399_PD_VCODEC>;
}; };
vdec_mmu: iommu@ff660480 { vdec_mmu: iommu@ff660480 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment