GNU Linux-libre 4.14.266-gnu1
[releases.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         "atmel,24c2048"
11
12         "catalyst,24c32"
13
14         "microchip,24c128"
15
16         "ramtron,24c64"
17
18         "renesas,r1ex24002"
19
20         The following manufacturers values have been deprecated:
21         "at", "at24"
22
23          If there is no specific driver for <manufacturer>, a generic
24          device with <type> and manufacturer "atmel" should be used.
25          Possible types are:
26          "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
27          "24c128", "24c256", "24c512", "24c1024", "24c2048", "spd"
28
29   - reg : the I2C address of the EEPROM
30
31 Optional properties:
32
33   - pagesize : the length of the pagesize for writing. Please consult the
34                manual of your device, that value varies a lot. A wrong value
35                may result in data loss! If not specified, a safety value of
36                '1' is used which will be very slow.
37
38   - read-only: this parameterless property disables writes to the eeprom
39
40 Example:
41
42 eeprom@52 {
43         compatible = "atmel,24c32";
44         reg = <0x52>;
45         pagesize = <32>;
46 };