Merge tag 'for-linus-20171120' of git://git.infradead.org/linux-mtd
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / eeprom / eeprom.txt
1 EEPROMs (I2C)
2
3 Required properties:
4
5   - 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
13         "microchip,24c128"
14
15         "ramtron,24c64"
16
17         "renesas,r1ex24002"
18
19         The following manufacturers values have been deprecated:
20         "at", "at24"
21
22          If there is no specific driver for <manufacturer>, a generic
23          device with <type> and manufacturer "atmel" should be used.
24          Possible types are:
25          "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
26          "24c128", "24c256", "24c512", "24c1024", "spd"
27
28   - reg : the I2C address of the EEPROM
29
30 Optional 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
39   - size: total eeprom size in bytes
40
41 Example:
42
43 eeprom@52 {
44         compatible = "atmel,24c32";
45         reg = <0x52>;
46         pagesize = <32>;
47 };