From patchwork Tue Dec 8 13:24:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 7797581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 43623BEEE1 for ; Tue, 8 Dec 2015 13:27:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D4A9204AD for ; Tue, 8 Dec 2015 13:27:58 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id B161B20499 for ; Tue, 8 Dec 2015 13:27:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a6IH6-0004iF-6V; Tue, 08 Dec 2015 13:25:48 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a6IH3-0004fg-LA for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2015 13:25:46 +0000 Received: by wmvv187 with SMTP id v187so213409772wmv.1 for ; Tue, 08 Dec 2015 05:25:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=2PMXDsedPauXAwiymhEaYu6Duw+Zt0peC0Ac8VTLTOo=; b=NRZ0CUuwEF4AkEQR7EcrMVMnoGVnXTeeboc+uVmoOn5rY2TlfkW3TpKcUdab5pOqgX drOfYe97K5YDvrOcRYpHF3VEgMXT6pP+p0pc0kQNofAMa6/vGk04V0iagscM+JspHKKi g3WP1o6tGFKWtiGb3abcdcZ1UGRvT7jxvBYa2HqeGmQveuXpL/hk2tMvw3iaoIwwMwYE szJzDOg6sC7JeAkB13tCRNGg3VHXZYlUwp1cWERDBYTNi6IMnswfGE+jXQd1oCSGAnkG J03O+JWvgvv9/u3ftBWTL0kOoAThoJRHguqMuwI4cpLp54dSy7nZJ+cUTsp/8Iq4C8ov +o5w== X-Received: by 10.194.79.201 with SMTP id l9mr3744152wjx.151.1449581123739; Tue, 08 Dec 2015 05:25:23 -0800 (PST) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id ej10sm2989272wjd.32.2015.12.08.05.25.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Dec 2015 05:25:22 -0800 (PST) From: Carlo Caione To: robh+dt@kernel.org, pawel.moll@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, drake@endlessm.com, jerry.cao@amlogic.com, victor.wan@amlogic.com, linux-meson@googlegroups.com Subject: [PATCH] ARM: DTS: Amlogic: Add TWD support to Meson8b Date: Tue, 8 Dec 2015 14:24:48 +0100 Message-Id: <1449581088-23491-1-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151208_052545_878235_43E55EA4 X-CRM114-Status: GOOD ( 10.01 ) X-Spam-Score: -2.6 (--) 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: Carlo Caione MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione Add support for the ARM TWD Timer and Watchdog to the Amlogic Meson8b device tree. Signed-off-by: Carlo Caione --- arch/arm/boot/dts/meson8b.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index ee352bf..4860854 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -51,6 +51,18 @@ / { interrupt-parent = <&gic>; + timer@c4300600 { + compatible = "arm,cortex-a5-twd-timer"; + reg = <0xc4300600 0x20>; + interrupts = <1 13 0xf08>; + }; + + watchdog@c4300620 { + compatible = "arm,cortex-a5-twd-wdt"; + reg = <0xc4300620 0x20>; + interrupts = <1 14 0xf08>; + }; + cpus { #address-cells = <1>; #size-cells = <0>;