blob: a0415b8471bb2709017f8e54c2da95b9ff1c4601 [file] [log] [blame]
Wolfram Sang9ed030d2010-11-17 13:00:48 +01001EEPROMs (I2C)
2
3Required properties:
4
Wolfram Sangf5e12d02016-01-07 21:50:59 +01005 - compatible : should be "<manufacturer>,<type>", like these:
6
7 "atmel,24c00", "atmel,24c01", "atmel,24c02", "atmel,24c04",
8 "atmel,24c08", "atmel,24c16", "atmel,24c32", "atmel,24c64",
9 "atmel,24c128", "atmel,24c256", "atmel,24c512", "atmel,24c1024"
10
11 "catalyst,24c32"
12
David Lechnerb514aea2017-01-13 13:03:41 -060013 "microchip,24c128"
14
Wolfram Sangf5e12d02016-01-07 21:50:59 +010015 "ramtron,24c64"
16
Wolfram Sanga570a272016-01-07 21:51:00 +010017 "renesas,r1ex24002"
18
Javier Martinez Canillas2f13f8c2017-06-15 20:54:03 +020019 The following manufacturers values have been deprecated:
20 "at", "at24"
21
Wolfram Sangf5e12d02016-01-07 21:50:59 +010022 If there is no specific driver for <manufacturer>, a generic
Javier Martinez Canillas2f13f8c2017-06-15 20:54:03 +020023 device with <type> and manufacturer "atmel" should be used.
24 Possible types are:
Wolfram Sangf5e12d02016-01-07 21:50:59 +010025 "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
26 "24c128", "24c256", "24c512", "24c1024", "spd"
Wolfram Sang9ed030d2010-11-17 13:00:48 +010027
28 - reg : the I2C address of the EEPROM
29
30Optional properties:
31
32 - pagesize : the length of the pagesize for writing. Please consult the
33 manual of your device, that value varies a lot. A wrong value
34 may result in data loss! If not specified, a safety value of
35 '1' is used which will be very slow.
36
37 - read-only: this parameterless property disables writes to the eeprom
38
Divagar Mohandassf2f5afd2017-10-10 11:30:35 +053039 - size: total eeprom size in bytes
40
Sven Van Asbroeck355dd4c2017-12-08 11:28:31 -050041 - no-read-rollover:
42 This parameterless property indicates that the multi-address
43 eeprom does not automatically roll over reads to the next
44 slave address. Please consult the manual of your device.
45
Wolfram Sang9ed030d2010-11-17 13:00:48 +010046Example:
47
48eeprom@52 {
49 compatible = "atmel,24c32";
50 reg = <0x52>;
51 pagesize = <32>;
52};