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