linux-2.6.23: fix mpc8313e-rdb realtime clock patch for use with dtc-native 1.0.0
authorJeremy Laine <jeremy.laine@m4x.org>
Sat, 1 Dec 2007 12:24:36 +0000 (12:24 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Sat, 1 Dec 2007 12:24:36 +0000 (12:24 +0000)
packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-rtc.patch

index 7c6cbca..4177a3d 100644 (file)
@@ -1,7 +1,15 @@
 diff -urN linux-2.6.23.orig/arch/powerpc/boot/dts/mpc8313erdb.dts linux-2.6.23/arch/powerpc/boot/dts/mpc8313erdb.dts
 --- linux-2.6.23.orig/arch/powerpc/boot/dts/mpc8313erdb.dts    2007-10-09 22:31:38.000000000 +0200
-+++ linux-2.6.23/arch/powerpc/boot/dts/mpc8313erdb.dts 2007-11-29 19:32:21.000000000 +0100
-@@ -60,6 +60,12 @@
++++ linux-2.6.23/arch/powerpc/boot/dts/mpc8313erdb.dts 2007-12-01 13:16:55.000000000 +0100
+@@ -54,12 +54,20 @@
+               };
+               i2c@3000 {
++                      #address-cells = <1>;
++                      #size-cells = <0>;
+                       device_type = "i2c";
+                       compatible = "fsl-i2c";
+                       reg = <3000 100>;
                        interrupts = <e 8>;
                        interrupt-parent = < &ipic >;
                        dfsrr;
@@ -16,7 +24,7 @@ diff -urN linux-2.6.23.orig/arch/powerpc/boot/dts/mpc8313erdb.dts linux-2.6.23/a
                i2c@3100 {
 diff -urN linux-2.6.23.orig/arch/powerpc/sysdev/fsl_soc.c linux-2.6.23/arch/powerpc/sysdev/fsl_soc.c
 --- linux-2.6.23.orig/arch/powerpc/sysdev/fsl_soc.c    2007-10-09 22:31:38.000000000 +0200
-+++ linux-2.6.23/arch/powerpc/sysdev/fsl_soc.c 2007-11-29 19:31:58.000000000 +0100
++++ linux-2.6.23/arch/powerpc/sysdev/fsl_soc.c 2007-12-01 13:08:30.000000000 +0100
 @@ -319,6 +319,12 @@
        {"ricoh,rs5c372b", "rtc-rs5c372", "rs5c372b",},
        {"ricoh,rv5c386",  "rtc-rs5c372", "rv5c386",},