nxp,lpc1857-eeprom.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/nvmem/nxp,lpc1857-eeprom.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: NXP LPC18xx EEPROM memory
  7. maintainers:
  8. - Frank Li <Frank.Li@nxp.com>
  9. properties:
  10. compatible:
  11. const: nxp,lpc1857-eeprom
  12. reg:
  13. maxItems: 2
  14. reg-names:
  15. items:
  16. - const: reg
  17. - const: mem
  18. clocks:
  19. maxItems: 1
  20. clock-names:
  21. items:
  22. - const: eeprom
  23. interrupts:
  24. maxItems: 1
  25. resets:
  26. maxItems: 1
  27. required:
  28. - compatible
  29. - reg
  30. - reg-names
  31. - clocks
  32. - clock-names
  33. - interrupts
  34. - resets
  35. additionalProperties: false
  36. examples:
  37. - |
  38. #include <dt-bindings/clock/lpc18xx-ccu.h>
  39. eeprom@4000e000 {
  40. compatible = "nxp,lpc1857-eeprom";
  41. reg = <0x4000e000 0x1000>,
  42. <0x20040000 0x4000>;
  43. reg-names = "reg", "mem";
  44. clocks = <&ccu1 CLK_CPU_EEPROM>;
  45. clock-names = "eeprom";
  46. resets = <&rgu 27>;
  47. interrupts = <4>;
  48. };