eeprom.txt 801 B

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