Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alex Bee and committed by
Heiko Stuebner
9d34d4aa 623ba75a

+21
+21
arch/arm/boot/dts/rk3036.dtsi
··· 117 117 status = "disabled"; 118 118 }; 119 119 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 + 120 141 vop: vop@10118000 { 121 142 compatible = "rockchip,rk3036-vop"; 122 143 reg = <0x10118000 0x19c>;