]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] arm64: dts: mediatek: Add node for Mediatek Video Processor Unit
authorAndrew-CT Chen <andrew-ct.chen@mediatek.com>
Tue, 3 May 2016 10:11:22 +0000 (07:11 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 17:05:20 +0000 (14:05 -0300)
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>
arch/arm64/boot/dts/mediatek/mt8173.dtsi

index 05f89c4a5413827d6b58cfc2f73d1abf83bfc04d..72a230f81042031d42016795eb2fb517c82cf36e 100644 (file)
                };
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+               vpu_dma_reserved: vpu_dma_mem_region {
+                       compatible = "shared-dma-pool";
+                       reg = <0 0xb7000000 0 0x500000>;
+                       alignment = <0x1000>;
+                       no-map;
+               };
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupt-parent = <&gic>;
                        clock-names = "spi", "wrap";
                };
 
+               vpu: vpu@10020000 {
+                       compatible = "mediatek,mt8173-vpu";
+                       reg = <0 0x10020000 0 0x30000>,
+                             <0 0x10050000 0 0x100>;
+                       reg-names = "tcm", "cfg_reg";
+                       interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&topckgen CLK_TOP_SCP_SEL>;
+                       clock-names = "main";
+                       memory-region = <&vpu_dma_reserved>;
+               };
+
                sysirq: intpol-controller@10200620 {
                        compatible = "mediatek,mt8173-sysirq",
                                     "mediatek,mt6577-sysirq";