Message ID | 1411157684-6991-8-git-send-email-sebastian.hesselbarth@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/19/2014 10:14 PM, Sebastian Hesselbarth wrote: > There is an I2C eeprom connected on Lenovo ix4-300d, add the > corresponding node. > > Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> > --- ... > --- > arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts > index c5ee6c00766c..cef50da88e45 100644 > --- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts > +++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts > @@ -98,6 +98,11 @@ > reg = <0x2e>; > }; > > + at24c64@50 { nit: the node name should describe function, not its type. @Jason, when you take this in, feel free to name the node eeprom@50 instead. Sebastian > + compatible = "atmel,24c64"; > + reg = <0x50>; > + }; > + > pcf8563@51 { > compatible = "nxp,pcf8563"; > reg = <0x51>; >
diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts index c5ee6c00766c..cef50da88e45 100644 --- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts @@ -98,6 +98,11 @@ reg = <0x2e>; }; + at24c64@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + pcf8563@51 { compatible = "nxp,pcf8563"; reg = <0x51>;
There is an I2C eeprom connected on Lenovo ix4-300d, add the corresponding node. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> --- IIRC, the eeprom contains some register init pairs (address, data) for and is empty otherwise. I'll have to check the boot loader code again, but (again) IIRC, stock u-boot already does the sequence in code and ignores the eeprom. Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Gregory Clement <gregory.clement@free-electrons.com> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Benoit Masson <yahoo@perenite.com> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 5 +++++ 1 file changed, 5 insertions(+)