ARM: mx28evk: Add I2C EEPROM support
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 27 Aug 2012 19:39:59 +0000 (16:39 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 5 Sep 2012 01:17:15 +0000 (09:17 +0800)
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>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28-evk.dts

index ed92d61b891502e7b21fde700243a6503200a14c..a0ad71ca3a4402a40c39d5a2d2050208cf9d6089 100644 (file)
                                        VDDIO-supply = <&reg_3p3v>;
 
                                };
+
+                               at24@51 {
+                                       compatible = "at24,24c32";
+                                       pagesize = <32>;
+                                       reg = <0x51>;
+                               };
                        };
 
                        pwm: pwm@80064000 {