1*c66ec88fSEmmanuel Vadot* Mediatek Video Processor Unit 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotVideo Processor Unit is a HW video controller. It controls HW Codec including 4*c66ec88fSEmmanuel VadotH.264/VP8/VP9 Decode, H.264/VP8 Encode and Image Processor (scale/rotate/color convert). 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot - compatible: "mediatek,mt8173-vpu" 8*c66ec88fSEmmanuel Vadot - reg: Must contain an entry for each entry in reg-names. 9*c66ec88fSEmmanuel Vadot - reg-names: Must include the following entries: 10*c66ec88fSEmmanuel Vadot "tcm": tcm base 11*c66ec88fSEmmanuel Vadot "cfg_reg": Main configuration registers base 12*c66ec88fSEmmanuel Vadot - interrupts: interrupt number to the cpu. 13*c66ec88fSEmmanuel Vadot - clocks : clock name from clock manager 14*c66ec88fSEmmanuel Vadot - clock-names: must be main. It is the main clock of VPU 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotOptional properties: 17*c66ec88fSEmmanuel Vadot - memory-region: phandle to a node describing memory (see 18*c66ec88fSEmmanuel Vadot Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt) 19*c66ec88fSEmmanuel Vadot to be used for VPU extended memory; if not present, VPU may be located 20*c66ec88fSEmmanuel Vadot anywhere in the memory 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel VadotExample: 23*c66ec88fSEmmanuel Vadot vpu: vpu@10020000 { 24*c66ec88fSEmmanuel Vadot compatible = "mediatek,mt8173-vpu"; 25*c66ec88fSEmmanuel Vadot reg = <0 0x10020000 0 0x30000>, 26*c66ec88fSEmmanuel Vadot <0 0x10050000 0 0x100>; 27*c66ec88fSEmmanuel Vadot reg-names = "tcm", "cfg_reg"; 28*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; 29*c66ec88fSEmmanuel Vadot clocks = <&topckgen TOP_SCP_SEL>; 30*c66ec88fSEmmanuel Vadot clock-names = "main"; 31*c66ec88fSEmmanuel Vadot }; 32