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 952D0C77B72 for ; Fri, 14 Apr 2023 18:02:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7142385EE4; Fri, 14 Apr 2023 20:01:52 +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="uoDn3gy/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EA7A485D4A; Fri, 14 Apr 2023 20:01:41 +0200 (CEST) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 587DA85D9D for ; Fri, 14 Apr 2023 20:01:36 +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 fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33EI1XmM010979; Fri, 14 Apr 2023 13:01:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681495293; bh=l91IpAjo1VM+iQKWEEYCSUfTT1TfxUFHvukUaGrihC0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=uoDn3gy/j5DedXiorOfTA/kRB3f/a/ltWvX1D9S0fd4yLbZbdBCl8q6lL2JHWCbvk EtHXQl5fnlMYISDDsMu/4HElxI6H6hX/r9z3vLa/FcpEDnEEX/kKh/Ycuw9GhzQfJm hScFqHW6cGVm7Dc+U2s8L+0tljk3LNhqD5DOfXq4= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33EI1XA1012904 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Apr 2023 13:01:33 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE104.ent.ti.com (157.170.170.34) 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 13:01:32 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) 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 13:01:32 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33EI1WOf070164; Fri, 14 Apr 2023 13:01:32 -0500 From: Bryan Brattlof To: Tom Rini CC: Nishanth Menon , Andrew Davis , Vignesh Raghavendra , UBoot Mailing List , Bryan Brattlof Subject: [PATCH v3 3/5] arm: dts: add DMA and CPSW nodes for uboot Date: Fri, 14 Apr 2023 13:01:28 -0500 Message-ID: <20230414180130.1397905-4-bb@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230414180130.1397905-1-bb@ti.com> References: <20230414180130.1397905-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=owNCWmg5MUFZJlNZmqAKTwAAaX///77/37M3z73fF2Wvvrzbj+n7dj7J3np/7buN/9dx71ywA RtWCHpADQADQABoAMgNB6gHqAAAAGnqbUNHqAA0AAepoDQZPU2poepobKHmqeogZA0ADQ00MgZA ZNNDRkyGTTRowg0NGEGmmQyaNGQxqMjEZBoBoGgGQYnpGQhoeoGg9Q0GjQaDJkGmmJgTTRkNDE0 00GgaYjQAGhk0NDQ9EGmTQBkwhoDEDTQAB+B7eMV5YAN5JS3MQZag2PpRUiIBiAnAaVOjO69tqB hqiOB8GX6do3JKBNymzmVVTa8B1fW4s+0fdJctGoaHodgOj9EmG7IFWEvwPjfscj19rOSiLlsUD 4bgRR+xzwsK9L5NTL/UrpAhFJ45IN+roV5Kkm/4ecrh2RQaT/gvBTuYmtUVz/GDstFYz1pW9qDL vYyhS9iWH/fW3JJ8bmfTGnygtPPk0QGUPHFJ8CjN3MM3w7yTJtJZWD6o12uv9rKcIPWq3YxUyVx WY1bjLvDa8n48meKMl7kx/oSuUQgSf8VD7RWXOkXrBMGlLYv3awoERPjXjlxrQQ/fPOAKKVHC/T qMjiWZZxoSzz2Avu1gzMKaJyAYNEdTEVBr+vAXJWYWJ0mqawQ07scP3+K0ABvgANEFuUIIOpk0S AT7FjGaussQYqP8XckU4UJCaoApPA== 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