[PATCH 3/3] ARM: dts: at91: sam9x60ek: fix eeprom compatible

Eugen Hristev eugen.hristev at microchip.com
Thu May 26 16:04:56 CEST 2022


The memory on this board is microchip 24aa025e48 which is compatible with
at24c02 with a page size of 16.
Fix the compatible accordingly.

Reported-by: Sergiu Moga <sergiu.moga at microchip.com>
Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
Tested-by: Sergiu Moga <sergiu.moga at microchip.com>
---
Hi,

I will also send a patch to Linux to fix this

Eugen

 arch/arm/dts/sam9x60ek.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts
index 4258e8e1ab..54c694bd78 100644
--- a/arch/arm/dts/sam9x60ek.dts
+++ b/arch/arm/dts/sam9x60ek.dts
@@ -72,7 +72,7 @@
 					status = "okay";
 
 					eeprom at 53 {
-						compatible = "atmel,24c32";
+						compatible = "atmel,24c02"; /* EEPROM is 2Kbits microchip 24aa025e48, an at24c02 with page size of 16 */
 						reg = <0x53>;
 						pagesize = <16>;
 					};
-- 
2.25.1



More information about the U-Boot mailing list