From patchwork Fri Nov 26 20:21:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12693779 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 6126EC433F5 for ; Fri, 26 Nov 2021 20:24:32 +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=Jwp8o0u0BDndpz vxun/Kr31krHVxUpeEBYHHePO1fTjtGYgKmcXdjg8s3eq4Zym3AzYmhClR96wdgbU9SQaj8CQhMd1 vXPVc68+M357N8yKgEgshtoiIyAfR1uOSK4WQ2gdCTgMm4k5N5d3v3ROREgCnxzlr9UcIGSwZknfM iHLDow5w9FAPh+x/FqUUTO/aDZ7BgH0luJWpRmPED/iL2obJ28bIUxghF8FBsucRvQ432eq/VhPKK 8PvD8GZBfE58xESa5P99p69DZAXrCicBSYFQYdsCe6INEcFzDyBIU38t6Hm440ONm50k1eVzbLcI/ gnlHP38JhwOVvuNsDJng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqhkK-00BhM8-77; Fri, 26 Nov 2021 20:23:00 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqhjS-00BhEK-Rq for linux-arm-kernel@lists.infradead.org; Fri, 26 Nov 2021 20:22:08 +0000 Received: by mail-wr1-x42c.google.com with SMTP id j3so21001757wrp.1 for ; Fri, 26 Nov 2021 12:22:06 -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=qX7uM7p97Jt0FQj6iQEBYdM+mBXQ/ChNeRNfngSQvq/n6N6YwvQjGsylVDLjn/upje pZsrSQl9c0R2YsNsgX1hgWZcfypOwDAKEg/1tNUmb0abjZ8VXuwj1blcW1DdNJa36acy 6YKFLP0VQiBLWgPKoHZgRgIzSsWUfsSbczkuXsFr3qe+G6hLszgm/BDG1u102lixiSaB uKpjZTWgtR6NbjOrxoizXOvLra49t5ViOzZEJlEMxoiuUiURormXWN4B9bMr9vKRqIRN 1m5kfiKm7R74DXQqQgdj/nnXJ1iOOLnQ2PL9UK+fAhJDW16TcKSFc9IEIVsEbzCb66WS 9gfQ== 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=J6nltBZCw3CKDWfBaA6VPJ7emhsAUl7fux4NzthCbDbnQe7dDMyxc0itA2ZOswRWCv DqKvjH0xUE6LSySp6rvnlRkGskoqYOYM7Vef06HGbXYNPmCvaAI2MESJXJaSOwlwTnNf TiXwN43RAdglQo49Rt0z4+7R68XyxY2DOPYQmBKPew2Pa/KRY6fFFIy2+UqitJlcAwPZ H36WHgCng/HcvANzqWGoyvwM0YmdQ0ahKJS6VnUt8jjiPNPV91DPib9+XtXIARnArMlg WWpYQ9cvCTtPIwLidWOXcYa2/dJS7/cHFmJD6odktjfk6xx+cK5koy9GfDxRylHVvPSh jI0A== X-Gm-Message-State: AOAM5332XL2XRejYFk1NaCGd8GWLOHe9tfN4KvzkoTvlCvVMrrWsAcn9 vJXXK7rtO2jkyXyua50rrEI= X-Google-Smtp-Source: ABdhPJz8uSeuZpTMKhNOKdJcRyH0QQPdOuoobO37b+5kX2WUsmVWOFxZnRjPlDVf30LtKuHPirCsJA== X-Received: by 2002:a5d:6e82:: with SMTP id k2mr16084465wrz.147.1637958125381; Fri, 26 Nov 2021 12:22:05 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id m36sm8236955wms.25.2021.11.26.12.22.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 12:22:05 -0800 (PST) From: Romain Perier To: Daniel Lezcano , Thomas Gleixner , Daniel Palmer , Romain Perier , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] ARM: dts: mstar: Add timers device nodes Date: Fri, 26 Nov 2021 21:21:43 +0100 Message-Id: <20211126202144.72936-6-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211126202144.72936-1-romain.perier@gmail.com> References: <20211126202144.72936-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-20211126_122206_926035_036AB64D X-CRM114-Status: GOOD ( 11.85 ) 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";