microchip,lan9662-otpc.yaml 925 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microchip LAN9662 OTP Controller (OTPC)
  7. maintainers:
  8. - Horatiu Vultur <horatiu.vultur@microchip.com>
  9. description: |
  10. OTP controller drives a NVMEM memory where system specific data
  11. (e.g. hardware configuration settings, chip identifiers) or
  12. user specific data could be stored.
  13. allOf:
  14. - $ref: nvmem.yaml#
  15. properties:
  16. compatible:
  17. oneOf:
  18. - items:
  19. - const: microchip,lan9668-otpc
  20. - const: microchip,lan9662-otpc
  21. - enum:
  22. - microchip,lan9662-otpc
  23. reg:
  24. maxItems: 1
  25. required:
  26. - compatible
  27. - reg
  28. unevaluatedProperties: false
  29. examples:
  30. - |
  31. otpc: otp@e0021000 {
  32. compatible = "microchip,lan9662-otpc";
  33. reg = <0xe0021000 0x300>;
  34. };
  35. ...