mxs-ocotp.yaml 924 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: On-Chip OTP Memory for Freescale i.MX23/i.MX28
  7. maintainers:
  8. - Shawn Guo <shawnguo@kernel.org>
  9. - Sascha Hauer <s.hauer@pengutronix.de>
  10. - Fabio Estevam <festevam@gmail.com>
  11. allOf:
  12. - $ref: nvmem.yaml#
  13. - $ref: nvmem-deprecated-cells.yaml#
  14. properties:
  15. compatible:
  16. items:
  17. - enum:
  18. - fsl,imx23-ocotp
  19. - fsl,imx28-ocotp
  20. - const: fsl,ocotp
  21. reg:
  22. maxItems: 1
  23. clocks:
  24. maxItems: 1
  25. required:
  26. - compatible
  27. - reg
  28. - clocks
  29. unevaluatedProperties: false
  30. examples:
  31. - |
  32. ocotp: efuse@8002c000 {
  33. compatible = "fsl,imx28-ocotp", "fsl,ocotp";
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. reg = <0x8002c000 0x2000>;
  37. clocks = <&clks 25>;
  38. };
  39. ...