[PATCH] add i2c eeprom to dts for mpc 837x rdb

Reynes Philippe philippe.reynes at isismpp.fr
Wed Jan 28 21:07:44 EST 2009


This patch is based on galak powerpc tree (branch next). I've done it
again as previous one don't apply properly, and change space by tab.

Signed-off-by: Philippe Reynes <philippe.reynes at isismpp.fr>
---
diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts
b/arch/powerpc/boot/dts/mpc8377_rdb.dts
index 9413af3..a8276d4 100644
--- a/arch/powerpc/boot/dts/mpc8377_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts
@@ -116,6 +116,12 @@
 			interrupts = <14 0x8>;
 			interrupt-parent = <&ipic>;
 			dfsrr;
+
+			at24 at 50 {
+				compatible = "at24,24c256";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1339";
 				reg = <0x68>;
diff --git a/arch/powerpc/boot/dts/mpc8378_rdb.dts
b/arch/powerpc/boot/dts/mpc8378_rdb.dts
index 23c10ce..4ee2639 100644
--- a/arch/powerpc/boot/dts/mpc8378_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8378_rdb.dts
@@ -116,6 +116,12 @@
 			interrupts = <14 0x8>;
 			interrupt-parent = <&ipic>;
 			dfsrr;
+
+			at24 at 50 {
+				compatible = "at24,24c256";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1339";
 				reg = <0x68>;
diff --git a/arch/powerpc/boot/dts/mpc8379_rdb.dts
b/arch/powerpc/boot/dts/mpc8379_rdb.dts
index 72cdc3c..2c06d39 100644
--- a/arch/powerpc/boot/dts/mpc8379_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8379_rdb.dts
@@ -116,6 +116,12 @@
 			interrupts = <14 0x8>;
 			interrupt-parent = <&ipic>;
 			dfsrr;
+
+			at24 at 50 {
+				compatible = "at24,24c256";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1339";
 				reg = <0x68>;



More information about the Linuxppc-dev mailing list