powerpc/83xx: add DS1374 RTC support for the MPC837xE-MDS boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 8 Oct 2008 18:16:05 +0000 (22:16 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 13 Oct 2008 16:09:59 +0000 (11:09 -0500)
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>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8377_mds.dts
arch/powerpc/boot/dts/mpc8378_mds.dts
arch/powerpc/boot/dts/mpc8379_mds.dts

index 87314c78b47bbd5b33516779c26c20fec718b45e..0484561bd2c022aab258f40a2ea523144c663339 100644 (file)
                        interrupts = <14 0x8>;
                        interrupt-parent = <&ipic>;
                        dfsrr;
+
+                       rtc@68 {
+                               compatible = "dallas,ds1374";
+                               reg = <0x68>;
+                               interrupts = <19 0x8>;
+                               interrupt-parent = <&ipic>;
+                       };
                };
 
                i2c@3100 {
index 02941919598fac2516049e26c6206767b2582316..67a08d2e2ff254fff684ecfc550cd73e680f0318 100644 (file)
                        interrupts = <14 0x8>;
                        interrupt-parent = <&ipic>;
                        dfsrr;
+
+                       rtc@68 {
+                               compatible = "dallas,ds1374";
+                               reg = <0x68>;
+                               interrupts = <19 0x8>;
+                               interrupt-parent = <&ipic>;
+                       };
                };
 
                i2c@3100 {
index 13a231144dcc62cf9fd0a9defd5cbdbb5e42be4a..323370a2b5ff6fa38266e593b66110f8230fc33c 100644 (file)
                        interrupts = <14 0x8>;
                        interrupt-parent = <&ipic>;
                        dfsrr;
+
+                       rtc@68 {
+                               compatible = "dallas,ds1374";
+                               reg = <0x68>;
+                               interrupts = <19 0x8>;
+                               interrupt-parent = <&ipic>;
+                       };
                };
 
                i2c@3100 {