summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-02-14 08:41:41 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-02-14 08:41:41 +0000
commit930c99332ebdc3e41fedd5f5b72b556c3c1c6157 (patch)
treea0f5df7ec1c55ba087bb5a61f3353ac95d54ff22 /packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch
parentec79a06bd56046ad03a95319bf31669eff4fc130 (diff)
linux-2.6.24: add mpc8313e-rdb patches for LEDs and real-time clock
Diffstat (limited to 'packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch')
-rw-r--r--packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch b/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-rtc.patch
new file mode 100644
index 0000000000..0307094675
--- /dev/null
+++ b/packages/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 {