ingenic,vpu.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/remoteproc/ingenic,vpu.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Ingenic Video Processing Unit
  7. description:
  8. Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from
  9. Ingenic is a second Xburst MIPS CPU very similar to the main core.
  10. This document describes the devicetree bindings for this auxiliary
  11. processor.
  12. maintainers:
  13. - Paul Cercueil <paul@crapouillou.net>
  14. properties:
  15. compatible:
  16. const: ingenic,jz4770-vpu-rproc
  17. reg:
  18. items:
  19. - description: aux registers
  20. - description: tcsm0 registers
  21. - description: tcsm1 registers
  22. - description: sram registers
  23. reg-names:
  24. items:
  25. - const: aux
  26. - const: tcsm0
  27. - const: tcsm1
  28. - const: sram
  29. clocks:
  30. items:
  31. - description: aux clock
  32. - description: vpu clock
  33. clock-names:
  34. items:
  35. - const: aux
  36. - const: vpu
  37. interrupts:
  38. maxItems: 1
  39. required:
  40. - compatible
  41. - reg
  42. - reg-names
  43. - clocks
  44. - clock-names
  45. - interrupts
  46. additionalProperties: false
  47. examples:
  48. - |
  49. #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
  50. vpu: video-decoder@132a0000 {
  51. compatible = "ingenic,jz4770-vpu-rproc";
  52. reg = <0x132a0000 0x20>, /* AUX */
  53. <0x132b0000 0x4000>, /* TCSM0 */
  54. <0x132c0000 0xc000>, /* TCSM1 */
  55. <0x132f0000 0x7000>; /* SRAM */
  56. reg-names = "aux", "tcsm0", "tcsm1", "sram";
  57. clocks = <&cgu JZ4770_CLK_AUX>, <&cgu JZ4770_CLK_VPU>;
  58. clock-names = "aux", "vpu";
  59. interrupt-parent = <&cpuintc>;
  60. interrupts = <3>;
  61. };