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