From patchwork Tue May 2 23:15:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Nagalla X-Patchwork-Id: 89519 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp961369vqo; Tue, 2 May 2023 16:34:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UqwbtqasyzGp2I1oPyNDs/lQAzuvAMl7/XMcricaj50sjlcNGKz3uPpyBLezblyrFZNB9 X-Received: by 2002:a05:6a00:10c2:b0:634:970e:ca09 with SMTP id d2-20020a056a0010c200b00634970eca09mr22515946pfu.30.1683070452044; Tue, 02 May 2023 16:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683070452; cv=none; d=google.com; s=arc-20160816; b=EOdRaSb198XSl1cPfVVLknIkQlSZUxfZ/0iarqZejndiQWTFKorPxD2JmpIrOLswVH Uk5KXr24yDh1gP1aFVoBCiAIrhe4+TaURALzAq/ZsiYrxtuD+d9cvRLBIttVRcnUzNUP DGdhO1UHihCHIzbtoLPmACJzuQEULfkevtZrmDqyCJqLPQuCwxLgiPyr0teefQy09Oh6 q7Qc/6RW5uWAKBAdcHGW4eXGuH5zr2/byVw5/wFVkhpqyKknKIhml3ry6NMtoP/vqBLy T0zb9O09fPER9wFHXKKUEoyB0vO/fzUVOrvqFWyqxFPhBgwDJkEIGbtJvXGgaYWH3O/L eyZA== 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=nMHuxuebwtV1J20/l5jxszE0QZAUu3Z1rgEvqfMfE4c=; b=ErqHgxhrh4+TIe0tjhq4PSe0KwqJdIrWwBriU20ox39SnAwNvT/ux1aiOC1Tklpus5 +TCM+krtpjYi8/Pr7uItT7r+cPRkmPzYtxivhX0qRRg0kpM5ufPI0JK+C2khZGe7P9ck p7ndtcwXoSVPchXGqVvYDc1WD2b0HhGEw4n6OspjB1kvZ95jAE5aR7NW2Uj9x4e9b/2O SYT3k5r4BFCfXIUGPY9G0SZkWtEIycafTPUveukvy9XOZLrDuvl9Z065lZOpF8/Gmw9G 54trBAKcv2vhP1lBFYxi218DjyZZFDqpl+76v11evzdFQ84DRS+7qlDBMHNWzw8h5+UM MRnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lmjBut2E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s204-20020a632cd5000000b00528b49eacf1si12209241pgs.135.2023.05.02.16.33.57; Tue, 02 May 2023 16:34:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lmjBut2E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229997AbjEBXPs (ORCPT + 99 others); Tue, 2 May 2023 19:15:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbjEBXPp (ORCPT ); Tue, 2 May 2023 19:15:45 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CF261FF9; Tue, 2 May 2023 16:15:44 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 342NFSmi094575; Tue, 2 May 2023 18:15:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683069328; bh=nMHuxuebwtV1J20/l5jxszE0QZAUu3Z1rgEvqfMfE4c=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lmjBut2EFqAuS7y9NQsml2reDZZ9jzT29qgeFMS+tfy10MTDJ04h3uu9/07ZBSOiD POGP7dQpm739AubWdUJsd3t6Y6sKDkqXFWVOFo+A2fdGAA7WUzI1STQf35BEVGPGUO Hwy/Cx4a2SGxrCG9gcNoCqwlLYhlo2nPmh/ePMYs= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 342NFS3F081518 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 May 2023 18:15:28 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 2 May 2023 18:15:27 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 2 May 2023 18:15:27 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 342NFR38089851; Tue, 2 May 2023 18:15:27 -0500 From: Hari Nagalla To: , CC: , , , , , Subject: [PATCH v3 2/3] arm64: dts: ti: k3-j784s4-main: Add C71x DSP nodes Date: Tue, 2 May 2023 18:15:26 -0500 Message-ID: <20230502231527.25879-3-hnagalla@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230502231527.25879-1-hnagalla@ti.com> References: <20230502231527.25879-1-hnagalla@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764827282039671884?= X-GMAIL-MSGID: =?utf-8?q?1764827282039671884?= The J784S4 SoCs have four TMS320C71x DSP subsystems in the MAIN voltage domain. The functionality of these DSP subsystems is similar to the C71x DSP subsystems on earlier k3 device J721S2. Each subsystem has a 48 KB of L1D configurable SRAM/Cache and 512 KB of L2 SRAM/Cache. This subsystem has a CMMU but is not currently used. The inter-processor communication between the main A72 cores and the C71x DSPs is achieved through shared memory and mailboxes. Add the DT nodes for these DSP processor sub-systems. Signed-off-by: Hari Nagalla --- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index 3c785cef4f20..7277bf6eda09 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -1232,4 +1232,52 @@ main_r5fss2_core1: r5f@5a00000 { ti,loczrama = <1>; }; }; + + c71_0: dsp@64800000 { + compatible = "ti,j721s2-c71-dsp"; + reg = <0x00 0x64800000 0x00 0x00080000>, + <0x00 0x64e00000 0x00 0x0000c000>; + reg-names = "l2sram", "l1dram"; + ti,sci = <&sms>; + ti,sci-dev-id = <30>; + ti,sci-proc-ids = <0x30 0xff>; + resets = <&k3_reset 30 1>; + firmware-name = "j784s4-c71_0-fw"; + }; + + c71_1: dsp@65800000 { + compatible = "ti,j721s2-c71-dsp"; + reg = <0x00 0x65800000 0x00 0x00080000>, + <0x00 0x65e00000 0x00 0x0000c000>; + reg-names = "l2sram", "l1dram"; + ti,sci = <&sms>; + ti,sci-dev-id = <33>; + ti,sci-proc-ids = <0x31 0xff>; + resets = <&k3_reset 33 1>; + firmware-name = "j784s4-c71_1-fw"; + }; + + c71_2: dsp@66800000 { + compatible = "ti,j721s2-c71-dsp"; + reg = <0x00 0x66800000 0x00 0x00080000>, + <0x00 0x66e00000 0x00 0x0000c000>; + reg-names = "l2sram", "l1dram"; + ti,sci = <&sms>; + ti,sci-dev-id = <37>; + ti,sci-proc-ids = <0x32 0xff>; + resets = <&k3_reset 37 1>; + firmware-name = "j784s4-c71_2-fw"; + }; + + c71_3: dsp@67800000 { + compatible = "ti,j721s2-c71-dsp"; + reg = <0x00 0x67800000 0x00 0x00080000>, + <0x00 0x67e00000 0x00 0x0000c000>; + reg-names = "l2sram", "l1dram"; + ti,sci = <&sms>; + ti,sci-dev-id = <40>; + ti,sci-proc-ids = <0x33 0xff>; + resets = <&k3_reset 40 1>; + firmware-name = "j784s4-c71_3-fw"; + }; };