From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62B76C3DA49 for ; Tue, 30 Jul 2024 12:34:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:CC:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dluvDJb8e/OiW6IPhliSRXmc/hbTMkMHQ/+KEIQ0eXI=; b=U2WVkJoC2EwtxalSF2dzROQs6t 0to4M+Jf4IV90aYCfFTqH5UY+7MWO33b4Du3p8ygrRWcgYBTUtU8S4vDxSWFavZlD0FVyeDgy2qfQ CtOHNY8l1rqx4vqo29XQ2AwSCG3A075cNzyMMnjAGf2KHou9sMyMae1lU+uM3lPAKmEWMIsmL+Fdk xNY8AlirJ+Ig0xtl3MHZrA+zsAnpZYUdr9IN/2z9DJqZ9nWMIhO7dNpGT8R4+3HkPNgwe8p5Z8lsK KOMwnrh24Pe/qpXuWzKJu7KBaxS/0kJtnmq7P8RrKxjLkjN5Z3575CiV5ELuB+wXAUVcs84wgVwfx F82GzovQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYm3V-0000000F6sM-00pZ; Tue, 30 Jul 2024 12:34:17 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYm32-0000000F6o8-12s9 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jul 2024 12:33:49 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 46UCXiqX072577; Tue, 30 Jul 2024 07:33:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1722342824; bh=dluvDJb8e/OiW6IPhliSRXmc/hbTMkMHQ/+KEIQ0eXI=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=hrf6xTK4JT87isfGr9o3JSztEEOKJ+WNEicoqHbd7hK0EbsVXLPnPHL/MitDIEhnp eRaU7oWgsVjQ0ttmJzMOhC0c8TJT6ukRJEf4X/M7AahXD7JWCJqnRxbaarXjl82xsy Xge+6G9zANXEqtGGVRvDsrtBL3B4ELvKSMO3kXkw= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 46UCXijS018090 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 Jul 2024 07:33:44 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) 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; Tue, 30 Jul 2024 07:33:43 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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.23 via Frontend Transport; Tue, 30 Jul 2024 07:33:44 -0500 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 46UCXhsQ118404; Tue, 30 Jul 2024 07:33:43 -0500 Date: Tue, 30 Jul 2024 07:33:43 -0500 From: Nishanth Menon To: Manorit Chawdhry CC: Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Udit Kumar , Neha Malcom Francis , Aniket Limaye Subject: Re: [PATCH v2 2/3] arm64: dts: ti: Introduce J742S2 SoC family Message-ID: <20240730123343.mqafgpj4zcnd5vs4@plaything> References: <20240730-b4-upstream-j742s2-v2-0-6aedf892156c@ti.com> <20240730-b4-upstream-j742s2-v2-2-6aedf892156c@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240730-b4-upstream-j742s2-v2-2-6aedf892156c@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240730_053348_402553_B4B43F1F X-CRM114-Status: GOOD ( 20.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 12:43-20240730, Manorit Chawdhry wrote: > This device is a subset of J784S4 and shares the same memory map and > thus the nodes are being reused from J784S4 to avoid duplication. > > Here are some of the salient features of the J742S2 automotive grade > application processor: > > The J742S2 SoC belongs to the K3 Multicore SoC architecture platform, > providing advanced system integration in automotive, ADAS and industrial > applications requiring AI at the network edge. This SoC extends the K3 > Jacinto 7 family of SoCs with focus on raising performance and > integration while providing interfaces, memory architecture and compute > performance for multi-sensor, high concurrency applications. > > Some changes that this devices has from J784S4 are: > * 4x Cortex-A72 vs 8x Cortex-A72 > * 3x C7x DSP vs 4x C7x DSP > * 4 port ethernet switch vs 8 port ethernet switch > > ( Refer Table 2-1 for Device comparison with J7AHP ) > Link: https://www.ti.com/lit/pdf/spruje3 (TRM) > Signed-off-by: Manorit Chawdhry > --- > arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi | 44 ++++++++++++++++++++++++++++++ > arch/arm64/boot/dts/ti/k3-j742s2.dtsi | 26 ++++++++++++++++++ > 2 files changed, 70 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi > new file mode 100644 > index 000000000000..13b83560d5a2 > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi > @@ -0,0 +1,44 @@ > +// SPDX-License-Identifier: GPL-2.0 and MIT please. > +/* > + * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ > + * > + * EVM Board Schematics: https://www.ti.com/lit/zip/SPAC001 Point to SoC trm here. > + */ > + > +/delete-node/ &c71_3; here and below: > + > +&c71_0 { > + firmware-name = "j742s2-c71_0-fw"; > +}; > + > +&c71_1 { > + firmware-name = "j742s2-c71_1-fw"; > +}; > + > +&c71_2 { > + firmware-name = "j742s2-c71_2-fw"; > +}; > + > +&main_r5fss0_core0 { > + firmware-name = "j742s2-main-r5f0_0-fw"; > +}; > + > +&main_r5fss0_core1 { > + firmware-name = "j742s2-main-r5f0_1-fw"; > +}; > + > +&main_r5fss1_core0 { > + firmware-name = "j742s2-main-r5f1_0-fw"; > +}; > + > +&main_r5fss1_core1 { > + firmware-name = "j742s2-main-r5f1_1-fw"; > +}; > + > +&main_r5fss2_core0 { > + firmware-name = "j742s2-main-r5f2_0-fw"; > +}; > + > +&main_r5fss2_core1 { > + firmware-name = "j742s2-main-r5f2_1-fw"; > +}; > diff --git a/arch/arm64/boot/dts/ti/k3-j742s2.dtsi b/arch/arm64/boot/dts/ti/k3-j742s2.dtsi > new file mode 100644 > index 000000000000..0b20c992d664 > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-j742s2.dtsi > @@ -0,0 +1,26 @@ > +// SPDX-License-Identifier: GPL-2.0 Same - and fix anywhere else as required. > +/* > + * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ > + * > + * EVM Board Schematics: https://www.ti.com/lit/zip/SPAC001 Same > + */ > + > +#include "k3-j784s4.dtsi" > + > +/ { > + model = "Texas Instruments K3 J742S2 SoC"; > + compatible = "ti,j742s2"; > + > + cpus { > + cpu-map { > + /delete-node/ cluster1; > + }; > + }; > + > + /delete-node/ cpu4; > + /delete-node/ cpu5; > + /delete-node/ cpu6; > + /delete-node/ cpu7; I suggest refactoring by renaming the dtsi files as common and split out j784s4 similar to j722s/am62p rather than using /delete-node/ > +}; > + > +#include "k3-j742s2-main.dtsi" > > -- > 2.45.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D