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: 837298 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE371198A03; Sun, 20 Oct 2024 18:22:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729448522; cv=none; b=H7U9OqW7ga1U4LfK5bd1Sa71vcpu6mytDr8uW1mTuARlvX8U+kE3f9ByfNRPJ3boDjRsjfZm1W6i+TsSZkwfuE7OQxh4vRa2Qu8Ctwd5JlYUFmKsfednpc98h4Yg89I5XtlPD1j+mwcAxXqwLLqnB+Igu9NTSrBpfUGHln8d4Q4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729448522; c=relaxed/simple; bh=DzDpSRyC88LkWgWqyUjnlZ0cKOBn/GRahM5cLjCtms8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mrym1Gr2O84i/c9JyCJWIuzVBcYX5gEnP2MdkI9Go5ATj8CKVn53u9ffawYkWYo65XQz+LtvMWNbK0E4qZXKRl+L9easGIyWUBrwDnWH90dSrbQhPbZbB+utx5Cr7i3XLu5x94I9GIPaGx0hinAe28/bMMG/fQmTRungUAxeONA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iWqgrOsw; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iWqgrOsw" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-43169902057so11865375e9.0; 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=vger.kernel.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=iWqgrOswau29lQ1rkcR1yInhY28A3ZaPkYItglqsBY1twV8KFSUZck8detSQRpIOi3 GeuDz4Ax4SVdbhCRJf8yc2zU4KiCUu+WP9Phl3gGrV33xrRsTdOKUw7zkV5ooltco69y r1u+zXmdLz/RAzrwv+PJGzE+kY+8GGPqWF1amnoXUkn/Qvq5g+5DGt4IZHDgTkFEVVYg ZIB2jzFIuTpviNGksJ1mPI0jyLPYRjtdA8KRgZcmuR2WK8eqLd3chLzYd+IHw/itH+Ji VNqRvMZKGWUWNt9Ms/MBCcdPnYCLwsvz14lcA3k5XFQeeG9OjqlIOeXEvUSSvQmOLka5 0YiQ== 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=ktbvLynD/Can5un6n81bDKBw7Lz62eAmxmjdaP3QlQDSwT6NvlIP8QYjP8rIlgkj6A fSRrNZZkUP+KBB1mING+4T+95GOuTsJLqrH3bcZ3oOr/9mlVAXk2MwfrZj/bi9OEYtvV DLo8zHfEC6qyug1gK88BBqtqITCpPtu3hdZME5vh8M/pHOf9VbaXsdMUmF57c9m16UJ5 EHKzjqSvX63EQn+3Jys8YY3GI3NAYOXbKGM7ZYEkM1FRGiZl0fet81KevPVoWe4Ca6UU tmZB67lzoQofxroHlNV4kEKnBa3KnzQJD2cVNRUOlX9iWNmEbWzQTU0hUBEpHy0xP9ko e/fA== X-Forwarded-Encrypted: i=1; AJvYcCV+3Lat4LgtkjTN6UvK2hzFyNZlSwi2Es/6l2l2+/SiMxgCyzaM6fcOOkuAIi0DbhJ+fi87sjBo1zgRHC1F@vger.kernel.org, AJvYcCVpvwjhbKIId+Y1ubvBWr5+u8zH6rdnsT201AQ/dhxPkXbfxCTB+At0zjVy+zPHv5HMQwIqm/Ek4Pji@vger.kernel.org, AJvYcCW/4Zmr98zXAl7SksLERnv2eqMQgua82ABJGEeS1jxehwUsGwlGBYC0gaX9z4rXYzXSERbY1iDnxdXhLHoFjKvoxyE=@vger.kernel.org X-Gm-Message-State: AOJu0Yyln5nK5Ohlaq35WSxEgfEe4HoMfbQSobwznpW1TWw52kLCFwUy 2/YWVzDlmVwU+z9SJVs8ElFQVCXho2Hai3kQHvQXI+axhANYdK4D 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> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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>,