Message ID | 1448433590-1399-5-git-send-email-lifshitz@compulab.co.il (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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@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@50 { > + compatible = "atmel,24c02"; If I'm not mistaken, the eeprom should be 24c08, no? > + reg = <0x50>; > + pagesize = <16>; > + }; > }; > > >
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@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + pagesize = <16>; + }; };
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@compulab.co.il> --- arch/arm/boot/dts/am57xx-cl-som-am57x.dts | 6 ++++++ 1 file changed, 6 insertions(+)