From patchwork Fri Dec 17 19:57:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12696727 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 89AC6C433F5 for ; Fri, 17 Dec 2021 19:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6vLUp2rNfNkh5QheFibP0VLpSmkaLS2m3F6fEWP5XUQ=; b=feGENNpkGmjOPM Nazbntnsl/ljnnIiHbPzYiw40fnActDQgkwb7Q2bDP3umeQMLgpxL1pftDtPwSJbDyECP3lGXTibl m2Pvn08vK4DV/Vk+ul0uCh5L6aezFokYkfxNC2GG9XC40LQeIpE4bLPao8t+w3lmeyp+bac5f07tT +t/dOsag597FuHcmPhGByF3jFB/aA++RJRulw+e7B+0aK6R6bBQQiF0YtralVDFwUnUebM/0koPut fJeK/HxgLrpw/WMEPb1tulIBijQtKLnaJ6edkUh76AIXQ7pXlbfGKUIE9Y+XvjDX1RWjPJVqkxOuT r6d/nBF5hDTjG+aoYz0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1myJNC-00CBv0-QJ; Fri, 17 Dec 2021 19:58:34 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1myJMP-00CBh9-Q0 for linux-arm-kernel@lists.infradead.org; Fri, 17 Dec 2021 19:57:47 +0000 Received: by mail-wm1-x330.google.com with SMTP id b73so2365043wmd.0 for ; Fri, 17 Dec 2021 11:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eU0XGPi4uBhPUtyGCEgXF/C3mA2MpO37zRIQErCawvo=; b=f9VKS4gPYA3Bst20TJUlMjQI5/yet1jmgxsDXqhLiDT1wAXa5vbUy+yT9pHpv+D9T7 RSbOMRYPqqV0KXJOstjbEa8DSH1ZHijqX+EUve2ebiEtiAUMtlr/kVvqVl/IyaUBDA4J JrTi715WFR7b5VHZTIexXlBh9aus6csf4oSHs9GV76cWI41D9wjIV3pIhsp1a+fAHFHb VFdj4Yjmf3JL+aT85WzUrqfA6wObE4SUBTJlibrbUo/mNn9qIAecOiuI+SVXnb2QK3sq iSHrjqSJ9jr6yOxrzJ3NfkW8QUJMqm57W9Wu34GO1hbTbAfTR0DIbEifUhR5i/Vp4yQB l2YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eU0XGPi4uBhPUtyGCEgXF/C3mA2MpO37zRIQErCawvo=; b=qw4g4r0RMf01rfX+47L4Ix12wnzvP4Is8M9FPSD07n/j1Ma1MhshE41FqvDfE6X5kN yKWTu3mwa5OtF09LBX0UYUL9q7f0dP11Y/XIPaNAv/4SJlhFV4YVVssAF7LamHaOF1eP WgXJ6Atxod5VwxyTZUDlpXH2Xn4bhwtK+mvkEJvKd65lcwzodz8ySzXSV9Nr8yUOMEbq YtHH9PDhR8BbaJ6gjtKhlfPkRk0fJpo/LRBR/yMedE5KoPWm6H8fgtvVa/RPhCBNNuuK FwXNNJ/3f4vtW/nDycLDBmdY7N6yRgCQiMi9kZHoQ50Ng7B8gAo5Is5DV2MT02P1iTkt E9oA== X-Gm-Message-State: AOAM531gDRH5UQs6798LOOgzUGuACF9poi5rUu+LGq9Ze4KiyzNdK4mD PmUa8eT3GN1SSRAHwLABLv4= X-Google-Smtp-Source: ABdhPJxzAMjIxX2CXI+2wbGHfE/1VAILVFrQsoQogotGZM/HaypI7k2Q17zUtBJT70jYx40zjbJY/A== X-Received: by 2002:a1c:f418:: with SMTP id z24mr10925271wma.95.1639771064308; Fri, 17 Dec 2021 11:57:44 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id i17sm9340951wmq.48.2021.12.17.11.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 11:57:43 -0800 (PST) From: Romain Perier To: Daniel Lezcano , Thomas Gleixner , Daniel Palmer , Romain Perier , Rob Herring , Russell King Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/6] ARM: dts: mstar: Add timers device nodes Date: Fri, 17 Dec 2021 20:57:26 +0100 Message-Id: <20211217195727.8955-6-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211217195727.8955-1-romain.perier@gmail.com> References: <20211217195727.8955-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211217_115745_866242_9718EC3C X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the definition of the timers device node. Signed-off-by: Romain Perier --- arch/arm/boot/dts/mstar-v7.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 89ebfe4f29da..7ede4cec0af9 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -123,6 +123,26 @@ watchdog@6000 { clocks = <&xtal_div2>; }; + timer@6040 { + compatible = "mstar,msc313e-timer"; + reg = <0x6040 0x40>; + clocks = <&xtal_div2>; + interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; + }; + + timer1: timer@6080 { + compatible = "mstar,msc313e-timer"; + reg = <0x6080 0x40>; + clocks = <&xtal_div2>; + interrupts-extended = <&intc_fiq GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; + }; + + timer2: timer@60c0 { + compatible = "mstar,msc313e-timer"; + reg = <0x60c0 0x40>; + clocks = <&xtal_div2>; + interrupts-extended = <&intc_fiq GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; + }; intc_fiq: interrupt-controller@201310 { compatible = "mstar,mst-intc";