Documentation / devicetree / bindings / nvmem / nxp,lpc1857-eeprom.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:04 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/nxp,lpc1857-eeprom.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP LPC18xx EEPROM memory

maintainers:
  - Frank Li <Frank.Li@nxp.com>

properties:
  compatible:
    const: nxp,lpc1857-eeprom

  reg:
    maxItems: 2

  reg-names:
    items:
      - const: reg
      - const: mem

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: eeprom

  interrupts:
    maxItems: 1

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - reg-names
  - clocks
  - clock-names
  - interrupts
  - resets

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/lpc18xx-ccu.h>
 
    eeprom@4000e000 {
        compatible = "nxp,lpc1857-eeprom";
        reg = <0x4000e000 0x1000>,
              <0x20040000 0x4000>;
        reg-names = "reg", "mem";
        clocks = <&ccu1 CLK_CPU_EEPROM>;
        clock-names = "eeprom";
        resets = <&rgu 27>;
        interrupts = <4>;
    };