From patchwork Thu Mar 4 21:10:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 393088 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6388286ejz; Thu, 4 Mar 2021 14:45:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+kJ4Uwqla97Ili6LlQzAOXmStuMY6Nmx/UyEc7Hu+KMr5qKQiAw74fyHwNuAspgCjUMaN X-Received: by 2002:a17:906:40c7:: with SMTP id a7mr6597929ejk.109.1614897531961; Thu, 04 Mar 2021 14:38:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614897531; cv=none; d=google.com; s=arc-20160816; b=KZenqHiuxtuNt1o0BvzfvXNEZBwVLRALbkSPNyrP6Xq91Zv02N2R8PvFtB3FPmUEx/ CIv0qkkUxDACoJe6h2PcuaByetwBfP98otwxJG9o5JIfFEeErLQlLQv7TyJ0nkWjziiV wGzKVvdBABJDRzssFM4lYmlm+GggiYSNGtJ3eoXuFZEz4MUboQgcVK1GoXZor3nk1qsH 6ck30Ue7ip0rGChNeFYOOd1U8qjv4rWqfPyEW1oHXWrS5epE1InHzIiWQRlWJLiq5IQ5 shtiLnxIZhrZHAQ828FQdPtBoDqyVxhVw3F9jSutExcFebSubnARTYTZOvgCV40+3nWU S2sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9AjnsMgiuOgRIrqSEF6MNWOVhlGpziVU6+BSCfg+pB4=; b=hDi8dOG9M61Xgha+Cmqg5Q6DrbPTIgt4eDdSNWb0b/pzuGID6hH6fMejKeg3vDiJOg zlV9oWtqumkS4O0c054a+XbZnabKRdwoAB/548KwJNjLmQtwQ5X5VpR9Vtrr8qssnghr d+wIHpaWfYm+1mgyLeUo5xZFskR1uGwXpbbuYOZU0VHy1zLNzLDf6TT5DUIEGvporgj8 aMmeQi8JXuBkW3obdhHGI4WIzy/06snxHc2vDzN2ACmqkkzJJ7w4yuXMNFO68w5ukCuh DMTL2tjzqHZbos8f/IeFADiJzw1a9eruwEl5JQurWMNOfYeGP4mdeUFDh5ULMprR/XEc qllQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wW6LZy6M; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si527757edj.545.2021.03.04.14.38.51; Thu, 04 Mar 2021 14:38:51 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wW6LZy6M; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238114AbhCDVNa (ORCPT + 6 others); Thu, 4 Mar 2021 16:13:30 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:37726 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238172AbhCDVNL (ORCPT ); Thu, 4 Mar 2021 16:13:11 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 124LBP9R075211; Thu, 4 Mar 2021 15:11:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1614892285; bh=9AjnsMgiuOgRIrqSEF6MNWOVhlGpziVU6+BSCfg+pB4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wW6LZy6M0QiTi8oYVzyYtUM7lMp0j+S/i1vQYGNq5JBhFkqzN88hfld6qtbzYLWZ1 NLGjlPWfwLpq9ta4Azjw10AjMovChTYQidlsI+ufeTRGNafeisAV79vCdHrLAIOLZh /swT8FcJOx8pDUB2XTc+lnftS/yAjule6hDeoxYU= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 124LBPu8016976 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Mar 2021 15:11:25 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 4 Mar 2021 15:11:25 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 4 Mar 2021 15:11:25 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 124LBO5e040274; Thu, 4 Mar 2021 15:11:24 -0600 From: Grygorii Strashko To: Nishanth Menon , , , Vignesh Raghavendra , Lokesh Vutla CC: , Rob Herring , Kishon Vijay Abraham I , Tero Kristo , Grygorii Strashko Subject: [PATCH v2 2/4] arm64: dts: ti: k3-am64-main: add main CPTS entry Date: Thu, 4 Mar 2021 23:10:36 +0200 Message-ID: <20210304211038.12511-3-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210304211038.12511-1-grygorii.strashko@ti.com> References: <20210304211038.12511-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add DT node for the Main domain CPTS. Signed-off-by: Grygorii Strashko Signed-off-by: Vignesh Raghavendra Reviewed-by: Lokesh Vutla --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 80443dbf272c..0cf727e3d1e2 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -476,4 +476,19 @@ ti,cpts-periodic-outputs = <2>; }; }; + + cpts@39000000 { + compatible = "ti,j721e-cpts"; + reg = <0x0 0x39000000 0x0 0x400>; + reg-names = "cpts"; + power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 84 0>; + clock-names = "cpts"; + assigned-clocks = <&k3_clks 84 0>; + assigned-clock-parents = <&k3_clks 84 8>; + interrupts = ; + interrupt-names = "cpts"; + ti,cpts-periodic-outputs = <6>; + ti,cpts-ext-ts-inputs = <8>; + }; };