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