[oe-commits] org.oe.dev linux-2.6.23: enable mpc8313e-rdb realtime clock (ds1339)
jeremy_laine commit
openembedded-commits at lists.openembedded.org
Thu Nov 29 20:10:04 UTC 2007
linux-2.6.23: enable mpc8313e-rdb realtime clock (ds1339)
Author: jeremy_laine at openembedded.org
Branch: org.openembedded.dev
Revision: 19bacabe62a70bf0818d663c4cd3bc168e5cf49e
ViewMTN: http://monotone.openembedded.org/revision/info/19bacabe62a70bf0818d663c4cd3bc168e5cf49e
Files:
1
packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-rtc.patch
packages/linux/linux_2.6.23.bb
Diffs:
#
# mt diff -rdd83c0ba4e83a6207462418b614431ce061d9481 -r19bacabe62a70bf0818d663c4cd3bc168e5cf49e
#
#
#
# add_file "packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-rtc.patch"
# content [953bccbd5cef5767c0a922ebc7eeae4691dbfb65]
#
# patch "packages/linux/linux_2.6.23.bb"
# from [24ff32f454e2986756b191f3d2024191467b032b]
# to [1ad744b33520a65188c10577d6ef70a69a3554aa]
#
============================================================
--- packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-rtc.patch 953bccbd5cef5767c0a922ebc7eeae4691dbfb65
+++ packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-rtc.patch 953bccbd5cef5767c0a922ebc7eeae4691dbfb65
@@ -0,0 +1,32 @@
+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 @@
+ interrupts = <e 8>;
+ interrupt-parent = < &ipic >;
+ dfsrr;
++
++ rtc at 68 {
++ device_type = "rtc";
++ compatible = "dallas,ds1339";
++ reg = <68>;
++ };
+ };
+
+ i2c at 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
+@@ -319,6 +319,12 @@
+ {"ricoh,rs5c372b", "rtc-rs5c372", "rs5c372b",},
+ {"ricoh,rv5c386", "rtc-rs5c372", "rv5c386",},
+ {"ricoh,rv5c387a", "rtc-rs5c372", "rv5c387a",},
++ {"dallas,ds1307", "rtc-ds1307", "ds1307",},
++ {"dallas,ds1337", "rtc-ds1307", "ds1337",},
++ {"dallas,ds1338", "rtc-ds1307", "ds1338",},
++ {"dallas,ds1339", "rtc-ds1307", "ds1339",},
++ {"dallas,ds1340", "rtc-ds1307", "ds1340",},
++ {"stm,m41t00", "rtc-ds1307", "m41t00"},
+ };
+
+ static int __init of_find_i2c_driver(struct device_node *node, struct i2c_board_info *info)
============================================================
--- packages/linux/linux_2.6.23.bb 24ff32f454e2986756b191f3d2024191467b032b
+++ packages/linux/linux_2.6.23.bb 1ad744b33520a65188c10577d6ef70a69a3554aa
@@ -25,7 +25,8 @@ SRC_URI_append_mpc8313e-rdb = "\
SRC_URI_append_mpc8313e-rdb = "\
file://mpc831x-nand.patch;patch=1 \
- file://mpc8313e-rdb-leds.patch;patch=1"
+ file://mpc8313e-rdb-leds.patch;patch=1 \
+ file://mpc8313e-rdb-rtc.patch;patch=1"
SRC_URI_append_mpc8323e-rdb = "\
file://mpc832x-leds.patch;patch=1"
More information about the Openembedded-commits
mailing list