From patchwork Wed Oct 23 09:17:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13846841 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 8712DD2E039 for ; Wed, 23 Oct 2024 09:44:24 +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=zF5Xe7iQLYb35u4BeSJAYQ0TqAMFI45ZoGY+KeHBwBw=; b=VMQl4TTUf+dLomYUkNZYWVg2Dc EnLv8paM7Nu0u6XLmUgGxkneDB1N+J68X9SP+cuOakRGsQ9oOTBYrgrQjjoLoeSm0mPA3wCikWALv MBuw7/L3YINEMSPvhD0vtMGZ1iMb4Jslg96GGCFI8KpYxt2Dil1tTGSv95GYMMk145SPRS7yIGxlZ Tv9muvqD7YHMeOxVYNVwQxP+OhvZ3E8vLlxTYjBPrWlNx3MmJqprzzSK1L15GYdXj2/M/7Ob6y4Uo uFMCaivgjnuF5FG317EQnbGl0CMg4Vg7ULNclWx+hUmr/nVq0b9z3QueNZOsvMXiMZfhkTNDGbdiS z3Gf84LQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3XuX-0000000DqUC-475z; Wed, 23 Oct 2024 09:44:13 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3XVE-0000000Dkry-1Z5w for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 09:18:05 +0000 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5cacb76e924so4720832a12.0 for ; Wed, 23 Oct 2024 02:18:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729675082; x=1730279882; 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=zF5Xe7iQLYb35u4BeSJAYQ0TqAMFI45ZoGY+KeHBwBw=; b=Nt9XEKPlVZtycKePay0s5swJA+CKp+j35ritR3/foqdjushI/Vv41eQq1yUe+KJSH8 wocVTE3gK9T+ELUQyx00jCblvT0tJpWUqpIELAVHux3n9pETvRUf8EQzhCflmlCUXfyW m0o+OP0SejbOxtvGSezRC73yaKXThuDpYy0hDQrhAqmYUFnJ0RKuf22ZMAryPYezSQ4H pO5iK0k6EXbeUuNXdZJx23lWww6dtMdSPJiFPzFNfalgtrcc/0iLg2WyCAzmjngJVNc0 IOSLAumGE5YcJHJMLqTou95pN3QPBumDmDprEnU/mAOTStJdpNrDcgVDafwa0ZgUUXmf kCeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729675082; x=1730279882; 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=zF5Xe7iQLYb35u4BeSJAYQ0TqAMFI45ZoGY+KeHBwBw=; b=O7HTeWVHar2YAMrGcwhwcpIolOWCl+UpHpBKW/cwlYWHsfvXKPwqh6WNnq8E0duZer +3Iirc9za81W2ASRiydZ0/DSt2+5BlmbkjP7J93v/vEzrnMu8YSPmrSZ8+nuzRTBaDnN rv+oOKlqhGl1GyhtaCRojp0RPsC1q1ncISG4+hrrPr6kZ82SROxbzw1B0c1fxb4gJEU0 LycAVCxqyrlfiJzv2sxkvbTHgERrMn0DT3s7rAITZJkBhoO/014ejozrDAkityQ7/tcx ohzGM05hLbyVytWk22gXYKF8igfFPgSueqsauBxBqT+AclVxI9b7tXjMg2y3//i/WLCV z7SA== X-Forwarded-Encrypted: i=1; AJvYcCXutmmQVQ79OzumVIw9GJfdHhAb4pB/iSEY1FiH3MUOtz26IJVUaH7Cz5jLcQbpIOQy4deH9N3LSM6qroUSJ4m5@lists.infradead.org X-Gm-Message-State: AOJu0Yzf8g1JssCukqP/GgpTpYgjycM4zue8L4IAnwVe9XMyEzlSIT16 WzlWnR9uuBYQkrbHAJGCWuOepZHnuZXe+5VKvJkMXSf1kAbd4RTr X-Google-Smtp-Source: AGHT+IFZFkiRyZCTTOggy6qIT3PwCb7eOhX/wvPrsD6BpgLkVRZY6bAlpANckZmH2/IzBf+nDKpzYQ== X-Received: by 2002:a17:906:6a28:b0:a8d:439d:5c3c with SMTP id a640c23a62f3a-a9abf851b96mr178607566b.8.1729675082225; Wed, 23 Oct 2024 02:18:02 -0700 (PDT) Received: from ivaylo-T580.. ([77.85.230.22]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a913704easm449177466b.107.2024.10.23.02.18.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 02:18:01 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] dt-bindings: timer: exynos4210-mct: Add samsung,exynos8895-mct compatible Date: Wed, 23 Oct 2024 12:17:30 +0300 Message-ID: <20241023091734.538682-2-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241023091734.538682-1-ivo.ivanov.ivanov1@gmail.com> References: <20241023091734.538682-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-20241023_021804_484211_784FE39F X-CRM114-Status: GOOD ( 10.74 ) 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 Just like most Samsung Exynos SoCs, Exynos8895 uses almost the same Multi-Core Timer block with no functional differences. Add dedicated samsung,exynos8895-mct compatible to the dt-schema for representing the MCT timer of Exynos8895 SoC. Signed-off-by: Ivaylo Ivanov Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/timer/samsung,exynos4210-mct.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml index 774b7992a..02d1c3558 100644 --- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml +++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml @@ -33,6 +33,7 @@ properties: - samsung,exynos5420-mct - samsung,exynos5433-mct - samsung,exynos850-mct + - samsung,exynos8895-mct - tesla,fsd-mct - const: samsung,exynos4210-mct @@ -133,6 +134,7 @@ allOf: - samsung,exynos5420-mct - samsung,exynos5433-mct - samsung,exynos850-mct + - samsung,exynos8895-mct then: properties: interrupts: From patchwork Wed Oct 23 09:17:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13846843 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 7DB8CD2E03A for ; Wed, 23 Oct 2024 09:46:01 +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=TukqJrYsDFG1DJAJmueEwaHQL71E3jPssuf+t5HzkMw=; b=LIPfd3BYMH+2RJ2yOuHyJHW0Ji Gs8xMiznrLBHWiyQX3aS/A2hgcm6zvpfJsfHKbBA7IPmwkFQdT+zNptK4c3ZsVAhORcaVcarEeaU1 pWeJVFUHBYXx52TsO+mL8OaKoRXkpnRy2xv+NUAKy0Nhq/aDLhglfxUJ17uy+4+TAzScVFnvNq+6j cDIZ/AY3wcQrN3Y/IZ4z6O/tMne9r2JDxZPC4n4/jUHptwmCpAWBVan7+JW7ZiC/mGrw2vnbb1Hg5 Pows6Ju2kQr7zIrNkWBuusGpsOmENkuPqH9Zo1+EmfIKqcX0qETsM0h1RR/jdmjE8ZxwKoApGaz3V 0mXf4Twg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3Xw5-0000000Dqta-30eP; Wed, 23 Oct 2024 09:45:49 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3XVF-0000000Dks1-1DgJ for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 09:18:06 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a9a2209bd7fso871103466b.2 for ; Wed, 23 Oct 2024 02:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729675083; x=1730279883; 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=TukqJrYsDFG1DJAJmueEwaHQL71E3jPssuf+t5HzkMw=; b=gY9pEL68o3pyzMsnNZguJ0RxEzxxo8ZjaH4FeN2Aqw6sxFS7d1S39DrfyrutpRsr3J y2HNa5yWDWMC2XTdHgzB4kD0TEh0cMVzbxgQs7rDBIANRSwK0DLouZ/Yl/tHwtqck8yW uoN9xlIejKVVYkTzGly/LtY/fhKhQRZeS5uKv96GwTFnGIGX/Q8wO7r9vsMyPD68KBlM U4Gd3Msz2dMESoEhP2yIQYWiL0wDwCeEg6jweOLGPbZKov4V1/Mkpga/Ea6+dYo8c8cP JoS77sLClcLlNS0nzOYGj+XYpqiyY13tD7MhZp0+7Bk+7BURhY3+Y4KP5zhyRXoFlWxp 0FeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729675083; x=1730279883; 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=TukqJrYsDFG1DJAJmueEwaHQL71E3jPssuf+t5HzkMw=; b=D2BpFtgfRZzCOXsnSm8yTQiC8JX4geI2nIdFFt4RVp1V7EHPJvAI3L+ymDbvxVlvkw kZp3V0Jne2OZy+doR1R5d+6k0yGSIS6edKzv/yJmEQukLSrtaSC8+qAqsF06fvbyI7YU Vp3W2zeipNOFerufAYYhpgXVy3sW1O/MdjnXRryP+FBLjx8e0+MIK2Ity+KUMvgsZk4f /hjCKKd9PXuce7W3l/nYodWFudHkbslp7IZYRpPTQ0RN8R+vWdIuExVUcQ5xPm9E1XAO g48+wMHG0uEM51kGhVer3LvR6mUcof4YXrZv078RgrfqgPKUMS3Mxi+ERL8Jf0uZn80q liNA== X-Forwarded-Encrypted: i=1; AJvYcCX8K5AL+noPRx72yL9v46fUneI25i2ZK2auwyw7M/KoMnHHH+TPNdJBQ9EYiLS+X48QatVUFBc28G/zbpB6CdE7@lists.infradead.org X-Gm-Message-State: AOJu0YxYIgoKUkzB0a9HuG9EBU5V6DggHLqGSEtXPeCH9/RdeE7eHQi5 uInPxE9JZNDY31/uESuUFc45R5gEv/2ulyKF/984v88B/D9gifP3 X-Google-Smtp-Source: AGHT+IHZv/+oJUevS4s8PoL1LtsFuNYgQymnDcOySsDEjVW2EW41HdvXfoHIx9nX4R1+73GpfVGcFw== X-Received: by 2002:a17:907:728a:b0:a9a:188f:efd9 with SMTP id a640c23a62f3a-a9abf8a828cmr166012466b.29.1729675083365; Wed, 23 Oct 2024 02:18:03 -0700 (PDT) Received: from ivaylo-T580.. ([77.85.230.22]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a913704easm449177466b.107.2024.10.23.02.18.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 02:18:03 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/5] arm64: dts: exynos8895: Add clock management unit nodes Date: Wed, 23 Oct 2024 12:17:31 +0300 Message-ID: <20241023091734.538682-3-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241023091734.538682-1-ivo.ivanov.ivanov1@gmail.com> References: <20241023091734.538682-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-20241023_021805_350380_2F3603A0 X-CRM114-Status: GOOD ( 11.27 ) 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 Add clock management unit nodes for: - cmu_top, which provides muxes, divs and gates for other CMUs - cmu_peris, which provides clocks for GIC and MCT - cmu_fsys0, which provides clocks for USBDRD30 - cmu_fsys1, which provides clocks for MMC, UFS and PCIE - cmu_peric0, which provides clocks for UART_DBG, USI00 ~ USI03 - cmu_peric1, which provides clocks for SPI_CAM0/1, UART_BT, USI04 ~ USI13 Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index 223ebd482..54037b0dc 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -5,6 +5,7 @@ * Copyright (c) 2024, Ivaylo Ivanov */ +#include #include / { @@ -159,6 +160,15 @@ chipid@10000000 { reg = <0x10000000 0x24>; }; + cmu_peris: clock-controller@10010000 { + compatible = "samsung,exynos8895-cmu-peris"; + reg = <0x10010000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_PERIS_BUS>; + clock-names = "oscclk", "bus"; + }; + gic: interrupt-controller@10201000 { compatible = "arm,gic-400"; reg = <0x10201000 0x1000>, @@ -173,24 +183,91 @@ gic: interrupt-controller@10201000 { #size-cells = <1>; }; + cmu_peric0: clock-controller@10400000 { + compatible = "samsung,exynos8895-cmu-peric0"; + reg = <0x10400000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_PERIC0_BUS>, + <&cmu_top CLK_DOUT_CMU_PERIC0_UART_DBG>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI00>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI01>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI02>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI03>; + clock-names = "oscclk", "bus", "uart", "usi0", + "usi1", "usi2", "usi3"; + }; + pinctrl_peric0: pinctrl@104d0000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x104d0000 0x1000>; interrupts = ; }; + cmu_peric1: clock-controller@10800000 { + compatible = "samsung,exynos8895-cmu-peric1"; + reg = <0x10800000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_PERIC1_BUS>, + <&cmu_top CLK_DOUT_CMU_PERIC1_SPEEDY2>, + <&cmu_top CLK_DOUT_CMU_PERIC1_SPI_CAM0>, + <&cmu_top CLK_DOUT_CMU_PERIC1_SPI_CAM1>, + <&cmu_top CLK_DOUT_CMU_PERIC1_UART_BT>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI04>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI05>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI06>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI07>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI08>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI09>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI10>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI11>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI12>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI13>; + clock-names = "oscclk", "bus", "speedy", "cam0", + "cam1", "uart", "usi4", "usi5", + "usi6", "usi7", "usi8", "usi9", + "usi10", "usi11", "usi12", "usi13"; + }; + pinctrl_peric1: pinctrl@10980000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x10980000 0x1000>; interrupts = ; }; + cmu_fsys0: clock-controller@11000000 { + compatible = "samsung,exynos8895-cmu-fsys0"; + reg = <0x11000000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_FSYS0_BUS>, + <&cmu_top CLK_DOUT_CMU_FSYS0_DPGTC>, + <&cmu_top CLK_DOUT_CMU_FSYS0_MMC_EMBD>, + <&cmu_top CLK_DOUT_CMU_FSYS0_UFS_EMBD>, + <&cmu_top CLK_DOUT_CMU_FSYS0_USBDRD30>; + clock-names = "oscclk", "bus", "dpgtc", "mmc", + "ufs", "usbdrd30"; + }; + pinctrl_fsys0: pinctrl@11050000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x11050000 0x1000>; interrupts = ; }; + cmu_fsys1: clock-controller@11400000 { + compatible = "samsung,exynos8895-cmu-fsys1"; + reg = <0x11400000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_FSYS1_BUS>, + <&cmu_top CLK_DOUT_CMU_FSYS1_PCIE>, + <&cmu_top CLK_DOUT_CMU_FSYS1_UFS_CARD>, + <&cmu_top CLK_DOUT_CMU_FSYS1_MMC_CARD>; + clock-names = "oscclk", "bus", "pcie", "ufs", "mmc"; + }; + pinctrl_fsys1: pinctrl@11430000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x11430000 0x1000>; @@ -213,6 +290,14 @@ pinctrl_busc: pinctrl@15a30000 { interrupts = ; }; + cmu_top: clock-controller@15a80000 { + compatible = "samsung,exynos8895-cmu-top"; + reg = <0x15a80000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>; + clock-names = "oscclk"; + }; + pmu_system_controller: system-controller@16480000 { compatible = "samsung,exynos8895-pmu", "samsung,exynos7-pmu", "syscon"; From patchwork Wed Oct 23 09:17:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13846844 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 85A70D2E03A for ; Wed, 23 Oct 2024 09:47: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=kfSJ3goGyuRaHJXch2lqsHfgL1Ebv3D8AvFeN2iYsaQ=; b=oxmRhWH+vVk7akJDU9RjB0w5KA tOYfapC3fk9EUlm5yTXawzGPxb98YNrd3KxVLXTeWrXBMylkYTZAl0K/DpIycEfcQDr1ADWZmjYl+ 1Q8S6LVJl5N5sDL3bGW5RDHU+opym/GsIMuBmTuuj/6x4fnBIIpAyB4MuTVTuBup/hNZGZGDKzZMB dOCMWTa8Scdzi40RV8sYEd1/aHW79AKJ09QZWn8aHKChzNHlGfcP5Ihqo7F7VXsQGwrz++/nvrqXg 5y5ZeiS9GK+6aIoCPukuhhLS0VYCIFAdy10vMVfE0YGbsADGMFtmUQ9Vx/yuKCwoKDra8n7unPjEb iNv8olQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3Xxa-0000000DrHZ-0OH6; Wed, 23 Oct 2024 09:47:22 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3XVG-0000000Dksk-1ezl for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 09:18:07 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a99f646ff1bso781121366b.2 for ; Wed, 23 Oct 2024 02:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729675085; x=1730279885; 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=kfSJ3goGyuRaHJXch2lqsHfgL1Ebv3D8AvFeN2iYsaQ=; b=U6fXcNvJsMAHDwHaxduoUSWYy+DjFn7o3C6W0RG4EeE5dKY0uIIjxblIaMz4b7KmtB WkmC9TYF4tJ6AyA7xlJdoDBqNR+fbhsi9mo76EtWpoT+yboOWGzCA6ZpkvT/G7BFXJ8m 6ezgyXDX+bxf1Duz2YEA80vVjzWi7ridNCmvpkc8Tie47IQxMRsUYA7A92nertpTmXjC Akbm0pT8UGl351sFboqta3muB5RHJZ3OBYf3xU8UpIjN3ep8zoW8UZ0Rll40BQdQcUnh 9SWoBlo7DPHW9h7yrBglwDWvxdxFylZFA0i5dRYigU1sHjwrGo+0HJOtxAh6A4XEeGTl nqVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729675085; x=1730279885; 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=kfSJ3goGyuRaHJXch2lqsHfgL1Ebv3D8AvFeN2iYsaQ=; b=imixY17fYcj/IHe8p6yqpiS7bfTVKksAfxYhcXizvxlemKCuBeoX5Gg0K6JttsedPC BiPuTu9oweFqHNl1JFvJPkF0WF3I3J0wCbNLok9nyPcjJ038JoNdnaZzWFcFATzYKLsa Nu0is1/yWcrz9IUZeT6ipZVbmcqbGZuLwh7B2xY/ZS5gwj4m7QKtoTcVIvs2gg3WOjs1 yRasECRtvdscm6XIknNSn9c061nRcnsoJPMkT+GOwPgWiTj+kWWbUj8AZl7Z1H+j/ZsJ lDUXHPRIPC6pFGZzSzGq0D0SBkcNfhbh+D6Erhp8zN+NFMFvaM87xiSVcy/2gI3vsAZ3 8UoQ== X-Forwarded-Encrypted: i=1; AJvYcCWQ/Hw5PqU31fSPR/6rg9V53hPrxxDWSud8AH5XKK5pISOykmYNHKOgHh6V4GvXMwJQ0JImMHBbkKbdXikLx50L@lists.infradead.org X-Gm-Message-State: AOJu0YxiDYVUf5b6O6+VfyYBpIQGYr4WaRsHebP+hgqLBzPBbFrDZVO0 gbP1tXoNBJHa+OqcDCtShZvZYQOHWCBOE07kzkTHJLtzGPhfO++2 X-Google-Smtp-Source: AGHT+IGYWODJQDqAaPTqsDeOmTzV4/QsOyea2V6dUAxZoTfvJg9cVb3tOVnwjU1Btpto5hYmv1Rgog== X-Received: by 2002:a17:907:97d6:b0:a9a:3fd8:9c95 with SMTP id a640c23a62f3a-a9abf92ccfdmr176955066b.47.1729675084716; Wed, 23 Oct 2024 02:18:04 -0700 (PDT) Received: from ivaylo-T580.. ([77.85.230.22]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a913704easm449177466b.107.2024.10.23.02.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 02:18:04 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] arm64: dts: exynos8895: Add Multi Core Timer (MCT) node Date: Wed, 23 Oct 2024 12:17:32 +0300 Message-ID: <20241023091734.538682-4-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241023091734.538682-1-ivo.ivanov.ivanov1@gmail.com> References: <20241023091734.538682-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-20241023_021806_481123_18DEB378 X-CRM114-Status: GOOD ( 10.46 ) 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 54037b0dc..e6c8a4966 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>, From patchwork Wed Oct 23 09:17:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13846845 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 DB435D2E03C for ; Wed, 23 Oct 2024 09:49:05 +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=o3oz7XzRnYr4BG8E7Y3NV1EOsqUppoM4Gh7wTtLxU/8=; b=ZOHBMSyL/B2F2Wao6EA1CH5jB0 1D4+kMfOcYswAuwxsdyl5TLMzd0Rs0K/Yb2jlNKe0981nIbhLdWtloH4si2fJ+r8RS0V4oILKNbNc bLoLfJGhGoR8wGOJkrx0WmxPitQvZm/j10JscJTzdDWi2XAI3I4PI/FEighf1cJXGgriBJ/RgQhr2 2eIMR2Xjh1k8tdFbjMODClGY71eVnG2vUFHE1iT4qAMYTF0t4njhz37qky2ostuvcm+ovG7B2veIC 8spnzKOm43v227cbXjRnksxZbm2MVjB1qdigB+/xBCpnqkgC7Sy2xM6RdifSRmyli5k9HKzDGGyMH uHOSgZWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3Xz4-0000000DrWl-158X; Wed, 23 Oct 2024 09:48:54 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3XVH-0000000DktB-1gH2 for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 09:18:08 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a9a0ef5179dso953197466b.1 for ; Wed, 23 Oct 2024 02:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729675086; x=1730279886; 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=o3oz7XzRnYr4BG8E7Y3NV1EOsqUppoM4Gh7wTtLxU/8=; b=DOCEfSJEbprCsQopZCC0zpggH2pcIFxgQ4f9P/yNmv6kJNe8nPqcW7qtjJZG0pd1Rl q630i5Fzm+7IpNRKN/G0k+1vSCLATqO+G9Pp7rrKyhRM8ExjoLMEzINogyyT84PqbGXg 4mEOazM9Jc+yJSoZh+zy6Ebx0Mr6FdiIO24P4cA9/t3V2eJjeayYZKWAaRPPZIH02jzn AuJq32q2LdwypRqkiKWNfmY0bqkP50xWueobeeujTId7MkiDXqn1JRoVsCG8fgFx7WvT WpeWMF1io+4OywDuQW8wa8YoduPyLWbwU9bFq2eDta2uRyRGNz05UjdBbXBDTgybSAdR V2lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729675086; x=1730279886; 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=o3oz7XzRnYr4BG8E7Y3NV1EOsqUppoM4Gh7wTtLxU/8=; b=AhuRR/vc/KyC1oQ3kE/KXuoN73eLELtkhwn5y70/Ex6m8fFD9/QzjBuYk22My75/d+ mKuefp6tcofWAvtLfhTpKGI/VlAqdNX2Q8evi2NCVGcoBQo7iW32z5kR8b5KfyHEkbej i+0Z6dD+9LQk4vN2iRE8hwgjd3TFh2lAqWeY72IN3G0/+/23LSBkYH5lvr3b4+pZx/g0 3rfMMTEhRfnBvhiVwuUry+qBoxgV6nOqadCshu3V2AlNUZ9emcEaDrEMzB0Tg/VwRRLu YeA5ssMRm3TicfGQqqnoJpmafQE1tUOh8HK0QN6Kt41PTWdNEhej5muALJx51lzwU30L a4DA== X-Forwarded-Encrypted: i=1; AJvYcCUPYapauUWBD55gs4LEQFQp0UZUBljSxZWrwu+ckyQQ1hLrdFIzLVhFg9Mz7nBZ9AWm/HlV8RNPdZ+lARlmfnGw@lists.infradead.org X-Gm-Message-State: AOJu0Yw+43SSVouwd6ALrNsHQ/8ZQclfvuuxuwwueJhXk4B3cfQ1eEkN dL3AqB+G9k9WSZd2pLkUq/wI7t1YD97LdaIrC6O5ydVEsOHtEQKD X-Google-Smtp-Source: AGHT+IELm5faha5fBkO+OkQZoZplpoZtIS6VuriIaHnZFiemjbiSkn2GUdkWdEFBi9/ZsZQzY2BP8Q== X-Received: by 2002:a17:906:c150:b0:a9a:2afc:e4e3 with SMTP id a640c23a62f3a-a9abf92d226mr174401966b.50.1729675085910; Wed, 23 Oct 2024 02:18:05 -0700 (PDT) Received: from ivaylo-T580.. ([77.85.230.22]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a913704easm449177466b.107.2024.10.23.02.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 02:18:05 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] arm64: dts: exynos8895: Add serial_0/1 nodes Date: Wed, 23 Oct 2024 12:17:33 +0300 Message-ID: <20241023091734.538682-5-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241023091734.538682-1-ivo.ivanov.ivanov1@gmail.com> References: <20241023091734.538682-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-20241023_021807_468212_5C6650E1 X-CRM114-Status: GOOD ( 10.94 ) 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 Add nodes for serial_0 (UART_DBG) and serial_1 (UART_BT), which allows using them. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index e6c8a4966..ad50cd4f6 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -218,6 +218,19 @@ cmu_peric0: clock-controller@10400000 { "usi1", "usi2", "usi3"; }; + serial_0: serial@10430000 { + compatible = "samsung,exynos8895-uart"; + reg = <0x10430000 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_UART_DBG_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_UART_DBG_EXT_UCLK>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_bus>; + samsung,uart-fifosize = <256>; + status = "disabled"; + }; + pinctrl_peric0: pinctrl@104d0000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x104d0000 0x1000>; @@ -250,6 +263,19 @@ cmu_peric1: clock-controller@10800000 { "usi10", "usi11", "usi12", "usi13"; }; + serial_1: serial@10830000 { + compatible = "samsung,exynos8895-uart"; + reg = <0x10830000 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_UART_BT_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_UART_BT_EXT_UCLK>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart1_bus>; + samsung,uart-fifosize = <256>; + status = "disabled"; + }; + pinctrl_peric1: pinctrl@10980000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x10980000 0x1000>; From patchwork Wed Oct 23 09:17:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13846846 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 9939AD2E03C for ; Wed, 23 Oct 2024 09:50: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: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=JWvqM6WbSL8yBJ9uIsQs4Y6elerLACIaBhqwIy3i/lM=; b=Q9AIsnKi16pYP3Fi6qwZwb/0Us dfJKRGulWPubRbobz0EsrnP32xuCP/bAzCT3uWZQEVBZP3sNxF/UrnC+Zng2dI0iEJz1C/d0A3ocD vyXhm+EhEO3hQeEKqwZuC9SNz0rLjS3KbakNSnrAWnRQObbJ6pNopGJFJMeSplV9kYLLBlrBUBUwb h/LmThnmFF1Ec0X0ojMaEnnYmMa3/gS2C3Z5XFAit2L0awwYgZrtCt89R9UfA6GTk2O/F4OCj0A+n HmrS+YaSVDAZhdXtfobLgeMxFSfdgLa16ULhvHpis5esSBU5YWE6B7/CdCpO2HlHyo5R2NcjOs+E6 GUpjsdMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3Y0Y-0000000DrmI-1MZm; Wed, 23 Oct 2024 09:50:26 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3XVJ-0000000Dktk-1RkT for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 09:18:10 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a9a0472306cso879346766b.3 for ; Wed, 23 Oct 2024 02:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729675088; x=1730279888; 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=JWvqM6WbSL8yBJ9uIsQs4Y6elerLACIaBhqwIy3i/lM=; b=VWz/zoaYuiretlJKMoCO8lzw6+fJooUMCmjMN4v83hNfEwR7MEE/ARaLfg+3UmGEZ1 aibRI/UX+eLda2ZLHEMWyDn7qQZfDcSnMxM2eS+jrRdk49TfYLVeaXL6PR77cfftTwmc x+u/nCV5hB/822lr4M6KMDIn/FjnLntYg3jdjpziztEWTcFVQzbZB5x0wIRtQYL+djF2 nnCRxcJuS5wgqUl4611PCztTlucIxpvTOeydClWwrXHbwTfVoNloyYW/hW6Cq7lKf7tP JWo/wAk/gUeJVqRLW4+EqMjr+S2vmDG70nKN6u82ywLnlQ4SFb3QBjYI7SeIiYrdMWef SDJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729675088; x=1730279888; 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=JWvqM6WbSL8yBJ9uIsQs4Y6elerLACIaBhqwIy3i/lM=; b=JeXXesVowlI7DBhvroj8Z8DXsCCM+oQlF3kOYrkb1VmJyFtBzoUgkT03w55b8KbmQ0 xbZhQwHe1O64byiGaRjUW4ESQmzbGXYJMzFuCnK4eCcpLuW00dniiGPX+IfHEq7ro2nh yA5pNitCfTpQLKfbW+Z0wQx6+STBL9/GjSaYixEeeZkCTSs43BBXC4DCC66QO03rkKmm BpK4Lt1fPce+f6es3FVzHvbL6r6Z1IsePt2DsdhoYte+crUGvyzgZxCVoQl4fPyXlrEk GOgQS79hC6//LbVW8lylIAXjGGGEiYOdoiT7OCKguNOcJJzkc0PGohxNqLVSLiZdPSil wUnQ== X-Forwarded-Encrypted: i=1; AJvYcCWyDB8aCikELQe0Uqd+Drgvu900VhIrUVX7jS+GHsphTAXBdk5ZtyMoJy9rEdik9wS3WGKSY/UERqq4r1ep7vFy@lists.infradead.org X-Gm-Message-State: AOJu0YzzJ6UPAGo1e+9z2B2HDBlbPPRK43vcXvNOsQ+wISTySrRXTdnI MmV0EreOXArZJ6w8p7lAisyKfk5Q5TBPEDIaBMgGnJ69eKeHyhs8 X-Google-Smtp-Source: AGHT+IHPZUT68y0TLIe4M7G298hT8apKCcI3+GCExQd/LS2JE80+P5LTZvCQS6qAE+vgvK7+YA2xug== X-Received: by 2002:a17:907:94cd:b0:a99:fce4:e993 with SMTP id a640c23a62f3a-a9abf8cea42mr144608666b.39.1729675087517; Wed, 23 Oct 2024 02:18:07 -0700 (PDT) Received: from ivaylo-T580.. ([77.85.230.22]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a913704easm449177466b.107.2024.10.23.02.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 02:18:06 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: exynos8895: Add spi_0/1 nodes Date: Wed, 23 Oct 2024 12:17:34 +0300 Message-ID: <20241023091734.538682-6-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241023091734.538682-1-ivo.ivanov.ivanov1@gmail.com> References: <20241023091734.538682-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-20241023_021809_411516_8FF7A1E4 X-CRM114-Status: GOOD ( 11.06 ) 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 Add nodes for spi_0 (SPI_CAM0) and spi_1 (SPI_CAM1), which allows using them. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index ad50cd4f6..ee393f4f0 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -282,6 +282,36 @@ pinctrl_peric1: pinctrl@10980000 { interrupts = ; }; + spi_0: spi@109d0000 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x109d0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM0_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM0_SPI_EXT_CLK>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi0_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + spi_1: spi@109e0000 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x109e0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM1_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM1_SPI_EXT_CLK>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi1_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + cmu_fsys0: clock-controller@11000000 { compatible = "samsung,exynos8895-cmu-fsys0"; reg = <0x11000000 0x8000>;