Message ID | 20180721173721.31361-4-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 642466029B for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 21 Jul 2018 17:38:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E70728882 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 21 Jul 2018 17:38:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3982288A9; Sat, 21 Jul 2018 17:38:35 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A778728882 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 21 Jul 2018 17:38:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=qsxT1yZWPQCZJZn9MD1P66BGd6V9F8vyHEy85D2q1lQ=; b=k63kthzW6l2b7ZKmTdXOOraHVU v2Eu/PkhPTcSJEFabIR57E+ffPnni8PexqGYQli7ikIlGU3ferviYxVlOJrAgJeK/24OTWbaeso0u D1u5UyZn3AMcAVQ86O4MzRCZNZVrw7JQpd/Izlp2hXAMhQJVX3IXa0DJZt4qaTtJpDB1lfgwUek7Z 2df3ubol+tPI8T3eSZJC2mMrbdihFGOoxV7Ka67wHS/teF9RAjp03YOihlk4va+epsJ8ihcCpgYZQ h/g7+lfEF+ijAM9vS5bva70bx7Pqi4dMTC4G9aZHlipfMQslB0guTvLt3K/WO13+qqN5Far1XgUQe 0FFVft1A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fgvpx-0003aQ-8C; Sat, 21 Jul 2018 17:38:33 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fgvpE-0002mw-Ds; Sat, 21 Jul 2018 17:37:49 +0000 Received: by mail-wr1-x442.google.com with SMTP id q10-v6so14013919wrd.4; Sat, 21 Jul 2018 10:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qD/qr1N+LKf7f7o7WozI3YPVDyZnUA2v3hGeQvbGZS8=; b=KfWPvipCDYmbajXx1S48UPBS5fyS8U3y/9ORU7bY/l1u7r8EkfUp341ChyasR9Yk8t 9dvL8kBHEy9Edf00PzpabroI6CL1TVT2oA0GzardUbo1fQuq06Mw+Zbq3cyR1oxNTD5A OXQtoe7tH2GzxXYtcsh2fBEI/00y0tmP9JmoyytszP1bFYNlabmiEKU+a7T4Bj5NhEll N+OP1GpMwz2gaXlamG3lBZVuj/z/3iWxYL0Y8/fg1J0xMgBmBovTdEJAKjUaKl7/bbF6 cQP9e2Ls6GAH6LV7jl1q0iIzQIVBI4FWV9hE0iP6zpdJOG5+zcvLT9f6vJ53eMt1USsB E7xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qD/qr1N+LKf7f7o7WozI3YPVDyZnUA2v3hGeQvbGZS8=; b=n4sx0396uJr4Zx5IJ6SufI+KWoEI71g8G7DlgRzELweA+s6P8k7VmH+y6iwCYUk+Ti zHX/J0VG8Ofp0dHpkGgbhTMeTPSJsxPx7MMSgMOFh203pR8o0ysnaOGIwPbWDK7pNtfb 1JXJvx6N1BCEoi0sRwCwMlIsBAIqitx26Q5DG+0/VDLTMGpRaVrKcKb1ZipDWxgy5biV phnYXR78eiBbR7/ohHtcu7vWDFAluTVH0Q+mStSlkNNjo7woSQPI7rkRsu8CTZN/B7KW mIt7vv98WXjADc3uBudi9RUUJpoTv0gYKzW9eZCVreldTgAsRZa6NaT1BvHzwn6+vgRu KmZA== X-Gm-Message-State: AOUpUlFNALwYheCdAtVpjrdPRHi6dch7RT4IdWqhm6FKj/2FWagOdbZb tQ7V/oQIMz3melVH0c8EVZRi8SI4 X-Google-Smtp-Source: AAOMgpdm0tzIOaMeU0Q5RKjkxj/cPQX2zhYXB0jnpx7mLuPvzlQe58jkM0724hBwOeN7l4Pi3DPekQ== X-Received: by 2002:adf:8276:: with SMTP id 109-v6mr4513576wrb.127.1532194657199; Sat, 21 Jul 2018 10:37:37 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD732620055BA2447D3F43559.dip0.t-ipconnect.de. [2003:dc:d732:6200:55ba:2447:d3f4:3559]) by smtp.googlemail.com with ESMTPSA id g15-v6sm6030541wrh.48.2018.07.21.10.37.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 10:37:36 -0700 (PDT) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 3/3] ARM: dts: meson8b: add the ARM TWD timer Date: Sat, 21 Jul 2018 19:37:21 +0200 Message-Id: <20180721173721.31361-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180721173721.31361-1-martin.blumenstingl@googlemail.com> References: <20180721173721.31361-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180721_103748_558974_7D20F6A7 X-CRM114-Status: GOOD ( 11.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 08f7f6be7254..d0443ae03c72 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -117,6 +117,13 @@ compatible = "arm,cortex-a5-scu"; reg = <0xc4300000 0x100>; }; + + timer@c4300600 { + compatible = "arm,cortex-a5-twd-timer"; + reg = <0xc4300600 0x20>; + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; + clocks = <&clkc CLKID_CPU_DIV16>; + }; }; /* end of / */ &aobus {
The Meson8B SoC is using four ARM Cortex-A5 cores which come with a "TWD" (Timer-Watchdog) based timer. This adds support for the ARM TWD Timer on this SoC. Suggested-by: Carlo Caione <carlo@endlessm.com> [ rebased patch from Carlo, use IRQ_TYPE_EDGE_RISING instead of IRQ_TYPE_LEVEL_LOW to prevent "GIC: PPI13 is secure or misconfigured" message during boot, use pre-processor macros to specify the IRQ, dropped TWD watchdog node since there's no driver for it anymore ] Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> --- arch/arm/boot/dts/meson8b.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)