Browse Source

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>
Wenyou Yang 7 years ago
parent
commit
7264066707
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/misc/i2c_eeprom.c

+ 1 - 0
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[] = {
 static const struct udevice_id i2c_eeprom_std_ids[] = {
 	{ .compatible = "i2c-eeprom", .data = 0 },
 	{ .compatible = "i2c-eeprom", .data = 0 },
+	{ .compatible = "microchip,24aa02e48", .data = 3 },
 	{ .compatible = "atmel,24c01a", .data = 3 },
 	{ .compatible = "atmel,24c01a", .data = 3 },
 	{ .compatible = "atmel,24c02", .data = 3 },
 	{ .compatible = "atmel,24c02", .data = 3 },
 	{ .compatible = "atmel,24c04", .data = 4 },
 	{ .compatible = "atmel,24c04", .data = 4 },