From patchwork Thu Jul 21 12:44:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9241619 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 046E9607D3 for ; Thu, 21 Jul 2016 12:49:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA20B27E22 for ; Thu, 21 Jul 2016 12:49:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD22127F10; Thu, 21 Jul 2016 12:49:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C749227E22 for ; Thu, 21 Jul 2016 12:49:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQDOb-0000mb-FU; Thu, 21 Jul 2016 12:48:09 +0000 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQDHz-0001oF-6K for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2016 12:41:21 +0000 Received: by mail-lf0-x22c.google.com with SMTP id l69so60737338lfg.1 for ; Thu, 21 Jul 2016 05:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4on8PEmNkYXjBD3N0rdsk1a6mj8+J7zZMhEvPsZzrN4=; b=U5Iz9Lvb+BR0F72rJ4cjMtHTYCmduz73IDs8kpK4QE87K0l4eOWG/j+z7lN1Ld2iSp NJk+ryHrG/UiiQ3D4+YRqTVC8Gi6KzK49DTugM0uZCvAwPH6FCYSw5aio0GKjL67sQ8Y MsiQzRHXEoksOOyKidKuWiv1WU0H982XClht9/wtHb9nzN+bnn21vwTnD8GnOuAJ9z7/ hvRpUCcG9xjEkwVEhgPAD7UTriWfWhE+utYtygPlvc0ZaszRvt6weCneWRXvi2lah8Gp H9DbU5z4rAbs4EPApETSPmUASygVL10b9OgU5ZcxzvQZp8cXb7tzE19B1Xp9lVPAjK6m G9Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4on8PEmNkYXjBD3N0rdsk1a6mj8+J7zZMhEvPsZzrN4=; b=NZg5yxaMx9PpQRbDpq/kPieS55gxwTSouZU52cnliUNr+TkIHKismkidrabwCWGmeU sXhtWJ/1/G7cyZ4ew5ggnC06rECAlFiYZvbAICRd7IPqKnYCQBnPkJi4D7HxcUptLSIo 1wzSnEq5yZ/BKuMWkeVg8MdGYuVOeoE7ciXtHdi8nhqmSJbMFkz6006Mm44CZ8nLTfSw S8KqZYQ3rA9M0kRANQQe8diKEFMTA2GMaS2yMDcEA4fx6iMUuOR2pgH7K/HToz/4r6aN IAi2NESyEJ95hhmzGI5OnCK2m/KRefDaPxOT+ZT2Uvth29r/1Y0vlm3hlC9bE0y4QGL7 9onw== X-Gm-Message-State: ALyK8tIpD4n4m+hl1y2PLdM6VeoDENAt/HWYJBu/j7z2RJ2yhDDYr28k7T+H5f7g7Ap/ug== X-Received: by 10.25.160.139 with SMTP id j133mr14042464lfe.227.1469104856966; Thu, 21 Jul 2016 05:40:56 -0700 (PDT) Received: from enkidu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 196sm1759701ljf.5.2016.07.21.05.40.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 05:40:56 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 13/18] ARM: mvebu: a39x: enable rtc for all Armada-39x SoCs Date: Thu, 21 Jul 2016 14:44:10 +0200 Message-Id: <1469105055-25181-15-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1469105055-25181-1-git-send-email-jaz@semihalf.com> References: <1469105055-25181-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160721_054119_627770_C5E5B532 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, linux@armlinux.org.uk, alior@marvell.com, robh+dt@kernel.org, gregory.clement@free-electrons.com, mw@semihalf.com, thomas.petazzoni@free-electrons.com, sebastian.hesselbarth@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Despite that FS states that rtc is present only in A395 and A398 and not in A390, the rtc is working with A390. Signed-off-by: Grzegorz Jaszczyk Acked-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-39x.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index 1225cd8..5bed8b9 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -429,6 +429,13 @@ }; }; + rtc@a3800 { + compatible = "marvell,armada-380-rtc"; + reg = <0xa3800 0x20>, <0x184a0 0x0c>; + reg-names = "rtc", "rtc-soc"; + interrupts = ; + }; + flash@d0000 { compatible = "marvell,armada370-nand"; reg = <0xd0000 0x54>;