xylon,logicvc.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. # Copyright 2019 Bootlin
  3. %YAML 1.2
  4. ---
  5. $id: http://devicetree.org/schemas/mfd/xylon,logicvc.yaml#
  6. $schema: http://devicetree.org/meta-schemas/core.yaml#
  7. title: Xylon LogiCVC multi-function device
  8. maintainers:
  9. - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
  10. description: |
  11. The LogiCVC is a display controller that also contains a GPIO controller.
  12. As a result, a multi-function device is exposed as parent of the display
  13. and GPIO blocks.
  14. properties:
  15. compatible:
  16. items:
  17. - enum:
  18. - xylon,logicvc-3.02.a
  19. - const: syscon
  20. - const: simple-mfd
  21. reg:
  22. maxItems: 1
  23. '#address-cells':
  24. const: 1
  25. '#size-cells':
  26. const: 1
  27. select:
  28. properties:
  29. compatible:
  30. contains:
  31. enum:
  32. - xylon,logicvc-3.02.a
  33. required:
  34. - compatible
  35. patternProperties:
  36. "^gpio@[0-9a-f]+$":
  37. $ref: /schemas/gpio/xylon,logicvc-gpio.yaml#
  38. "^display@[0-9a-f]+$":
  39. $ref: /schemas/display/xylon,logicvc-display.yaml#
  40. required:
  41. - compatible
  42. - reg
  43. additionalProperties: false
  44. examples:
  45. - |
  46. logicvc: logicvc@43c00000 {
  47. compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
  48. reg = <0x43c00000 0x6000>;
  49. };