Merge branch 'apw' (xfrm_user fixes)
[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          If there is no specific driver for <manufacturer>, a generic
20          driver based on <type> is selected. Possible types are:
21          "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
22          "24c128", "24c256", "24c512", "24c1024", "spd"
23
24   - reg : the I2C address of the EEPROM
25
26 Optional properties:
27
28   - pagesize : the length of the pagesize for writing. Please consult the
29                manual of your device, that value varies a lot. A wrong value
30                may result in data loss! If not specified, a safety value of
31                '1' is used which will be very slow.
32
33   - read-only: this parameterless property disables writes to the eeprom
34
35 Example:
36
37 eeprom@52 {
38         compatible = "atmel,24c32";
39         reg = <0x52>;
40         pagesize = <32>;
41 };