eeprom.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. EEPROMs (I2C)
  2. Required properties:
  3. - compatible : should be "<manufacturer>,<type>", like these:
  4. "atmel,24c00", "atmel,24c01", "atmel,24c02", "atmel,24c04",
  5. "atmel,24c08", "atmel,24c16", "atmel,24c32", "atmel,24c64",
  6. "atmel,24c128", "atmel,24c256", "atmel,24c512", "atmel,24c1024",
  7. "atmel,24c2048"
  8. "catalyst,24c32"
  9. "ramtron,24c64"
  10. "renesas,r1ex24002"
  11. If there is no specific driver for <manufacturer>, a generic
  12. driver based on <type> is selected. Possible types are:
  13. "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
  14. "24c128", "24c256", "24c512", "24c1024", "24c2048", "spd"
  15. - reg : the I2C address of the EEPROM
  16. Optional properties:
  17. - pagesize : the length of the pagesize for writing. Please consult the
  18. manual of your device, that value varies a lot. A wrong value
  19. may result in data loss! If not specified, a safety value of
  20. '1' is used which will be very slow.
  21. - read-only: this parameterless property disables writes to the eeprom
  22. Example:
  23. eeprom@52 {
  24. compatible = "atmel,24c32";
  25. reg = <0x52>;
  26. pagesize = <32>;
  27. };