9
0
Fork 0

OWHW: Support AT24CM02 EEPROM

This commit is contained in:
Harald Welte 2015-11-01 23:19:08 +01:00 committed by Holger Hans Peter Freyther
parent b666be6998
commit 66c14d49d1
2 changed files with 3 additions and 2 deletions

View File

@ -243,8 +243,8 @@
&i2c0 {
eeprom_baseboard: 24cm02@50 {
status = "okay";
compatible = "atmel,24c1024";
pagesize = <8>;
compatible = "atmel,24cm02";
pagesize = <256>;
reg = <0x50>;
wp-gpios = <&gpio1 19 0>;
#address-cells = <1>;

View File

@ -116,6 +116,7 @@ static struct platform_device_id at24_ids[] = {
{ "24c512", AT24_DEVICE_MAGIC(524288 / 8, AT24_FLAG_ADDR16) },
{ "24c1024", AT24_DEVICE_MAGIC(1048576 / 8, AT24_FLAG_ADDR16) },
{ "24c1025", AT24_DEVICE_MAGIC(1048576 / 8, AT24_FLAG_ADDR16 | AT24_FLAG_BANK_BIT_2) },
{ "24cm02", AT24_DEVICE_MAGIC(2097152 / 8, AT24_FLAG_ADDR16) },
{ "at24", 0 },
{ /* END OF LIST */ }
};