xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/lpc1857-eeprom.txt (revision 350b7c3570aa6c87c537e54f706f1866f93a4142)
1* NXP LPC18xx EEPROM memory NVMEM driver
2
3Required properties:
4  - compatible: Should be "nxp,lpc1857-eeprom"
5  - reg: Must contain an entry with the physical base address and length
6    for each entry in reg-names.
7  - reg-names: Must include the following entries.
8    - reg: EEPROM registers.
9    - mem: EEPROM address space.
10  - clocks: Must contain an entry for each entry in clock-names.
11  - clock-names: Must include the following entries.
12    - eeprom: EEPROM operating clock.
13  - resets: Should contain a reference to the reset controller asserting
14    the EEPROM in reset.
15  - interrupts: Should contain EEPROM interrupt.
16
17Example:
18
19  eeprom: eeprom@4000e000 {
20    compatible = "nxp,lpc1857-eeprom";
21    reg = <0x4000e000 0x1000>,
22          <0x20040000 0x4000>;
23    reg-names = "reg", "mem";
24    clocks = <&ccu1 CLK_CPU_EEPROM>;
25    clock-names = "eeprom";
26    resets = <&rgu 27>;
27    interrupts = <4>;
28  };
29