aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch')
-rw-r--r--recipes/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch b/recipes/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch
new file mode 100644
index 0000000000..0307094675
--- /dev/null
+++ b/recipes/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch
@@ -0,0 +1,24 @@
+diff -urN linux-2.6.24.orig/arch/powerpc/boot/dts/mpc8313erdb.dts linux-2.6.24/arch/powerpc/boot/dts/mpc8313erdb.dts
+--- linux-2.6.24.orig/arch/powerpc/boot/dts/mpc8313erdb.dts 2008-01-24 23:58:37.000000000 +0100
++++ linux-2.6.24/arch/powerpc/boot/dts/mpc8313erdb.dts 2008-02-08 08:09:07.000000000 +0100
+@@ -52,12 +52,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;
++
++ rtc@68 {
++ device_type = "rtc";
++ compatible = "dallas,ds1339";
++ reg = <68>;
++ };
+ };
+
+ i2c@3100 {