Merge tag 'powerpc-4.6-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / eeprom / eeprom.txt
blob735bc94444bbd7eaf921ea12c12ea4dcad6d63c3
1 EEPROMs (I2C)
3 Required properties:
5   - compatible : should be "<manufacturer>,<type>", like these:
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"
11         "catalyst,24c32"
13         "ramtron,24c64"
15         "renesas,r1ex24002"
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"
22   - reg : the I2C address of the EEPROM
24 Optional properties:
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.
31   - read-only: this parameterless property disables writes to the eeprom
33 Example:
35 eeprom@52 {
36         compatible = "atmel,24c32";
37         reg = <0x52>;
38         pagesize = <32>;