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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64B2AC77B6E for ; Fri, 14 Apr 2023 05:46:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8729685C03; Fri, 14 Apr 2023 07:46:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="E/wEcqoG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F16AC85B6E; Fri, 14 Apr 2023 07:46:13 +0200 (CEST) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 09C1F85CC7 for ; Fri, 14 Apr 2023 07:46:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=s-vadapalli@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33E5k6h0115928; Fri, 14 Apr 2023 00:46:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681451166; bh=59qu2j6ue8vJ2v1XgsivIxghVvZnOQ2HfaRU9jnoQ7o=; h=Date:CC:Subject:To:References:From:In-Reply-To; b=E/wEcqoGUEVjo3ZFWcMX+N109uwnDjE7ySN4E2BSwAVSVEA/btvZIOEuIsDfRACrw 1BZULRks9YVbPwZcnP/3eqwMOP/ZEdylmYc4t1bVC0RevXkvfr8zcjNWAq7ZoSh7Cr uDf2ZuTuxeofYGIcmXiGNMcefbgIIBYemKiXzqj0= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33E5k60M007183 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Apr 2023 00:46:06 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 14 Apr 2023 00:46:06 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.16 via Frontend Transport; Fri, 14 Apr 2023 00:46:05 -0500 Received: from [172.24.145.61] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33E5k2NA076168; Fri, 14 Apr 2023 00:46:02 -0500 Message-ID: <63a0c4f9-4ef0-e162-9a8a-2e378372c106@ti.com> Date: Fri, 14 Apr 2023 11:16:01 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 CC: , , , , , , , Vignesh Raghavendra , Udit Kumar , Subject: Re: [PATCH v2 01/10] arm: dts: introduce j784s4 dtbs from linux kernel To: Hari Nagalla , , References: <20230321141028.24456-1-hnagalla@ti.com> <20230321141028.24456-2-hnagalla@ti.com> Content-Language: en-US From: Siddharth Vadapalli In-Reply-To: <20230321141028.24456-2-hnagalla@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hello Hari, On 21/03/23 19:40, Hari Nagalla wrote: > Introduce the basic j784s4 SoC dtbs from the linux kernel along with > the new j784s4 specific pinmux definitions that we will use to generate > the dtbs for the u-boot-spl and u-boot binaries. > > Signed-off-by: Apurva Nandan > Signed-off-by: Hari Nagalla > --- > arch/arm/dts/k3-j784s4-evm.dts | 196 +++++ > arch/arm/dts/k3-j784s4-main.dtsi | 1007 ++++++++++++++++++++++++ > arch/arm/dts/k3-j784s4-mcu-wakeup.dtsi | 311 ++++++++ > arch/arm/dts/k3-j784s4.dtsi | 287 +++++++ > include/dt-bindings/pinctrl/k3.h | 3 + > 5 files changed, 1804 insertions(+) > create mode 100644 arch/arm/dts/k3-j784s4-evm.dts > create mode 100644 arch/arm/dts/k3-j784s4-main.dtsi > create mode 100644 arch/arm/dts/k3-j784s4-mcu-wakeup.dtsi > create mode 100644 arch/arm/dts/k3-j784s4.dtsi > > diff --git a/arch/arm/dts/k3-j784s4-evm.dts b/arch/arm/dts/k3-j784s4-evm.dts > new file mode 100644 > index 0000000000..8cd4a7ecc1 > --- /dev/null > +++ b/arch/arm/dts/k3-j784s4-evm.dts > @@ -0,0 +1,196 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ > + * [...] > + > +&main_gpio0 { > + status = "okay"; > +}; > diff --git a/arch/arm/dts/k3-j784s4-main.dtsi b/arch/arm/dts/k3-j784s4-main.dtsi > new file mode 100644 > index 0000000000..7edf324ac1 > --- /dev/null > +++ b/arch/arm/dts/k3-j784s4-main.dtsi > @@ -0,0 +1,1007 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Device Tree Source for J784S4 SoC Family Main Domain peripherals > + * > + * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ > + */ > + > +&cbass_main { > + msmc_ram: sram@70000000 { > + compatible = "mmio-sram"; > + reg = <0x00 0x70000000 0x00 0x800000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x00 0x00 0x70000000 0x800000>; > + > + atf-sram@0 { > + reg = <0x00 0x20000>; > + }; > + > + tifs-sram@1f0000 { > + reg = <0x1f0000 0x10000>; > + }; > + > + l3cache-sram@200000 { [...] > + > + main_navss: bus@30000000 { > + compatible = "simple-bus"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>; The property: ti,sci-dev-id = <280>; is missing here. Please refer: https://lore.kernel.org/r/20230314152611.140969-2-j-choudhary@ti.com/ > + dma-coherent; > + dma-ranges; > + > + main_navss_intr: interrupt-controller@310e0000 { > + compatible = "ti,sci-intr"; > + reg = <0x00 0x310e0000 0x00 0x4000>; > + ti,intr-trigger-type = <4>; > + interrupt-controller; > + interrupt-parent = <&gic500>; > + #interrupt-cells = <1>; > + ti,sci = <&sms>; > + ti,sci-dev-id = <283>; > + ti,interrupt-ranges = <0 64 64>, > + <64 448 64>, > + <128 672 64>; > + }; > + [...] > + interrupt-names = "int0", "int1"; > + bosch,mram-cfg = <0x00 128 64 64 64 64 32 32>; > + status = "disabled"; > + }; > +}; > diff --git a/arch/arm/dts/k3-j784s4-mcu-wakeup.dtsi b/arch/arm/dts/k3-j784s4-mcu-wakeup.dtsi > new file mode 100644 > index 0000000000..93952af618 > --- /dev/null > +++ b/arch/arm/dts/k3-j784s4-mcu-wakeup.dtsi > @@ -0,0 +1,311 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Device Tree Source for J784S4 SoC Family MCU/WAKEUP Domain peripherals > + * > + * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ > + */ > + > +&cbass_mcu_wakeup { > + sms: system-controller@44083000 { > + compatible = "ti,k2g-sci"; > + ti,host-id = <12>; > + > + mbox-names = "rx", "tx"; > + > + mboxes = <&secure_proxy_main 11>, > + <&secure_proxy_main 13>; > + > + reg-names = "debug_messages"; > + reg = <0x00 0x44083000 0x00 0x1000>; > + > + k3_pds: power-controller { [...] > + interrupt-names = "int0", "int1"; > + bosch,mram-cfg = <0x00 128 64 64 64 64 32 32>; > + status = "disabled"; > + }; > + > + mcu_navss: bus@28380000{ > + compatible = "simple-bus"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>; The property ti,sci-dev-id = <323>; is missing here. Please refer: https://lore.kernel.org/r/20230314152611.140969-2-j-choudhary@ti.com/ > + dma-coherent; > + dma-ranges; > + > + mcu_ringacc: ringacc@2b800000 { > + compatible = "ti,am654-navss-ringacc"; > + reg = <0x00 0x2b800000 0x00 0x400000>, [...] -- Regards, Siddharth.