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

Igor Grinberg grinberg at compulab.co.il
Mon Nov 30 06:23:46 PST 2015


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 <lifshitz at compulab.co.il>
> ---
>  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.



More information about the linux-arm-kernel mailing list