solomon,ssd133x.yaml 848 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/solomon,ssd133x.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Solomon SSD133x OLED Display Controllers
  7. maintainers:
  8. - Javier Martinez Canillas <javierm@redhat.com>
  9. allOf:
  10. - $ref: solomon,ssd-common.yaml#
  11. properties:
  12. compatible:
  13. enum:
  14. - solomon,ssd1331
  15. solomon,width:
  16. default: 96
  17. solomon,height:
  18. default: 64
  19. required:
  20. - compatible
  21. - reg
  22. unevaluatedProperties: false
  23. examples:
  24. - |
  25. spi {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. oled@0 {
  29. compatible = "solomon,ssd1331";
  30. reg = <0x0>;
  31. reset-gpios = <&gpio2 7>;
  32. dc-gpios = <&gpio2 8>;
  33. spi-max-frequency = <10000000>;
  34. };
  35. };