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 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 8C22FC76196 for ; Sun, 2 Apr 2023 21:37:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF2A285E8E; Sun, 2 Apr 2023 23:37:00 +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="BoiMk6Ns"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CADA885844; Sun, 2 Apr 2023 23:36:43 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 EE62B85CA1 for ; Sun, 2 Apr 2023 23:36:37 +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=bb@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 332LaZu4121721; Sun, 2 Apr 2023 16:36:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680471395; bh=l91IpAjo1VM+iQKWEEYCSUfTT1TfxUFHvukUaGrihC0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BoiMk6NsegWQIkU6QQW1aVHxZ2il+7McUBUMDydGwukwu8O/YtlguYL4qzL7aFxZu 5sUKS/I4kuROerMH470T3lhJrRT5hnL7WRH6X/c1kFUkx5fGoBfAolD3jnz/8j7fWn Far1tJ11eQhDeZJLhhCShiDA2GbdcI3MdHaE96fc= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 332LaZOR092221 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 2 Apr 2023 16:36:35 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Sun, 2 Apr 2023 16:36:35 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) 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; Sun, 2 Apr 2023 16:36:35 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 332LaZoU031338; Sun, 2 Apr 2023 16:36:35 -0500 From: Bryan Brattlof To: Tom Rini CC: Vignesh Raghavendra , Andrew Davis , Ravi Gunasekaran , UBoot Mailing List , Bryan Brattlof Subject: [PATCH v2 3/5] arm: dts: add DMA and CPSW nodes for uboot Date: Sun, 2 Apr 2023 16:36:15 -0500 Message-ID: <20230402213617.1759491-4-bb@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230402213617.1759491-1-bb@ti.com> References: <20230402213617.1759491-1-bb@ti.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1558; i=bb@ti.com; h=from:subject; bh=Y3s7RKVpl596rmCdIPgJheyUtGPfsj3yS5ihTzqWLtw=; b=owNCWmg5MUFZJlNZMfyouwAAaH////7/3r9wfeW7f7vpnt5/Oh7y0//uLuP/b03f3Rdru1ewA RmwjtQ0ANANAAADQ0yD1AaAAGmmQaGhppoyaAMgDQA0aZAbSMjJpk0PRqaNpiiANBoaAyNGJkA0 GjBBgjCAAYmTRiaGmmAmhkZMINHpBkAABkA0DINMOE9Jo0aMmmmgyZNBkMTQaMCMTEaGjIAMQAM hkDRpowgGgBpppkGI0aAGgAAFSSj675D4i4NJcchJ8pl4yKxiiZiwwECqEjhYJxoOGT8GQ9hyzW UXtxqFXvcxVBQc6KO0VpkpGEvde9lFJUFKxvpzfaVrOkLPz0Oh4V4L9/HjdIzfXjc2iw/XMksX+ LJpgIza/sI/KgdGfUWG+i+NP5AWnN7X637DghRSdVGQXb9hyeeUAGb2Lww6wtzei1yK+joN+B03 Uxt8Q7QH4PeD/JIf58TG5Y6zxmh1wEMwUDNidVmeX4Fnea5TvtVRYf2SGEC9ECzxPtaljWRM+Gk EhLxGnNWsZPNehvKMJNGpYlBWWSEAxBrBFSe6Gd0Gkw1aHuiBTIawNsITJFnaht4rrBYK3WkIFY ZQycl3Iv7rpvkqeHOASJrtcgPCqUv2DO+pWXxbkAXKcOSApsxR8JB9q8XkDkD1pLnroYA2hcJob U7SVurEF3JFOFCQMfyouw== X-Developer-Key: i=bb@ti.com; a=openpgp; fpr=D3D177E40A38DF4D1853FEEF41B90D5D71D56CE0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 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 c953a82c7a5e9..b4c2fd7f50038 100644 --- a/arch/arm/dts/k3-am62a7-r5-sk.dts +++ b/arch/arm/dts/k3-am62a7-r5-sk.dts @@ -143,3 +143,11 @@ status = "okay"; bootph-pre-ram; }; + +&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 cf938c43b832e..fd3f7e63d5da6 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 { bootph-pre-ram; timer1: timer@2400000 { @@ -138,3 +138,27 @@ &vdd_mmc1 { bootph-pre-ram; }; + +&main_bcdma { + bootph-pre-ram; +}; + +&main_pktdma { + bootph-pre-ram; +}; + +&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>; + bootph-pre-ram; + + cpsw-phy-sel@04044 { + compatible = "ti,am64-phy-gmii-sel"; + reg = <0x00 0x00104044 0x00 0x8>; + bootph-pre-ram; + }; +}; -- 2.40.0