From patchwork Sun Oct 20 18:21:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843207 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 1AEDCD3C92D for ; Sun, 20 Oct 2024 18:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YoFiO4t/E3af6lH/W9rynyhOwVr3dD1Sx9PXSKqMKFk=; b=CEr+Kw683vP3tzJy2iFUBkHlME FLkaq59TvE+D2JcwihFcT8QjvWNnLGoVp68y+PJ0NP9eZJ0oM5F/l2ElA2sAQrSjsvsoZfZsZWwPG BaAl4Yl8Nhf0CeGqxQA0Q0VxV/x3qEn+SQ1FqWxa7Zz2zBf6EIeesXTW+45H90CydSOh+GjzfmOGo BwbZJH7C6CB94C7PArIsL2bxMDVuXmpV37kXWSnKOfM1gySWYwqn3KkBA+GOkimapjJsofAOBu6/V x8nxkPPHlxkqwwC/NzIFdHezEXv24ra/6KZ4JxlleKn0w6/21PbJ/WB0141iMPR3xvAZOawPBJ+0c lZX0GXHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2ag5-00000005G2E-2AN0; Sun, 20 Oct 2024 18:29:22 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aYy-00000005F97-3Sut for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:22:02 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4314fa33a35so37490175e9.1 for ; Sun, 20 Oct 2024 11:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448519; x=1730053319; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YoFiO4t/E3af6lH/W9rynyhOwVr3dD1Sx9PXSKqMKFk=; b=KwZ5NjeemAjkVc2lmIweqwlBabUORlNsyqBFMIjXwZkdL6oVqgIFhiW37vdDlgvdi3 lsuzkz1DNZWQIy8ioXAPh2ONIyFVQOSmxvSFVQMbRl2rKb/Mf4Xc7aNnIJY/1NTrn0Ny ueyiclFQrCJkV0+CGEoGsRwM8mk76K0/p1ddWVuvPKM+T49MwAzt/hCbX90i1Fc9iYaf SWQ9Pi8f57v37735hxT4EiHd/XHAXhm6Q2NlzJusCXMoxZmQphQ8lUZQ93LBxhCnNHGe cRSaQH0SjyGXI260aMhj/jXojq+IEwKZ+KWaKMBIfAde1UB4BJDNbojH3BwBXsE7wuAw qRNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448519; x=1730053319; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YoFiO4t/E3af6lH/W9rynyhOwVr3dD1Sx9PXSKqMKFk=; b=k9BsvXGo5MPR2cuc5WvT1CPHEliUFN/QX6ZbyvgY69uPSVkyoArWSnyr2TiS2JMK7D bytUVDD2MPKXN+KAnBP6Kli/eIub1d/cHHTkmcA75SVNDZecoFNBo/E4Crr0lppKXj+w REePY4e/vf4sOBi3vc0GVv8dKCik3YywNfq3JHECrmC+zF1d9svWnMEkVHEKLKAJOesY n1teLCMRoY5Nw4M6c4wkEuYRDDeTS5hxWqJplRhDifEHu9Uo01BNgbRydtyWuk3nNqFL rmDxvgzAF+9/TVp5/c4CoPjgGvD4vY4U6zjzq8oeO75EUDJaGT12dv+O6QtV4XxRPyqr 6Vzg== X-Forwarded-Encrypted: i=1; AJvYcCXgcPELHo94cY3fdOuS7l2P7psddmnsweQLIMdQc+0HHYzZ3xXz13K07pG52OwFwPstcxE0cvb7CYFICxIAmoqu@lists.infradead.org X-Gm-Message-State: AOJu0YxCEdP1/xSSsrCpmCjBgfJfcXV9wzM5eSgKnlCqZI7Q4MRuuukU h2bWok20LA9cBIcyXzXkSnmXGKJs24F1KqtwEo8s65o5awWYrUSy X-Google-Smtp-Source: AGHT+IFJZjum28xn+PrqK+hVAT4SnwtB3vmTyk2FAQRhj3mClh4nuh2fPDn5hGp1ZIBGOPE7tAGxtA== X-Received: by 2002:a05:600c:1d01:b0:42c:b63e:fe91 with SMTP id 5b1f17b1804b1-4316168f28cmr74795465e9.24.1729448519045; Sun, 20 Oct 2024 11:21:59 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.21.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:21:58 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/6] arm64: dts: exynos8895: Add Multi Core Timer (MCT) node Date: Sun, 20 Oct 2024 21:21:19 +0300 Message-ID: <20241020182121.377969-5-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112200_888383_553922FB X-CRM114-Status: GOOD ( 10.41 ) 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 MCT has one global timer and 8 CPU local timers. The global timer can generate 4 interrupts, and each local timer can generate an interrupt making 12 interrupts in total. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index 802e135c4..c95e4713a 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -169,6 +169,26 @@ cmu_peris: clock-controller@10010000 { clock-names = "oscclk", "bus"; }; + timer@10040000 { + compatible = "samsung,exynos8895-mct", + "samsung,exynos4210-mct"; + reg = <0x10040000 0x800>; + clocks = <&oscclk>, <&cmu_peris CLK_GOUT_PERIS_MCT_PCLK>; + clock-names = "fin_pll", "mct"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + }; + gic: interrupt-controller@10201000 { compatible = "arm,gic-400"; reg = <0x10201000 0x1000>,