aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@microchip.com>2017-07-31 11:25:30 +0800
committerTom Rini <trini@konsulko.com>2017-09-12 17:58:53 -0400
commit726406670741b5556e23207aeda95a1107abba2a (patch)
tree3077257e301532a1a3d17e80ccac11dea9ba8b17 /drivers
parent82f1205601da996d170f9e3a87f210e174fc0eba (diff)
downloadu-boot-726406670741b5556e23207aeda95a1107abba2a.zip
u-boot-726406670741b5556e23207aeda95a1107abba2a.tar.gz
u-boot-726406670741b5556e23207aeda95a1107abba2a.tar.bz2
misc: i2c_eeprom: Add compatible for 24AA02E48
Add the new compatible "microchip,24aa02e48" to accommodate 24AA02E48, the 24AA02E48 is a 2K I2C Serial EEPROM with pre-programmed globally unique, 48-bit node address, and 8-byte page size. Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/i2c_eeprom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c
index a14e832..b2de3df 100644
--- a/drivers/misc/i2c_eeprom.c
+++ b/drivers/misc/i2c_eeprom.c
@@ -66,6 +66,7 @@ static int i2c_eeprom_std_probe(struct udevice *dev)
static const struct udevice_id i2c_eeprom_std_ids[] = {
{ .compatible = "i2c-eeprom", .data = 0 },
+ { .compatible = "microchip,24aa02e48", .data = 3 },
{ .compatible = "atmel,24c01a", .data = 3 },
{ .compatible = "atmel,24c02", .data = 3 },
{ .compatible = "atmel,24c04", .data = 4 },