img,ascii-lcd.yaml 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/auxdisplay/img,ascii-lcd.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: ASCII LCD displays on Imagination Technologies boards
  7. maintainers:
  8. - Paul Burton <paulburton@kernel.org>
  9. properties:
  10. compatible:
  11. enum:
  12. - img,boston-lcd
  13. - mti,malta-lcd
  14. - mti,sead3-lcd
  15. reg:
  16. maxItems: 1
  17. offset:
  18. $ref: /schemas/types.yaml#/definitions/uint32
  19. description:
  20. Offset in bytes to the LCD registers within the system controller
  21. required:
  22. - compatible
  23. oneOf:
  24. - required:
  25. - reg
  26. - required:
  27. - offset
  28. if:
  29. properties:
  30. compatible:
  31. contains:
  32. const: img,boston-lcd
  33. then:
  34. required:
  35. - reg
  36. else:
  37. required:
  38. - offset
  39. additionalProperties: false
  40. examples:
  41. - |
  42. lcd: lcd@17fff000 {
  43. compatible = "img,boston-lcd";
  44. reg = <0x17fff000 0x8>;
  45. };