diff mbox

ARM: mx28evk: Add I2C EEPROM support

Message ID 1346096399-10114-1-git-send-email-fabio.estevam@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabio Estevam Aug. 27, 2012, 7:39 p.m. UTC
mx28evk has a free slot U50 that can be used to populate an I2C EEPROM.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx28-evk.dts |    6 ++++++
 1 file changed, 6 insertions(+)

Comments

Fabio Estevam Sept. 4, 2012, 11:25 a.m. UTC | #1
Hi Shawn

On Mon, Aug 27, 2012 at 4:39 PM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> mx28evk has a free slot U50 that can be used to populate an I2C EEPROM.
>
> Add support for it.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Is this patch OK?

Thanks,

Fabio Estevam
Shawn Guo Sept. 5, 2012, 1:18 a.m. UTC | #2
On Mon, Aug 27, 2012 at 04:39:59PM -0300, Fabio Estevam wrote:
> mx28evk has a free slot U50 that can be used to populate an I2C EEPROM.
> 
> Add support for it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts
index ed92d61..a0ad71c 100644
--- a/arch/arm/boot/dts/imx28-evk.dts
+++ b/arch/arm/boot/dts/imx28-evk.dts
@@ -161,6 +161,12 @@ 
 					VDDIO-supply = <&reg_3p3v>;
 
 				};
+
+				at24@51 {
+					compatible = "at24,24c32";
+					pagesize = <32>;
+					reg = <0x51>;
+				};
 			};
 
 			pwm: pwm@80064000 {