From patchwork Mon Mar 13 14:49:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 662816 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62055C7618B for ; Mon, 13 Mar 2023 14:51:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231624AbjCMOvH (ORCPT ); Mon, 13 Mar 2023 10:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbjCMOuw (ORCPT ); Mon, 13 Mar 2023 10:50:52 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FDB51C7EE; Mon, 13 Mar 2023 07:50:12 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32DEniPx044517; Mon, 13 Mar 2023 09:49:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678718984; bh=jgN5ONbG040NbFS8/BZLIr5Dl3xsg65QWBAIodV5mi0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DKjLu8zZXsNznrTX2p9z66+gvQvgtBXHnLJcTdm5W8StCp4u8wlQI8C/c8/B35z3e q9nNdrWYJRwhGIXgL2UhiZNc30YXkCzmoC9F4toj5tolomU1H+e9YYc05RuhVQQiaS Fp6HMpbsH2FmSnk3n/SjJXd0WpaU1JJmSsmKSsRs= 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 32DEniOD012183 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Mar 2023 09:49:44 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) 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.2507.16; Mon, 13 Mar 2023 09:49:44 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 13 Mar 2023 09:49:44 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32DEnhHI122973; Mon, 13 Mar 2023 09:49:43 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Mark Brown CC: , , , Jai Luthra Subject: [PATCH v5 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP Date: Mon, 13 Mar 2023 20:19:33 +0530 Message-ID: <20230313-mcasp_upstream-v5-4-d6844707aa8a@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230313-mcasp_upstream-v5-0-d6844707aa8a@ti.com> References: <20230313-mcasp_upstream-v5-0-d6844707aa8a@ti.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2567; i=j-luthra@ti.com; h=from:subject:message-id; bh=AHQ+upU3Yvs9g6FKaLLd7vmmT7/6vuQDLA/v3ncpTGQ=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkDzbVbzQbVvMZD9JUmjwBhNW2nbRgUnURSzQxv dL7cD3j5qaJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZA821QAKCRBD3pH5JJpx Rc7VD/9LobVaU8dgCCukxbi9zQlOb/HtPcyT39YVoCHhJxU4YKqM93eQdpx+bA4AZ5A7ONrT7BR jYheJkXjjAVBD/OFqY1dKEW6ZdAZYNj1AXE5rFLExX+v6TqyOhGw2Zcae6PpqBaZfdhWuB6Ecz5 CJ7W67vq7U6KTdfr6Mpkfr2mrMr1+BqGB2vqCpeyL0S3zaOpYCRGdWc6PGhbXxZjwUthrznxKrf xXTuswuPeOqd+G3GKfnxB7lhny4lkZ9ORqi6UZVbSvJFZblZFq2IUq1Rq047Ok5q3/GzNnS8mjG +58h3niWr/qVv+PWKFSDI3g0e+ut7AO/qrieeC36s4psh1dWLmuxZW8YMTSQFgR7Z+gT2zGRiH2 k1d7RswfzaEByWzb3TrJUHxFLLPElomC5wTczZPaICfMmOyhG4Dkt50Yo36UxAMP73JsBRdXopn eT67UkVoIBVgn+Z7jXb5SD//7ttvRdQF4KCCl9TR8PemKKUqNPOJY8zpI9KumwZ1J3E3bADin8F zDUXJ4vRvrjtY2tMDmn/FRt3lBF/c9zS02ZU8UGE4bZ8a0rt1ADIcRJFvhhMmVpaXfX5GC4I+p/ DseLiqeigSMtTj7O2UMGT2WOwosOpyFBzLq5+ElbiZlGcX0d4voa+apx6kgWI75H6NqoydSxwl+ Nrd30zr1H9cyZKA== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Same as AM62, AM62A has three instances of McASP which can be used for transmitting or receiving digital audio in various formats. Signed-off-by: Jai Luthra Reviewed-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 60 +++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index 393a1a40b68b..7b20c07fab77 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -660,4 +660,64 @@ ecap2: pwm@23120000 { clock-names = "fck"; status = "disabled"; }; + + mcasp0: mcasp@2b00000 { + compatible = "ti,am33xx-mcasp-audio"; + reg = <0x00 0x02b00000 0x00 0x2000>, + <0x00 0x02b08000 0x00 0x400>; + reg-names = "mpu","dat"; + interrupts = , + ; + interrupt-names = "tx", "rx"; + + dmas = <&main_bcdma 0 0xc500 0>, <&main_bcdma 0 0x4500 0>; + dma-names = "tx", "rx"; + + clocks = <&k3_clks 190 0>; + clock-names = "fck"; + assigned-clocks = <&k3_clks 190 0>; + assigned-clock-parents = <&k3_clks 190 2>; + power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + + mcasp1: mcasp@2b10000 { + compatible = "ti,am33xx-mcasp-audio"; + reg = <0x00 0x02b10000 0x00 0x2000>, + <0x00 0x02b18000 0x00 0x400>; + reg-names = "mpu","dat"; + interrupts = , + ; + interrupt-names = "tx", "rx"; + + dmas = <&main_bcdma 0 0xc501 0>, <&main_bcdma 0 0x4501 0>; + dma-names = "tx", "rx"; + + clocks = <&k3_clks 191 0>; + clock-names = "fck"; + assigned-clocks = <&k3_clks 191 0>; + assigned-clock-parents = <&k3_clks 191 2>; + power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + + mcasp2: mcasp@2b20000 { + compatible = "ti,am33xx-mcasp-audio"; + reg = <0x00 0x02b20000 0x00 0x2000>, + <0x00 0x02b28000 0x00 0x400>; + reg-names = "mpu","dat"; + interrupts = , + ; + interrupt-names = "tx", "rx"; + + dmas = <&main_bcdma 0 0xc502 0>, <&main_bcdma 0 0x4502 0>; + dma-names = "tx", "rx"; + + clocks = <&k3_clks 192 0>; + clock-names = "fck"; + assigned-clocks = <&k3_clks 192 0>; + assigned-clock-parents = <&k3_clks 192 2>; + power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; };