mediatek-vpu.txt 1.1 KB

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