From patchwork Sun Dec 12 18:19:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12695809 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 BD73AC433F5 for ; Sun, 12 Dec 2021 18:21:35 +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=iFMDhlzK2yDyEORwdmhp0sGTR12afxixTwVJXs58Hjk=; b=vki/Ubsv+TZge/ xSMP7IiJR24PbnZZsfKoTwxXwjIqRsaaYEGp+U+vnclErwVxiSR8KH0bKdyjc/pteJ/q1cGlzc0qn PfrNwfx4HrgvO337Q9XBHyr1tIOwCMlRE7F0IKU1OF2l3CRig4taWl12tUHsKP8F22H00X60eLIi8 8pBfim2ecB07WwJHeeO1xei56oz+mFmdAq+9QkXJ6GeTYnBAI3SNSZE18L5ldPlWZjcENRWreUBnm YqmhbPYc6mwWxJj4D8h/s2PuGDIK+RCrrFWeWvS65UXcuLmoIrwG1Q1eZSAeGefDtcUIrhU4069b0 mfaJLmNFt82QTAzXQgeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwTSE-006vqq-3R; Sun, 12 Dec 2021 18:20:10 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwTRL-006vYr-ED for linux-arm-kernel@lists.infradead.org; Sun, 12 Dec 2021 18:19:16 +0000 Received: by mail-wr1-x430.google.com with SMTP id d9so23578717wrw.4 for ; Sun, 12 Dec 2021 10:19:15 -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=a03oi73IUIbALiHeFayx9Bqv0K+rE4kVayfrAJF+ar0=; b=bJ7HV0II5L/l/UY9f/1rz7n0LlKqyMUJ5wBNEO6siMqV7t5IaFC9HBm/W+L3StgXsr HhvJzDDANYd81kVuDm7CCE+MBms93xOadoeh4IAw37lUCLxSPSRmV+jABMTwbY5sHmvM edthUPi9OIbmgMeVxwxA5OTIwMFsXGKcsKLWw5eJeTraJZ8qCj333QlAFVy5uF5H2dx3 22tOxGjVeKj18VQLfL8XmOTexrasCJlAZECAVXI5QPvMorOX8dOl/qOxzaMsRbnVVNFV r7zY1oZNomUql6Mmw6oiuYEDxntLEW5xMf79ilhLyzoxLNng7qYd/8N4WN6w+B8oLCzs rB6Q== 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=a03oi73IUIbALiHeFayx9Bqv0K+rE4kVayfrAJF+ar0=; b=GvRNk5QMr1Qcppbgpnm5m79M7bImX1802tslw77w1fvBpcbANrrBykCwjs1Dl16je7 t1jE2n3rVpVHT6scUDrbN0a6RJFwFMw502NAHQpEaPfsuuwkYIQHHeEjfGWoG9KpQSh4 e6V6QcKRZZobK61I/WrWUt9rKPJBBZcz5jgxgL2O5/Rh4pDyxwaUDU8bCS1uTrl9MZoT lbO1/LsRlT862dZQJDzSXRSJBRqCUHmCxD/8nO+lZ5z6/KnOpUJGpf3dqNAs9b5+UdUk ECSwwMEw7yuzxURTEKQE2y9xRiY0e/ZKjkwzpDCMO/SjeVwjxHOtePrH3qJKDS4FrGMP rd0g== X-Gm-Message-State: AOAM5315Az2zsF2GHqJKUWjEUJOm5b2P/CCWPav3raSWmpL+403O0xBN UIok6FKab38qPGyJdzj/9UQ= X-Google-Smtp-Source: ABdhPJz2Lwt7Ww4KVXg7hy2a1buXV+yt4ukcRYrX8HH4Yyxc8ODF/E1VVMntO9HVqZV9yT6uswNFoQ== X-Received: by 2002:adf:f990:: with SMTP id f16mr26550621wrr.128.1639333153865; Sun, 12 Dec 2021 10:19:13 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id l22sm4482861wmp.34.2021.12.12.10.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Dec 2021 10:19:13 -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 v2 5/6] ARM: dts: mstar: Add timers device nodes Date: Sun, 12 Dec 2021 19:19:05 +0100 Message-Id: <20211212181906.94062-6-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211212181906.94062-1-romain.perier@gmail.com> References: <20211212181906.94062-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-20211212_101915_546322_48606D1C X-CRM114-Status: GOOD ( 11.58 ) 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";