Wolfram Sang | 9ed030d | 2010-11-17 13:00:48 +0100 | [diff] [blame] | 1 | EEPROMs (I2C) |
| 2 | |
| 3 | Required properties: |
| 4 | |
Wolfram Sang | f5e12d0 | 2016-01-07 21:50:59 +0100 | [diff] [blame] | 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 | |
David Lechner | b514aea | 2017-01-13 13:03:41 -0600 | [diff] [blame] | 13 | "microchip,24c128" |
| 14 | |
Wolfram Sang | f5e12d0 | 2016-01-07 21:50:59 +0100 | [diff] [blame] | 15 | "ramtron,24c64" |
| 16 | |
Wolfram Sang | a570a27 | 2016-01-07 21:51:00 +0100 | [diff] [blame] | 17 | "renesas,r1ex24002" |
| 18 | |
Javier Martinez Canillas | 2f13f8c | 2017-06-15 20:54:03 +0200 | [diff] [blame] | 19 | The following manufacturers values have been deprecated: |
| 20 | "at", "at24" |
| 21 | |
Wolfram Sang | f5e12d0 | 2016-01-07 21:50:59 +0100 | [diff] [blame] | 22 | If there is no specific driver for <manufacturer>, a generic |
Javier Martinez Canillas | 2f13f8c | 2017-06-15 20:54:03 +0200 | [diff] [blame] | 23 | device with <type> and manufacturer "atmel" should be used. |
| 24 | Possible types are: |
Wolfram Sang | f5e12d0 | 2016-01-07 21:50:59 +0100 | [diff] [blame] | 25 | "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64", |
| 26 | "24c128", "24c256", "24c512", "24c1024", "spd" |
Wolfram Sang | 9ed030d | 2010-11-17 13:00:48 +0100 | [diff] [blame] | 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 | |
Divagar Mohandass | f2f5afd | 2017-10-10 11:30:35 +0530 | [diff] [blame] | 39 | - size: total eeprom size in bytes |
| 40 | |
Sven Van Asbroeck | 355dd4c | 2017-12-08 11:28:31 -0500 | [diff] [blame^] | 41 | - no-read-rollover: |
| 42 | This parameterless property indicates that the multi-address |
| 43 | eeprom does not automatically roll over reads to the next |
| 44 | slave address. Please consult the manual of your device. |
| 45 | |
Wolfram Sang | 9ed030d | 2010-11-17 13:00:48 +0100 | [diff] [blame] | 46 | Example: |
| 47 | |
| 48 | eeprom@52 { |
| 49 | compatible = "atmel,24c32"; |
| 50 | reg = <0x52>; |
| 51 | pagesize = <32>; |
| 52 | }; |