Patchwork powerpc/85xx: Add support for I2C EEPROMs on MPC8548CDS boards

login
register
mail settings
Submitter Anton Vorontsov
Date July 9, 2009, 6:36 p.m.
Message ID <20090709183644.GA1614@oksana.dev.rtsoft.ru>
Download mbox | patch
Permalink /patch/29639/
State Accepted
Commit c69328d4b93e6885c897155fbacac69a12c5faef
Delegated to: Kumar Gala
Headers show

Comments

Anton Vorontsov - July 9, 2009, 6:36 p.m.
This patch simply adds four eeprom nodes to MPC8548CDS' device tree.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 arch/powerpc/boot/dts/mpc8548cds.dts |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
Kumar Gala - Aug. 7, 2009, 2:44 a.m.
On Jul 9, 2009, at 1:36 PM, Anton Vorontsov wrote:

> This patch simply adds four eeprom nodes to MPC8548CDS' device tree.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> arch/powerpc/boot/dts/mpc8548cds.dts |   20 ++++++++++++++++++++
> 1 files changed, 20 insertions(+), 0 deletions(-)
>


applied to next.

- k

Patch

diff --git a/arch/powerpc/boot/dts/mpc8548cds.dts b/arch/powerpc/boot/dts/mpc8548cds.dts
index 475be14..4173af3 100644
--- a/arch/powerpc/boot/dts/mpc8548cds.dts
+++ b/arch/powerpc/boot/dts/mpc8548cds.dts
@@ -100,6 +100,21 @@ 
 			interrupts = <43 2>;
 			interrupt-parent = <&mpic>;
 			dfsrr;
+
+			eeprom@50 {
+				compatible = "atmel,24c64";
+				reg = <0x50>;
+			};
+
+			eeprom@56 {
+				compatible = "atmel,24c64";
+				reg = <0x56>;
+			};
+
+			eeprom@57 {
+				compatible = "atmel,24c64";
+				reg = <0x57>;
+			};
 		};
 
 		i2c@3100 {
@@ -111,6 +126,11 @@ 
 			interrupts = <43 2>;
 			interrupt-parent = <&mpic>;
 			dfsrr;
+
+			eeprom@50 {
+				compatible = "atmel,24c64";
+				reg = <0x50>;
+			};
 		};
 
 		dma@21300 {