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 DA020C76196 for ; Fri, 31 Mar 2023 11:46:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D000F85FAE; Fri, 31 Mar 2023 13:45:47 +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="WbtZuT/e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B522085F1C; Fri, 31 Mar 2023 09:15:51 +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 019C485E7B for ; Fri, 31 Mar 2023 09:15:45 +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=r-gunasekaran@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32V7Fgwg024927; Fri, 31 Mar 2023 02:15:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680246942; bh=mdV/Rm+84lO4Wg01cCamMTvCo5vvOxyjhu3VzOs/+ME=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=WbtZuT/ebKMaM1Doqm0qeeJHu/xr2TXMmwTT8adM3vU/f6I/AzicVPlJWAs41fFwO 9IxNOz8ZnsEmZLf0AqG2r8uZmBT4RqJHucFXKQ8ducybPofecSbRT284SVJzuwDLLf fIKjepeh9dXVgYKOPmgCpQHk2VFFDvI3KkZ5w2Yw= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32V7FgGV063867 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 Mar 2023 02:15:42 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 31 Mar 2023 02:15:42 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE111.ent.ti.com (157.170.170.22) 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, 31 Mar 2023 02:15:42 -0500 Received: from [10.24.69.79] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32V7FeNb047406; Fri, 31 Mar 2023 02:15:40 -0500 Message-ID: Date: Fri, 31 Mar 2023 12:45:39 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 3/5] arm: dts: add DMA and CPSW nodes for uboot Content-Language: en-US To: Bryan Brattlof , Tom Rini CC: Vignesh Raghavendra , Andrew Davis , UBoot Mailing List References: <20230327184035.2128786-1-bb@ti.com> <20230327184035.2128786-4-bb@ti.com> From: Ravi Gunasekaran In-Reply-To: <20230327184035.2128786-4-bb@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Fri, 31 Mar 2023 13:45:37 +0200 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 Hi Bryan, On 28/03/23 12:10 am, Bryan Brattlof wrote: > Update the uboot dtsi to enable DMA and CPSW at the uboot level > > Signed-off-by: Bryan Brattlof > --- > arch/arm/dts/k3-am62a7-r5-sk.dts | 8 ++++++++ > arch/arm/dts/k3-am62a7-sk-u-boot.dtsi | 26 +++++++++++++++++++++++++- > 2 files changed, 33 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/dts/k3-am62a7-r5-sk.dts b/arch/arm/dts/k3-am62a7-r5-sk.dts > index 58b7c8ad050fd..ea2e202237556 100644 > --- a/arch/arm/dts/k3-am62a7-r5-sk.dts > +++ b/arch/arm/dts/k3-am62a7-r5-sk.dts > @@ -141,3 +141,11 @@ > status = "okay"; > u-boot,dm-spl; > }; > + > +&main_pktdma { > + ti,sci = <&dm_tifs>; > +}; > + > +&main_bcdma { > + ti,sci = <&dm_tifs>; > +}; > diff --git a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi > index 7fc749ed70976..07ade7120cfe5 100644 > --- a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi > +++ b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi > @@ -15,7 +15,7 @@ > }; > }; > > -&cbass_main{ > +&cbass_main { > u-boot,dm-spl; > > timer1: timer@2400000 { > @@ -138,3 +138,27 @@ > &vdd_mmc1 { > u-boot,dm-spl; > }; > + > +&main_bcdma { > + u-boot,dm-spl; > +}; "u-boot,dm-spl" is now "bootph-pre-ram". The changes are present in -next. For the existing DT source files, these have already been taken care of [0] So please base on -next. Otherwise the series LGTM [0] https://lore.kernel.org/all/20230213155641.1208774-4-sjg@chromium.org/ > + > +&main_pktdma { > + u-boot,dm-spl; > +}; > + > +&cpsw3g { > + reg = <0x00 0x08000000 0x00 0x200000>, > + <0x00 0x43000200 0x00 0x8>; > + reg-names = "cpsw_nuss", "mac_efuse"; > + /delete-property/ ranges; > + pinctrl-0 = <&main_mdio1_pins_default > + &main_rgmii1_pins_default>; > + u-boot,dm-spl; > + > + cpsw-phy-sel@04044 { > + compatible = "ti,am64-phy-gmii-sel"; > + reg = <0x00 0x00104044 0x00 0x8>; > + u-boot,dm-spl; > + }; > +}; -- Regards, Ravi