Skip to content

Commit

Permalink
ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
Browse files Browse the repository at this point in the history
[ Upstream commit f2cbbc3 ]

The board has a microchip 24aa025e48 eeprom, which is a 2 Kbits memory,
so it's compatible with at24c02 not at24c32.
Also the size property is wrong, it's not 128 bytes, but 256 bytes.
Thus removing and leaving it to the default (256).

Fixes: 1e5f532 ("ARM: dts: at91: sam9x60: add device tree for soc and board")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220607090455.80433-1-eugen.hristev@microchip.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
ehristev authored and gregkh committed Jul 12, 2022
1 parent ade03e5 commit 9b7d8e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/at91-sam9x60ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,9 @@
status = "okay";

eeprom@53 {
compatible = "atmel,24c32";
compatible = "atmel,24c02";
reg = <0x53>;
pagesize = <16>;
size = <128>;
status = "okay";
};
};
Expand Down

0 comments on commit 9b7d8e2

Please sign in to comment.