From patchwork Mon Mar 11 18:07:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 2249771 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 38FF73FCF6 for ; Mon, 11 Mar 2013 18:15:06 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UF7C5-0007cA-IM; Mon, 11 Mar 2013 18:11:29 +0000 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UF7Bz-0007Zd-L1 for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2013 18:11:24 +0000 Received: by mail-la0-f53.google.com with SMTP id fr10so4211800lab.40 for ; Mon, 11 Mar 2013 11:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=XXB+Y2mE1HD+P+PK3Z3j5HFqaWn9EkvyuVcWS1hU36M=; b=AQ1yWR2UyUI9BB3MY12qthnmxRFVug7kNDE21g6DGB9GqDgWK4V6H9TMWXG8arXgNP iLHIXEiOfg5ow0LRvjiu8hpiR9zacAtbVsuda7pw/Hhtv+j8/9ToYgpQjU8qoZBB9hyA 14m+/fpK3Eu2N+suI0Yhy8LcB7V7BBr3ndRRvzqBMQp3TkcIhdoLhpJ932So8FDDORGp GASGIjcSWldcQ5FTwTOdjTXxTiNd/YHP2TkZk7DtnZb+jQnYyE6GAIyGjnmHGLDv+QA+ Pmk2aXj3QKD+y3cT+SURAKH6/gwsWgQHNpCGqxp06o/dV/DVdbosN8Kxifp2zVsI4GCJ 40fQ== X-Received: by 10.152.134.40 with SMTP id ph8mr10959928lab.39.1363025481371; Mon, 11 Mar 2013 11:11:21 -0700 (PDT) Received: from omicron.terra (c83-179-13-247.cust.tele2.se. [83.179.13.247]) by mx.google.com with ESMTPS id e9sm4765973lbz.1.2013.03.11.11.11.18 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 11 Mar 2013 11:11:19 -0700 (PDT) Received: from johan by omicron.terra with local (Exim 4.80.1) (envelope-from ) id 1UF7B7-0004cz-Os; Mon, 11 Mar 2013 19:10:29 +0100 From: Johan Hovold To: Nicolas Ferre Subject: [PATCH v2 2/5] ARM: at91/dts: add RTC nodes Date: Mon, 11 Mar 2013 19:07:56 +0100 Message-Id: <1363025279-17615-3-git-send-email-jhovold@gmail.com> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1363025279-17615-1-git-send-email-jhovold@gmail.com> References: <20130311180611.GF8797@localhost> <1363025279-17615-1-git-send-email-jhovold@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130311_141123_974757_478782E5 X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jhovold[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Alessandro Zummo , rtc-linux@googlegroups.com, Johan Hovold , linux-kernel@vger.kernel.org, Jean-Christophe Plagniol-Villard , Andrew Victor , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add RTC nodes for Atmel SOCs. Use two different compatible properties to reflect the fact that the RTC-peripherals are backup powered (VDDBU) and are thus not reset on wake-up, user, watchdog or software reset on all SOCs but at91rm9200. Signed-off-by: Johan Hovold --- arch/arm/boot/dts/at91rm9200.dtsi | 5 +++++ arch/arm/boot/dts/at91sam9g45.dtsi | 5 +++++ arch/arm/boot/dts/at91sam9n12.dtsi | 5 +++++ arch/arm/boot/dts/at91sam9x5.dtsi | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200.dtsi b/arch/arm/boot/dts/at91rm9200.dtsi index 222047f..96b4e30 100644 --- a/arch/arm/boot/dts/at91rm9200.dtsi +++ b/arch/arm/boot/dts/at91rm9200.dtsi @@ -326,6 +326,11 @@ status = "disabled"; }; + rtc@fffffe00 { + compatible = "atmel,at91rm9200-rtc"; + reg = <0xfffffe00 0x30>; + }; + usb0: ohci@00300000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00300000 0x100000>; diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index 6b1d4ca..c1ad522 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi @@ -526,6 +526,11 @@ status = "disabled"; }; + rtc@fffffdb0 { + compatible = "atmel,at91sam9g45-rtc"; + reg = <0xfffffdb0 0x30>; + }; + watchdog@fffffd40 { compatible = "atmel,at91sam9260-wdt"; reg = <0xfffffd40 0x10>; diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index 4801717..802e92f 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi @@ -311,6 +311,11 @@ status = "disabled"; }; + rtc@fffffeb0 { + compatible = "atmel,at91sam9g45-rtc"; + reg = <0xfffffeb0 0x30>; + }; + ssc0: ssc@f0010000 { compatible = "atmel,at91sam9g45-ssc"; reg = <0xf0010000 0x4000>; diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index c461e11..432fbfb 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi @@ -362,6 +362,11 @@ }; }; + rtc@fffffeb0 { + compatible = "atmel,at91sam9g45-rtc"; + reg = <0xfffffeb0 0x30>; + }; + ssc0: ssc@f0010000 { compatible = "atmel,at91sam9g45-ssc"; reg = <0xf0010000 0x4000>;