lkml.org 
[lkml]   [2022]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH 1/2] ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
Date
On 07.06.2022 12:04, Eugen Hristev wrote:
> 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: 1e5f532c27371 ("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>


> ---
> arch/arm/boot/dts/at91-sam9x60ek.dts | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts
> index 7719ea3d4933c..81ccb0636a009 100644
> --- a/arch/arm/boot/dts/at91-sam9x60ek.dts
> +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts
> @@ -233,10 +233,9 @@ i2c0: i2c@600 {
> status = "okay";
>
> eeprom@53 {
> - compatible = "atmel,24c32";
> + compatible = "atmel,24c02";
> reg = <0x53>;
> pagesize = <16>;
> - size = <128>;
> status = "okay";
> };
> };

\
 
 \ /
  Last update: 2022-06-08 10:07    [W:0.068 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site