public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eugen Hristev <eugen.hristev@microchip.com>
To: <hs@denx.de>, <michael@walle.cc>, <rasmus.villemoes@prevas.dk>,
	<u-boot@lists.denx.de>
Cc: <claudiu.beznea@microchip.com>,
	Eugen Hristev <eugen.hristev@microchip.com>,
	Sergiu Moga <sergiu.moga@microchip.com>
Subject: [PATCH 3/3] ARM: dts: at91: sam9x60ek: fix eeprom compatible
Date: Thu, 26 May 2022 17:04:56 +0300	[thread overview]
Message-ID: <20220526140456.53776-3-eugen.hristev@microchip.com> (raw)
In-Reply-To: <20220526140456.53776-1-eugen.hristev@microchip.com>

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@microchip.com>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Tested-by: Sergiu Moga <sergiu.moga@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@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


  parent reply	other threads:[~2022-05-26 14:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 14:04 [PATCH 1/3] ARM: dts: at91: replace microchip, 24aa02e48 with atmel, at24c02 Eugen Hristev
2022-05-26 14:04 ` [PATCH 2/3] misc: i2c_eeprom: remove 24aa02e48 Eugen Hristev
2022-05-26 14:11   ` Michael Walle
2022-05-31  4:44   ` Heiko Schocher
2022-05-26 14:04 ` Eugen Hristev [this message]
2022-05-31  4:45   ` [PATCH 3/3] ARM: dts: at91: sam9x60ek: fix eeprom compatible Heiko Schocher
2022-05-26 14:11 ` [PATCH 1/3] ARM: dts: at91: replace microchip,24aa02e48 with atmel,at24c02 Michael Walle
2022-05-26 14:18   ` Eugen.Hristev
2022-05-31  4:43     ` Heiko Schocher
2022-06-22 13:02       ` Eugen.Hristev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220526140456.53776-3-eugen.hristev@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=hs@denx.de \
    --cc=michael@walle.cc \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=sergiu.moga@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox