diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2007-10-02 09:47:43 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 16:47:25 -0400 |
commit | c0e4eb2d8a8a094db5295a42d84aef08dea8aea4 (patch) | |
tree | ca56a5f8a63815812fc85a7f6669020361f01b5a /arch/powerpc/sysdev/fsl_soc.c | |
parent | da1bb3a0e1f7f9cabe70fb2c41b47fa57c42fdfd (diff) |
[POWERPC] MPC8568E-MDS: add support for ds1374 rtc
MPC8568E-MDS have DS1374 chip on the I2C bus, thus let's use it.
This patch also adds #address-cells and #size-cells to the I2C
controllers nodes.
p.s. DS1374 rtc class driver is in the -mm tree, its name is
rtc-rtc-class-driver-for-the-ds1374.patch.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 91987e000d25..c765d7a5217b 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c | |||
@@ -337,6 +337,7 @@ static struct i2c_driver_device i2c_devices[] __initdata = { | |||
337 | {"dallas,ds1339", "rtc-ds1307", "ds1339",}, | 337 | {"dallas,ds1339", "rtc-ds1307", "ds1339",}, |
338 | {"dallas,ds1340", "rtc-ds1307", "ds1340",}, | 338 | {"dallas,ds1340", "rtc-ds1307", "ds1340",}, |
339 | {"stm,m41t00", "rtc-ds1307", "m41t00"}, | 339 | {"stm,m41t00", "rtc-ds1307", "m41t00"}, |
340 | {"dallas,ds1374", "rtc-ds1374", "rtc-ds1374",}, | ||
340 | }; | 341 | }; |
341 | 342 | ||
342 | static int __init of_find_i2c_driver(struct device_node *node, | 343 | static int __init of_find_i2c_driver(struct device_node *node, |