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