Skip to content

Commit 9d34d4a

Browse files
knaerzchemmind
authored andcommitted
ARM: dts: rockchip: add vpu node for RK3036
Add the vpu node and the node for the attached iommu for RK3036. Signed-off-by: Alex Bee <knaerzche@gmail.com> Link: https://lore.kernel.org/r/20210527154455.358869-11-knaerzche@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 623ba75 commit 9d34d4a

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

arch/arm/boot/dts/rk3036.dtsi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,27 @@
117117
status = "disabled";
118118
};
119119

120+
vpu: video-codec@10108000 {
121+
compatible = "rockchip,rk3036-vpu";
122+
reg = <0x10108000 0x800>;
123+
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
124+
interrupt-names = "vdpu";
125+
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
126+
clock-names = "aclk", "hclk";
127+
iommus = <&vpu_mmu>;
128+
power-domains = <&power RK3036_PD_VPU>;
129+
};
130+
131+
vpu_mmu: iommu@10108800 {
132+
compatible = "rockchip,iommu";
133+
reg = <0x10108800 0x100>;
134+
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
135+
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
136+
clock-names = "aclk", "iface";
137+
power-domains = <&power RK3036_PD_VPU>;
138+
#iommu-cells = <0>;
139+
};
140+
120141
vop: vop@10118000 {
121142
compatible = "rockchip,rk3036-vop";
122143
reg = <0x10118000 0x19c>;

0 commit comments

Comments
 (0)