Message ID | 20180721173721.31361-3-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 5DED2601F8 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 21 Jul 2018 17:38:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37E0328ACD for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 21 Jul 2018 17:38:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C41528B14; Sat, 21 Jul 2018 17:38:50 +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 CC85B28ACD for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 21 Jul 2018 17:38:49 +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=x2ZD76UBbbEl8NAq61tulqtiSruY2NvgOFrOnRD3Q5o=; b=LE+zcJpp/41NO4cxmKMe8Uak7Z lDZ2uv/C8ziHGGhZD9XsTMg18hWuUbC249B6w4zg45XDAim+fx1dIHhBXbcaZRFPy80Up+Li2Roxs UZ9/FAJofjbXHLjQrzp3MUPlkQG0CryI6j5GgTD79/+2UivFLSPueSQ2/xpDBGYT+2OZb/CZRX1as KIW4Kt4gEB//dR6Ow6QB6fHCgTRRAuJIobEqtlkvrRimsxTh/BNqLcJgB3Z8rmXF1cSAbI6+UIl47 eEjuFmxY/YHlBaxj6V0ZY5dNqrkLfvi78jTHxZLl1/9byUeJCM+g+r23S0TyKzSCDCCtaVNDqeCGs kqymqaPg==; 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 1fgvq7-0003lB-VA; Sat, 21 Jul 2018 17:38:43 +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-0002mt-Dl; Sat, 21 Jul 2018 17:37:49 +0000 Received: by mail-wr1-x442.google.com with SMTP id t6-v6so14002702wrn.7; Sat, 21 Jul 2018 10:37:37 -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=lNgN6wUIy9vk7tAGT6cVQ5JwqJws6+GGSaBFIw2isSE=; b=L4KbmTVFeqtwM5Mg07zXa41zgPQqkSxhC7QDhJFgXpL3YUloCysedUJgaD9n2+PhSi O5/0/krUVhT2MiB8WwL8pag8SPQ/yjEA7dux0uJSzOTVPLcTayUkKWqqAd7kkR+qYDaO hNX2b5UQc0YDwLk5F1Kpv+VunqJ+n4kdKjT+oORQqyZgbVRy+NKHpXz3qmZg2RY7aVY5 xIo4vfAu21AqPOTulhEzz8zuH4Npj/vtALTqD8Mu/rnyjRfz5rIblu3PUQ7CAPsIn3k6 24AzS5fpehYMMTEjF0O493n+VcfuxuSaPMO/ViHljDmOMltT9sG73w0zeXSGVlMKweWi Uyqw== 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=lNgN6wUIy9vk7tAGT6cVQ5JwqJws6+GGSaBFIw2isSE=; b=QZbosLerpGZszio6jLFJDoZxxF9PGX94ckiP0jJSneWZP2WUDPROtwPJNqWMIDgXSH Ft8mlGDZI4gQsr37dZBy3jbyk+mQ9qeP55LJ0uWuSUZCqedzUeHyr4t5iwn5YE26QnjF iHdxLTz6Y5GpD0u3dFk21xLdhFYlO08xhrkUoy9n65qVTsJf6ErtfjtabBrD1T/0InCq MCwpmJhj2s7et8B7xUURo+nX1wZi0PnutTbIad/6q1aTDtsrDBw5eyEJd0wPcL8j22zE Ffr0/5juzHnGkF771UnylkYsMb7JTTImdLqZBv6vnwoAM8FEaLOQucmggUL2tM1XLi3M 4A+w== X-Gm-Message-State: AOUpUlEGyCNZT1VOJFZytr5gfL2SHAzibRiPluDxHDsck8jlp9iPmX4e 5zMUOkqxV2csrkVBqyKJVJbWFYmY X-Google-Smtp-Source: AAOMgpce2UuD7eurQe2i6nxdybYAEZLhlf7tOQvNCjNfoV+6wI7qJBYagAGngl1kQuShx8GTf4j+/Q== X-Received: by 2002:adf:fac1:: with SMTP id a1-v6mr4189593wrs.74.1532194656267; Sat, 21 Jul 2018 10:37:36 -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.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 10:37:35 -0700 (PDT) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 2/3] ARM: dts: meson8: add the ARM TWD timer Date: Sat, 21 Jul 2018 19:37:20 +0200 Message-Id: <20180721173721.31361-3-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_569730_E9E1C133 X-CRM114-Status: GOOD ( 12.20 ) 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/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index d77dcf890cfc..4e3406edb61b 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -134,6 +134,13 @@ compatible = "arm,cortex-a9-scu"; reg = <0xc4300000 0x100>; }; + + timer@c4300600 { + compatible = "arm,cortex-a9-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 Meson8 and Meson8m2 SoC are using four ARM Cortex-A9 cores which come with a "TWD" (Timer-Watchdog) based timer. This adds support for the ARM TWD Timer on these two SoCs. 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/meson8.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)