From patchwork Fri Jan 25 06:13:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mrugesh Katepallewar X-Patchwork-Id: 2059051 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by patchwork2.kernel.org (Postfix) with ESMTP id 56535DF23E for ; Tue, 29 Jan 2013 04:22:10 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0T4IZo9001758; Mon, 28 Jan 2013 22:18:35 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0T4IZQ7012160; Mon, 28 Jan 2013 22:18:35 -0600 Received: from dlelxv24.itg.ti.com (172.17.1.199) by dfle73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.1.323.3; Mon, 28 Jan 2013 22:18:34 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0T4IYwp030669; Mon, 28 Jan 2013 22:18:34 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id B3B0380627; Mon, 28 Jan 2013 22:18:34 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dbdp20.itg.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by linux.omap.com (Postfix) with ESMTP id 700BF80626 for ; Fri, 25 Jan 2013 00:19:38 -0600 (CST) Received: from DBDE70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0P6JVru012045; Fri, 25 Jan 2013 11:49:31 +0530 (IST) Received: from dbdp32.itg.ti.com (172.24.170.251) by dbde70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 14.1.323.3; Fri, 25 Jan 2013 11:49:31 +0530 Received: from ucmsshproxy.india.ext.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with SMTP id r0P6JTBH023415; Fri, 25 Jan 2013 11:49:30 +0530 Received: from symphony.india.ext.ti.com (unknown [192.168.247.13]) by ucmsshproxy.india.ext.ti.com (Postfix) with ESMTP id 9138D158016; Fri, 25 Jan 2013 11:42:39 +0530 (IST) Received: from ubuntu-psp-linux.india.ext.ti.com (ubuntu-psp-linux [192.168.247.46]) by symphony.india.ext.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r0P6CZR10301; Fri, 25 Jan 2013 11:42:35 +0530 (IST) From: Mrugesh Katepallewar To: , , , , Subject: [PATCH] ARM: davinci: da850: add RTC driver DT entries Date: Fri, 25 Jan 2013 11:43:49 +0530 Message-ID: <1359094430-14724-1-git-send-email-mrugesh.mk@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 28 Jan 2013 22:18:33 -0600 CC: , , , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com Add RTC DT entries in da850 dts file. Signed-off-by: Mrugesh Katepallewar --- Applies on top of v3.8-rc4 of linus tree. Tested on da850-evm device. Test Procedure: date [YYYY.]MM.DD-hh:mm[:ss] hwclock -w reset board and check system time. :100644 100644 37dc5a3... b16efd4... M arch/arm/boot/dts/da850-evm.dts :100644 100644 640ab75... a8eb1b1... M arch/arm/boot/dts/da850.dtsi arch/arm/boot/dts/da850-evm.dts | 3 +++ arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 37dc5a3..b16efd4 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -24,5 +24,8 @@ serial2: serial@1d0d000 { status = "okay"; }; + rtc@1c23000 { + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 640ab75..a8eb1b1 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -56,5 +56,13 @@ interrupt-parent = <&intc>; status = "disabled"; }; + rtc@1c23000 { + compatible = "ti,da830-rtc"; + reg = <0x23000 0x1000>; + interrupts = <19 + 19>; + interrupt-parent = <&intc>; + status = "disabled"; + }; }; };