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/boot/dts/mpc8568mds.dts | |
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/boot/dts/mpc8568mds.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8568mds.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts index c472a4b488e9..76d23ee643d0 100644 --- a/arch/powerpc/boot/dts/mpc8568mds.dts +++ b/arch/powerpc/boot/dts/mpc8568mds.dts | |||
@@ -72,15 +72,24 @@ | |||
72 | }; | 72 | }; |
73 | 73 | ||
74 | i2c@3000 { | 74 | i2c@3000 { |
75 | #address-cells = <1>; | ||
76 | #size-cells = <0>; | ||
75 | device_type = "i2c"; | 77 | device_type = "i2c"; |
76 | compatible = "fsl-i2c"; | 78 | compatible = "fsl-i2c"; |
77 | reg = <3000 100>; | 79 | reg = <3000 100>; |
78 | interrupts = <2b 2>; | 80 | interrupts = <2b 2>; |
79 | interrupt-parent = <&mpic>; | 81 | interrupt-parent = <&mpic>; |
80 | dfsrr; | 82 | dfsrr; |
83 | |||
84 | rtc@68 { | ||
85 | compatible = "dallas,ds1374"; | ||
86 | reg = <68>; | ||
87 | }; | ||
81 | }; | 88 | }; |
82 | 89 | ||
83 | i2c@3100 { | 90 | i2c@3100 { |
91 | #address-cells = <1>; | ||
92 | #size-cells = <0>; | ||
84 | device_type = "i2c"; | 93 | device_type = "i2c"; |
85 | compatible = "fsl-i2c"; | 94 | compatible = "fsl-i2c"; |
86 | reg = <3100 100>; | 95 | reg = <3100 100>; |