brcm,nvram.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom's NVRAM
  7. description: |
  8. Broadcom's NVRAM is a structure containing device specific environment
  9. variables. It is used for storing device configuration, booting parameters
  10. and calibration data.
  11. NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9
  12. devices usiong I/O mapped memory.
  13. NVRAM variables can be defined as NVMEM device subnodes.
  14. maintainers:
  15. - Rafał Miłecki <rafal@milecki.pl>
  16. allOf:
  17. - $ref: nvmem.yaml#
  18. properties:
  19. compatible:
  20. const: brcm,nvram
  21. reg:
  22. maxItems: 1
  23. board_id:
  24. type: object
  25. description: Board identification name
  26. et0macaddr:
  27. type: object
  28. description: First Ethernet interface's MAC address
  29. properties:
  30. "#nvmem-cell-cells":
  31. description: The first argument is a MAC address offset.
  32. const: 1
  33. additionalProperties: false
  34. et1macaddr:
  35. type: object
  36. description: Second Ethernet interface's MAC address
  37. properties:
  38. "#nvmem-cell-cells":
  39. description: The first argument is a MAC address offset.
  40. const: 1
  41. additionalProperties: false
  42. et2macaddr:
  43. type: object
  44. description: Third Ethernet interface's MAC address
  45. properties:
  46. "#nvmem-cell-cells":
  47. description: The first argument is a MAC address offset.
  48. const: 1
  49. additionalProperties: false
  50. unevaluatedProperties: false
  51. examples:
  52. - |
  53. nvram@1eff0000 {
  54. compatible = "brcm,nvram";
  55. reg = <0x1eff0000 0x10000>;
  56. mac: et0macaddr {
  57. };
  58. };