From mboxrd@z Thu Jan 1 00:00:00 1970 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 C2E77CD98F2 for ; Tue, 23 Jun 2026 11:00:59 +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-Type: Content-Transfer-Encoding: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=I99O42iXPPk4ERNu5/Q7GEuKdJzwmOOwkWtFkf8yK+w=; b=N9ff1v74vCAVwPzYvg4C3mFDcn mgKdMtGng9OJJZhMM3aoAQAlcdtQNlvIvUf64OsR9jGqgvvp1ZgT0HhjCG2l9a6HT3qY6jZamMpnc exFSbVIuBQ23hJLUDSNcFNRDNOud4cSn2v292tq5i4n3FY4v2kr97y/LOOUwnqHdlxh5lfo2UpnhY xTRKmOX7Vd+KWZ3LfQ7o03tVZ/2VBGEzSm8mVrRePRZdIMI4pRaY7okOFwaruuMtitX2EsDw/Rvml vFveecJLnwWUTPhehYcZfe8QrePtNxb7Mu3QlwkriBwHG0a5VgC4fL/265CSkhgJix1YtdP3Mn4Cr q/aTmFmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wbys8-000000068CP-1p3y; Tue, 23 Jun 2026 11:00:52 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wbys5-000000068AG-2Mj1 for linux-arm-kernel@lists.infradead.org; Tue, 23 Jun 2026 11:00:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1782212450; x=1813748450; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xo5iwXFK0E9pHQdJ+Y5ZSzvvpbR4uPF2/cc1u7E9VuE=; b=Ic1W16XGzvKVZxuWN8UY9ITrQz6ka7hvAw6oLZuv3aDRRkb8sjrTF7A7 Ga3txG6dPSUT3dcs105vtoTLb3hIM/D8lT3CM3c97EeEbUgKJkn+bEuL6 WVsU7Kwhg5K6lHrGb+/gBigssTrhZm3GLv9GHpBW799eVXFHCBubgNxhF 4C48gcimqIDzbXdqDoZvnLJIdPSqNPbgEA1hSv5IryfvzxlRvqraWLd6T jKF70thupFlbQ95iSSTAfBi+LmR6lkqd5/2hAJ2U2vEww18gFH+OILBp8 BZ79vhGZnw/zO9W7YvZp68Byv9kvJL/eGkgkGbKGbSpkBK/U7St2DxmHL A==; X-CSE-ConnectionGUID: HG4UDu/ESsOEp0yyfbVe3Q== X-CSE-MsgGUID: aC55ILazSgi4ypNQoeKrvw== X-IronPort-AV: E=Sophos;i="6.24,220,1774335600"; d="scan'208";a="58700379" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Jun 2026 04:00:50 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Tue, 23 Jun 2026 04:00:48 -0700 Received: from che-ll-i67070.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Tue, 23 Jun 2026 04:00:42 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , CC: Subject: [PATCH v2 06/12] ARM: dts: microchip: sama7d65: add cpu opps Date: Tue, 23 Jun 2026 16:29:38 +0530 Message-ID: <20260623105944.128840-7-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260623105944.128840-1-varshini.rajendran@microchip.com> References: <20260623105944.128840-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260623_040049_665485_0AFB43BF X-CRM114-Status: UNSURE ( 8.48 ) 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 Add CPU OPPs table for SAMA7D65. Signed-off-by: Varshini Rajendran --- arch/arm/boot/dts/microchip/sama7d65.dtsi | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi index 67253bbc08df..94d49e20dc79 100644 --- a/arch/arm/boot/dts/microchip/sama7d65.dtsi +++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi @@ -35,6 +35,7 @@ cpu0: cpu@0 { d-cache-size = <0x8000>; // L1, 32 KB i-cache-size = <0x8000>; // L1, 32 KB next-level-cache = <&L2>; + operating-points-v2 = <&cpu_opp_table>; L2: l2-cache { compatible = "cache"; @@ -45,6 +46,41 @@ L2: l2-cache { }; }; + cpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-90000000 { + opp-hz = /bits/ 64 <90000000>; + opp-microvolt = <1050000 1050000 1225000>; + clock-latency-ns = <320000>; + }; + + opp-250000000 { + opp-hz = /bits/ 64 <250000000>; + opp-microvolt = <1050000 1050000 1225000>; + clock-latency-ns = <320000>; + }; + + opp-600000000 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <1050000 1050000 1225000>; + clock-latency-ns = <320000>; + opp-suspend; + }; + + opp-800000000 { + opp-hz = /bits/ 64 <800000000>; + opp-microvolt = <1150000 1125000 1225000>; + clock-latency-ns = <320000>; + }; + + opp-1000000002 { + opp-hz = /bits/ 64 <1000000002>; + opp-microvolt = <1250000 1225000 1300000>; + clock-latency-ns = <320000>; + }; + }; + clocks { main_xtal: clock-mainxtal { compatible = "fixed-clock"; -- 2.34.1