aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew-CT Chen <andrew-ct.chen@mediatek.com>2016-05-03 06:11:22 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 13:05:20 -0400
commit404b28199378a4ee6033e8c40399d82d1f3bd3bc (patch)
tree22b190820f340b12d0ffb7bd9fb156c033546d34
parent3003a180ef6b9462f3cccc2a89884ef2332d2a1c (diff)
[media] arm64: dts: mediatek: Add node for Mediatek Video Processor Unit
Add VPU drivers for MT8173 Signed-off-by: Andrew-CT Chen <andrew-ct.chen@mediatek.com> Signed-off-by: Tiffany Lin <tiffany.lin@mediatek.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--arch/arm64/boot/dts/mediatek/mt8173.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 05f89c4a5413..72a230f81042 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -168,6 +168,18 @@
168 }; 168 };
169 }; 169 };
170 170
171 reserved-memory {
172 #address-cells = <2>;
173 #size-cells = <2>;
174 ranges;
175 vpu_dma_reserved: vpu_dma_mem_region {
176 compatible = "shared-dma-pool";
177 reg = <0 0xb7000000 0 0x500000>;
178 alignment = <0x1000>;
179 no-map;
180 };
181 };
182
171 timer { 183 timer {
172 compatible = "arm,armv8-timer"; 184 compatible = "arm,armv8-timer";
173 interrupt-parent = <&gic>; 185 interrupt-parent = <&gic>;
@@ -312,6 +324,17 @@
312 clock-names = "spi", "wrap"; 324 clock-names = "spi", "wrap";
313 }; 325 };
314 326
327 vpu: vpu@10020000 {
328 compatible = "mediatek,mt8173-vpu";
329 reg = <0 0x10020000 0 0x30000>,
330 <0 0x10050000 0 0x100>;
331 reg-names = "tcm", "cfg_reg";
332 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&topckgen CLK_TOP_SCP_SEL>;
334 clock-names = "main";
335 memory-region = <&vpu_dma_reserved>;
336 };
337
315 sysirq: intpol-controller@10200620 { 338 sysirq: intpol-controller@10200620 {
316 compatible = "mediatek,mt8173-sysirq", 339 compatible = "mediatek,mt8173-sysirq",
317 "mediatek,mt6577-sysirq"; 340 "mediatek,mt6577-sysirq";