microchip,sama7g5-otpc.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microchip SAMA7G5 OTP Controller (OTPC)
  7. maintainers:
  8. - Claudiu Beznea <claudiu.beznea@microchip.com>
  9. description: |
  10. OTP controller drives a NVMEM memory where system specific data
  11. (e.g. calibration data for analog cells, hardware configuration
  12. settings, chip identifiers) or user specific data could be stored.
  13. allOf:
  14. - $ref: nvmem.yaml#
  15. - $ref: nvmem-deprecated-cells.yaml#
  16. properties:
  17. compatible:
  18. items:
  19. - const: microchip,sama7g5-otpc
  20. - const: syscon
  21. reg:
  22. maxItems: 1
  23. required:
  24. - compatible
  25. - reg
  26. unevaluatedProperties: false
  27. examples:
  28. - |
  29. #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
  30. otpc: efuse@e8c00000 {
  31. compatible = "microchip,sama7g5-otpc", "syscon";
  32. reg = <0xe8c00000 0xec>;
  33. #address-cells = <1>;
  34. #size-cells = <1>;
  35. temperature_calib: calib@1 {
  36. reg = <OTP_PKT(1) 76>;
  37. };
  38. };
  39. ...