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