From patchwork Sun Oct 1 18:14:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 147168 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1082257vqb; Sun, 1 Oct 2023 15:37:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsV8vHJJxCWtSriVN0t1H/yQdRv9dhvvIVjzLu2ADrn1wSfdgieQ1u8i2Ug0dDtfYXdy7G X-Received: by 2002:a05:6a21:a590:b0:160:8984:6cc6 with SMTP id gd16-20020a056a21a59000b0016089846cc6mr11003388pzc.58.1696199876303; Sun, 01 Oct 2023 15:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696199876; cv=none; d=google.com; s=arc-20160816; b=VQI/MJRAxzS4OItFvuWseO/vC9GX+VOqZA5vBe/XGydCfhOzL3Gs0B5I1jQ8YLwlK3 sBfQa8BLQss51kXGp3ua9xJUZk4ZTdW8xAnB6tOwajg73lFrgph1BQiWirCqgKoU0U77 h306sv2owaqnhEX81GzKiVVoFzeJ3Bc3IXGCCAifHN176XAweomG+qXUUj9AnvjGGZ+1 p5SOlvn0DoWDhAG20/ssxKYcuAWy3APe/Vxh0Ll2UL4Du6brRN1D1uMpWV7o7/YmyNDx d/dQetmIWVLvca8mzymO6FbqZ5EZ+O16MfleUX5aZW5r/5bOYLujfS/FQVEmzgjww2GO lgEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=xpPF0GtqUatjVcbWVALFJgvuyhOTG3j31Q1Rwwj4YX0=; fh=2m+hmwDAPWlxzxGknVDJJN3AOKobNasKPSyWMVmTtbA=; b=JNvtVqOSXk6UhKffEGSXxZav8050UZ4g1P6CWXOam/EeuF6okN0PVgMhT+0g7yMymf /hglkbJS3eT5BFjZLk5jAuq6+tSOo0Scu51INw6nk2IxHLcFnLvS0GcfKWVu79/AboZr 6arRK23L1To2qudCXG5kg9H+L3fOvEjbZAQpob7+3EBpsTRZOSOT9Fu//aQbiESx5rwz dpeWSR4FrR9XpGuTkL42N+8f9+R8UBbY/oiWgyLsZltZTwvFIWSQFHXXAdNiWbrCoIp9 ccmIwhz9PYAP1NRY62wWND5JjvGkNyiYErzFt8yCO2aAR5HlUnYCfMreAq94cpK9zmqi /Cpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=muWd++7K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id be8-20020a170902aa0800b001bb0ba81053si24445913plb.50.2023.10.01.15.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 15:37:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=muWd++7K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A699F802F1AF; Sun, 1 Oct 2023 11:14:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235296AbjJASOq (ORCPT + 18 others); Sun, 1 Oct 2023 14:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235293AbjJASOm (ORCPT ); Sun, 1 Oct 2023 14:14:42 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84583C6; Sun, 1 Oct 2023 11:14:39 -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 391IEXUS030292; Sun, 1 Oct 2023 13:14:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696184073; bh=xpPF0GtqUatjVcbWVALFJgvuyhOTG3j31Q1Rwwj4YX0=; h=From:To:Subject:Date:In-Reply-To:References; b=muWd++7Kdfb6AaqaoHioRXXxzTTPdZPSlBQEFyn0cDrNEyZe5KDi7tX0sW4s4DmcY S+0B2/HiuIRcUflqs2ASAa6tEel30VO7qN3khADeIsb9MXA9xWhJ2UBHffRTo3IaCZ MS2EW0XargqS3zzaRGSQBkPFIwaEa7p20tmz9nEE= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 391IEWCJ124497 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 1 Oct 2023 13:14:32 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 1 Oct 2023 13:14:32 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.23 via Frontend Transport; Sun, 1 Oct 2023 13:14:32 -0500 Received: from TI.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 391IEHtq063395; Sun, 1 Oct 2023 13:14:29 -0500 From: Apurva Nandan To: Apurva Nandan , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Hari Nagalla , Udit Kumar Subject: [PATCH v5 3/9] arm64: dts: ti: k3-j721s2-main: Add C7x remote processsor nodes Date: Sun, 1 Oct 2023 23:44:11 +0530 Message-ID: <20231001181417.743306-4-a-nandan@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231001181417.743306-1-a-nandan@ti.com> References: <20231001181417.743306-1-a-nandan@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 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 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 01 Oct 2023 11:14:55 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778594481716577114 X-GMAIL-MSGID: 1778594481716577114 The K3 J721S2 SoCs have two C71x DSP subsystems in MAIN voltage domain. The C71x DSPs are 64 bit machine with fixed and floating point DSP operations. Similar to the R5F remote cores, the inter-processor communication between the main A72 cores and these DSP cores is achieved through shared memory and Mailboxes. The following firmware names are used by default for these DSP cores, and can be overridden in a board dts file if desired: MAIN C71_0 : j721s2-c71_0-fw MAIN C71_1 : j721s2-c71_1-fw Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan Reviewed-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index cf439b96284d..6d32544c8881 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -1775,4 +1775,30 @@ main_r5fss1_core1: r5f@5f00000 { 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 = <8>; + ti,sci-proc-ids = <0x30 0xff>; + resets = <&k3_reset 8 1>; + firmware-name = "j721s2-c71_0-fw"; + status = "disabled"; + }; + + 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 = <11>; + ti,sci-proc-ids = <0x31 0xff>; + resets = <&k3_reset 11 1>; + firmware-name = "j721s2-c71_1-fw"; + status = "disabled"; + }; };