From 18661920f9c562e3e87a296a9d7c227681356d11 Mon Sep 17 00:00:00 2001 From: Jung Zhao Date: Mon, 17 Apr 2017 16:38:39 +0800 Subject: [PATCH] ARM64: dts: rk3328: add vepu & h265e dts node Change-Id: I2990ac7e43d4b2d2efbf5e9cf3abe124e8767648 Signed-off-by: Jung Zhao --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 62 ++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 934a8d05469c..7aa02d138b20 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -677,6 +677,68 @@ #iommu-cells = <0>; }; + h265e: h265e@ff330000 { + compatible = "rockchip,h265e"; + rockchip,grf = <&grf>; + iommu_enabled = <1>; + iommus = <&h265e_mmu>; + reg = <0x0 0xff330000 0 0x200>; + interrupts = ; + clocks = <&cru ACLK_H265>, <&cru PCLK_H265>, + <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>, + <&cru ACLK_RKVENC>, <&cru ACLK_AXISRAM>; + clock-names = "aclk_h265", "pclk_h265", "clk_core", + "clk_dsp", "aclk_venc", "aclk_axi2sram"; + rockchip,srv = <&venc_srv>; + mode_bit = <11>; + mode_ctrl = <0x40c>; + name = "h265e"; + allocator = <1>; + status = "disabled"; + }; + + h265e_mmu: iommu@ff330200 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff330200 0 0x100>; + interrupts = ; + interrupt-names = "h265e_mmu"; + #iommu-cells = <0>; + }; + + vepu: vepu@ff340000 { + compatible = "rockchip,rk3328-vepu", "rockchip,vepu"; + rockchip,grf = <&grf>; + iommu_enabled = <1>; + iommus = <&vepu_mmu>; + reg = <0x0 0xff340000 0x0 0x400>; + interrupts = ; + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; + clock-names = "aclk_vcodec", "hclk_vcodec"; + resets = <&cru SRST_RKVENC_H264_H>, + <&cru SRST_RKVENC_H264_A>; + reset-names = "video_h", "video_a"; + rockchip,srv = <&venc_srv>; + mode_bit = <11>; + mode_ctrl = <0x40c>; + name = "vepu"; + allocator = <1>; + status = "disabled"; + }; + + vepu_mmu: iommu@ff340800 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff340800 0x0 0x40>; + interrupts = ; + interrupt-names = "vepu_mmu"; + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; + clock-names = "aclk", "hclk"; + #iommu-cells = <0>; + }; + + venc_srv: venc_srv { + compatible = "rockchip,mpp_service"; + }; + vop: vop@ff370000 { compatible = "rockchip,rk3328-vop"; reg = <0x0 0xff370000 0x0 0x3efc>; -- 2.34.1