faraday,tve200.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/faraday,tve200.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Faraday TV Encoder TVE200
  7. maintainers:
  8. - Linus Walleij <linusw@kernel.org>
  9. properties:
  10. compatible:
  11. oneOf:
  12. - const: faraday,tve200
  13. - items:
  14. - const: cortina,gemini-tvc
  15. - const: faraday,tve200
  16. reg:
  17. maxItems: 1
  18. interrupts:
  19. minItems: 1
  20. clock-names:
  21. items:
  22. - const: PCLK
  23. - const: TVE
  24. clocks:
  25. minItems: 2
  26. resets:
  27. minItems: 1
  28. port:
  29. $ref: /schemas/graph.yaml#/properties/port
  30. required:
  31. - compatible
  32. - reg
  33. - interrupts
  34. - clock-names
  35. - clocks
  36. additionalProperties: false
  37. examples:
  38. - |
  39. #include <dt-bindings/clock/cortina,gemini-clock.h>
  40. #include <dt-bindings/interrupt-controller/irq.h>
  41. #include <dt-bindings/reset/cortina,gemini-reset.h>
  42. display-controller@6a000000 {
  43. compatible = "faraday,tve200";
  44. reg = <0x6a000000 0x1000>;
  45. interrupts = <13 IRQ_TYPE_EDGE_RISING>;
  46. resets = <&syscon GEMINI_RESET_TVC>;
  47. clocks = <&syscon GEMINI_CLK_GATE_TVC>,
  48. <&syscon GEMINI_CLK_TVC>;
  49. clock-names = "PCLK", "TVE";
  50. port {
  51. display_out: endpoint {
  52. remote-endpoint = <&panel_in>;
  53. };
  54. };
  55. };