From patchwork Fri Dec 22 16:53:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13503556 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 6CF32C41535 for ; Fri, 22 Dec 2023 16:55:19 +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=6QZw95ulIbWNkcZpW84pMRwv213Qgb29o41/cxHzDqs=; b=KBFbPODq2JmXkv nOv+uqS5cJhDomzI+D5lXtM/fh+HSdkyu28KLw17upH3oEJRxFlT+M5IHQAx+Uly9nGX0wsakdEMP GGKSmP0EUB1eZoyO0iL7wGyEZBRauWg7vbbTK4qp/RfaBlY3fIvZsiNmaalgZQA+N+l7jQ1Qg7iPc 8gfWy+YycAYaDOLb0bBc/LpX5i0Qo7WNUd0GhE3dz1n0T3dqiF71rxXaHAtOls7YiEkdi8Lx7JRcX yUEIl1qlUXIP12SFhGErU23dRoFObSLYJPBJzwW7ln1wif1qtkbBvZDQKZBqycjmGzkxAl3b21nab o2Lqa32La6wd4H0FilFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rGinZ-006SMV-2K; Fri, 22 Dec 2023 16:54:57 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rGinP-006SJC-2u for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2023 16:54:49 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40d48304efdso3968905e9.0 for ; Fri, 22 Dec 2023 08:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703264085; x=1703868885; 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=CivDZddIU1oXgeJl9yAANMyChstbAynIX36qq2yqXq0=; b=YhERjDNTDk8EddSTqpyDDUPmLxWIasN4NZqNBKM5kqloi8s/U1Ljutl4v/h0kvehnN Z9oDRtgnXOD5xwX0b9RWPkiTrkZonGxxdES28j+f8IPFriCbx2YW/coD6wY9ckSU7uy4 CZ/6JHo6C9Jrz80ql+2sYXSTN1DKrnX2Dc7VGOCL6PYbvnUaUCLIjYpOwncRbh0g4K9+ YYI7S3QYF//j9V6vGzSH4mw2L1t96IKh/N3NslQlg3cKInd1sVpgIpzLAEBWksPVtW0d LEB2yvfUu2Zmj93JbtJdKBvmpi4QUieNhY0SIaPKDz0MNKhphetMOIWKMjut7R45S0kL /lAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703264085; x=1703868885; 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=CivDZddIU1oXgeJl9yAANMyChstbAynIX36qq2yqXq0=; b=rwtX1ak65jpDdyKruWJ9TkDm6ptRH4NNX7xZfRfksbeRG0iKVPoz75gw6Oy6ocKgQd C7bcR+5dKkOsQSuLJJJK0S9txov7cGIEmAwF8OuwIJ6RJWtQiT6PJpPS+aj4HwibDzrv 1k4/kxTHn7SSl/ovSA9Vso4wCLPwt8mR+tt9ut+ihQ7ik8MLo8IxN300WZm3ktGJ8ddb 63e68+aBEXe2XPqNJUaXjVF3jQEIDfkv25iX4O02DWKc0bEwZBHEJrTY4/WJZBEOsT6v BxjM+YxMrXtIB+6wRFUczYa9nhg7sdd3a2pXYT7sPZPn8JUJYPE5alrv/mcLPHtaOIgA s8RQ== X-Gm-Message-State: AOJu0YxMCVWHUcwgWF9yF6HLhHL/4l48jrc+QkfZtJBVen4rV2E1Do36 fvr5izcjCHCIrTU0fizNhFgidSEIsrYw9A== X-Google-Smtp-Source: AGHT+IEAvkSh4ddQHp5zuB6x9sxaGJ/xdv0XpTipLUPjLXBv1HMvTHIR8c78uD3+cHX5A/MeMODLVw== X-Received: by 2002:a05:600c:1d26:b0:40d:2876:def6 with SMTP id l38-20020a05600c1d2600b0040d2876def6mr971581wms.45.1703264085160; Fri, 22 Dec 2023 08:54:45 -0800 (PST) Received: from gpeter-l.lan (host-78-151-55-40.as13285.net. [78.151.55.40]) by smtp.gmail.com with ESMTPSA id i15-20020a05600c354f00b0040d378510adsm10138520wmq.1.2023.12.22.08.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 08:54:44 -0800 (PST) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, conor+dt@kernel.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, mturquette@baylibre.com, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, saravanak@google.com, willmcvicker@google.com Subject: [PATCH 3/3] arm64: dts: exynos: gs101: define Multi Core Timer (MCT) node Date: Fri, 22 Dec 2023 16:53:55 +0000 Message-ID: <20231222165355.1462740-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231222165355.1462740-1-peter.griffin@linaro.org> References: <20231222165355.1462740-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231222_085447_937086_7F26055F X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. 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: Peter Griffin Reviewed-by: Sam Protsenko --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 9747cb3fa03a..4b09e740b58a 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -292,6 +292,26 @@ cmu_misc: clock-controller@10010000 { clock-names = "dout_cmu_misc_bus", "dout_cmu_misc_sss"; }; + timer@10050000 { + compatible = "google,gs101-mct", + "samsung,exynos4210-mct"; + reg = <0x10050000 0x800>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&ext_24_5m>, <&cmu_misc CLK_GOUT_MISC_MCT_PCLK>; + clock-names = "fin_pll", "mct"; + }; + watchdog_cl0: watchdog@10060000 { compatible = "google,gs101-wdt"; reg = <0x10060000 0x100>;