fsl,scu-ocotp.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: i.MX SCU Client Device Node - OCOTP Based on SCU Message Protocol
  7. maintainers:
  8. - Dong Aisheng <aisheng.dong@nxp.com>
  9. description: i.MX SCU Client Device Node
  10. Client nodes are maintained as children of the relevant IMX-SCU device node.
  11. allOf:
  12. - $ref: nvmem.yaml#
  13. properties:
  14. compatible:
  15. enum:
  16. - fsl,imx8qm-scu-ocotp
  17. - fsl,imx8qxp-scu-ocotp
  18. patternProperties:
  19. '^mac@[0-9a-f]*$':
  20. type: object
  21. description:
  22. MAC address.
  23. properties:
  24. reg:
  25. description:
  26. Byte offset within OCOTP where the MAC address is stored
  27. maxItems: 1
  28. required:
  29. - reg
  30. additionalProperties: false
  31. required:
  32. - compatible
  33. unevaluatedProperties: false
  34. examples:
  35. - |
  36. ocotp {
  37. compatible = "fsl,imx8qxp-scu-ocotp";
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. fec_mac0: mac@2c4 {
  41. reg = <0x2c4 6>;
  42. };
  43. };