Patchwork powerpc/83xx: add DS1374 RTC support for the MPC837xE-MDS boards

login
register
mail settings
Submitter Anton Vorontsov
Date Oct. 8, 2008, 6:16 p.m.
Message ID <20081008181605.GA15034@oksana.dev.rtsoft.ru>
Download mbox | patch
Permalink /patch/3334/
State Accepted, archived
Commit 8b77aeb4f52fca39e647159d87da3566f64ce30a
Delegated to: Kumar Gala
Headers show

Comments

Anton Vorontsov - Oct. 8, 2008, 6:16 p.m.
The RTC is sitting on the I2C1 bus at address 0x68. RTC interrupt signal
is connected to the IPIC's EXT3 interrupt line.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 arch/powerpc/boot/dts/mpc8377_mds.dts |    7 +++++++
 arch/powerpc/boot/dts/mpc8378_mds.dts |    7 +++++++
 arch/powerpc/boot/dts/mpc8379_mds.dts |    7 +++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
Kumar Gala - Oct. 10, 2008, 2:18 p.m.
On Oct 8, 2008, at 1:16 PM, Anton Vorontsov wrote:

> The RTC is sitting on the I2C1 bus at address 0x68. RTC interrupt  
> signal
> is connected to the IPIC's EXT3 interrupt line.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> arch/powerpc/boot/dts/mpc8377_mds.dts |    7 +++++++
> arch/powerpc/boot/dts/mpc8378_mds.dts |    7 +++++++
> arch/powerpc/boot/dts/mpc8379_mds.dts |    7 +++++++
> 3 files changed, 21 insertions(+), 0 deletions(-)

applied.

- k

Patch

diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/boot/dts/mpc8377_mds.dts
index 432782b..6ec8b86 100644
--- a/arch/powerpc/boot/dts/mpc8377_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8377_mds.dts
@@ -136,6 +136,13 @@ 
 			interrupts = <14 0x8>;
 			interrupt-parent = <&ipic>;
 			dfsrr;
+
+			rtc@68 {
+				compatible = "dallas,ds1374";
+				reg = <0x68>;
+				interrupts = <19 0x8>;
+				interrupt-parent = <&ipic>;
+			};
 		};
 
 		i2c@3100 {
diff --git a/arch/powerpc/boot/dts/mpc8378_mds.dts b/arch/powerpc/boot/dts/mpc8378_mds.dts
index ed32c8d..c87340d 100644
--- a/arch/powerpc/boot/dts/mpc8378_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8378_mds.dts
@@ -136,6 +136,13 @@ 
 			interrupts = <14 0x8>;
 			interrupt-parent = <&ipic>;
 			dfsrr;
+
+			rtc@68 {
+				compatible = "dallas,ds1374";
+				reg = <0x68>;
+				interrupts = <19 0x8>;
+				interrupt-parent = <&ipic>;
+			};
 		};
 
 		i2c@3100 {
diff --git a/arch/powerpc/boot/dts/mpc8379_mds.dts b/arch/powerpc/boot/dts/mpc8379_mds.dts
index f4db9ed..22cd183 100644
--- a/arch/powerpc/boot/dts/mpc8379_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8379_mds.dts
@@ -136,6 +136,13 @@ 
 			interrupts = <14 0x8>;
 			interrupt-parent = <&ipic>;
 			dfsrr;
+
+			rtc@68 {
+				compatible = "dallas,ds1374";
+				reg = <0x68>;
+				interrupts = <19 0x8>;
+				interrupt-parent = <&ipic>;
+			};
 		};
 
 		i2c@3100 {