Subject: [PATCH 04/18] ARM: am57xx: cl-som-am57x: dts: add EEPROM support

From: [email-masked] (Igor Grinberg)
Date: Mon, 30 Nov 2015 16:23:46 +0200

Hi Dima,

On 11/25/15 08:39, Dmitry Lifshitz wrote:
> On-board EEPROM chip is used for storing a board production
> info.
> 
> Add module EEPROM support (over I2C4 bus).
> 
> Signed-off-by: Dmitry Lifshitz <[email-masked]>
> ---
>  arch/arm/boot/dts/am57xx-cl-som-am57x.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
> index eb9b81b..b6919a7 100644
> --- a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
> +++ b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
> @@ -289,6 +289,12 @@
>  		compatible = "emmicro,em3027";
>  		reg = <0x56>;
>  	};
> +
> +	eeprom_module: atmel at 50 {
> +		compatible = "atmel,24c02";

If I'm not mistaken, the eeprom should be 24c08, no?

> +		reg = <0x50>;
> +		pagesize = <16>;
> +	};
>  };

-- 
Regards,
Igor.