ARM: davinci: da850: add RTC DT entries
authorMrugesh Katepallewar <mrugesh.mk@ti.com>
Mon, 28 Jan 2013 07:47:48 +0000 (13:17 +0530)
committerSekhar Nori <nsekhar@ti.com>
Mon, 28 Jan 2013 15:58:11 +0000 (21:28 +0530)
Add RTC DT entries in da850 dts file.

Tested on da850-evm device.
Test Procedure:
$ date 2013.01.28-10:00:00 # usage: date[YYYY.]MM.DD-hh:mm[:ss]
$ hwclock -w
(reset board and check system time)

Signed-off-by: Mrugesh Katepallewar <mrugesh.mk@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-evm.dts
arch/arm/boot/dts/da850.dtsi

index 98c1a48d57976e28b97a4a1747129cbebf03e3ab..fa04152b24bfca219d48c10ad0e1137ba37cea21 100644 (file)
@@ -27,6 +27,9 @@
                serial2: serial@1d0d000 {
                        status = "okay";
                };
+               rtc0: rtc@1c23000 {
+                       status = "okay";
+               };
        };
        nand_cs3@62000000 {
                status = "okay";
index 7c84822d33a102a76824fd2a8b9e96b749a7e7b7..8dd15c0426a871c0a53f79db1b80fbcd0c0fda3e 100644 (file)
                        interrupts = <61>;
                        status = "disabled";
                };
+               rtc0: rtc@1c23000 {
+                       compatible = "ti,da830-rtc";
+                       reg = <0x23000 0x1000>;
+                       interrupts = <19
+                                     19>;
+                       status = "disabled";
+               };
        };
        nand_cs3@62000000 {
                compatible = "ti,davinci-nand";