From patchwork Fri Aug 11 20:22:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 134709 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1365161vqi; Fri, 11 Aug 2023 14:27:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUUpqtj6/u5b5gbakNwnlRIGxfW3S1gjxHqqHw+YJJl2fFl7PSse5HaE8QWcEbKqahkFjv X-Received: by 2002:a05:6a20:a122:b0:130:835b:e34e with SMTP id q34-20020a056a20a12200b00130835be34emr3613333pzk.48.1691789272880; Fri, 11 Aug 2023 14:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691789272; cv=none; d=google.com; s=arc-20160816; b=F7T9RO1U0qrG1ZbAf6FTipM4yAJ2MgRxZmz9s/0W24QmSwqsesKKyDsxw9Uy+Jhp2f cPnN7ecdPNhqFQ3jwSkxlQElgdle/gR7aIIR3wsxcy2zicdJ4qDe79snWpRwd7OD7/cx GEGaYb2hlaZjUkUC7BQLO7uBFsBDH3blIC0ndLZ2u0iTv+yEdZtssG+WWGWsnDmGaZae j+Y0LSnut1gXJFzXekYFaFUjXhtOFioxpf5Yqz2XEki0328Q1wT5Z3wU1nLVjpldrTZQ PApl+1gEyWi7LoRncKcFvVHrZEaECqwmqHjLAMibxJY5Rl5tqKIi356mxlB36+TQdvhv cJWw== 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=jg8Y/efRnd00jCD8mXhMShT//N8ycOku0P1y8NBikN8=; fh=QpIR97VuIuAnwAHDm7g1FQzTousV1BVvrw6/u5lFi4c=; b=jsVGNbkLK/sfFMlEPrZZkGjOLxSusTW9Cqh+AslkpReCsDYuGd3mKZs5Wy1wN1QLAC q0Gga2hVlaIuLP3C9xMrJQ6113Sazho0yKsofE4wckhjCGc5JQ+6FIFu8rW01DsV6Nfm +kSCSAcrk8pbUnC1UhgSW+pf6uFtzwoChS6n6AouyHY1zvhnCOcNTranBBpKrKChO/uP tdWcwcocgWOD0iO1TIvH9A2edBII5EmUwVTA3fkllCb0wcxEWgSKNkEYOJntJwtNKfoF +UBUtirUjFDTYGf9EbrCAuEyUREyZTMcxRt7MJtXGSczH84yyiT8nN++t6BIY1tJ4hMj jY7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="bF/xbLMZ"; 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 132-20020a63028a000000b0055798b90375si4113044pgc.709.2023.08.11.14.27.40; Fri, 11 Aug 2023 14:27:52 -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="bF/xbLMZ"; 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 S234588AbjHKUXS (ORCPT + 99 others); Fri, 11 Aug 2023 16:23:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234049AbjHKUXN (ORCPT ); Fri, 11 Aug 2023 16:23:13 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B759127; Fri, 11 Aug 2023 13:23:13 -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 37BKN7w1075359; Fri, 11 Aug 2023 15:23:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691785387; bh=jg8Y/efRnd00jCD8mXhMShT//N8ycOku0P1y8NBikN8=; h=From:To:Subject:Date:In-Reply-To:References; b=bF/xbLMZy+6FGEsBZrzj3umiQargxyduCrrTH/nYlYCZDj+oxYL5CJWyuspowonNv CAmai9Jv8klmLSPltQXubV0DZvn/HN6325oh2qL5zatE+YI1tdQu50Jkr4HW6YJhAE MHU2xF4Ak4D62aFSmnaDvhMqnTBSPI2Ap8/cwnag= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37BKN7lq124280 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Aug 2023 15:23:07 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 11 Aug 2023 15:23:07 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE105.ent.ti.com (10.64.6.26) 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; Fri, 11 Aug 2023 15:23:07 -0500 Received: from TI.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37BKMr56055948; Fri, 11 Aug 2023 15:23:04 -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 v3 3/5] arm64: dts: ti: k3-j721s2-main: Add C7x remote processsor nodes Date: Sat, 12 Aug 2023 01:52:50 +0530 Message-ID: <20230811202252.3586926-4-a-nandan@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230811202252.3586926-1-a-nandan@ti.com> References: <20230811202252.3586926-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,URIBL_BLOCKED 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: INBOX X-GMAIL-THRID: 1773969628711065621 X-GMAIL-MSGID: 1773969628711065621 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 --- 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 a8e23b5c6fd5..303e9f124b02 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -1768,4 +1768,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"; + }; };