u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Bryan Brattlof <bb@ti.com>
To: Tom Rini <trini@konsulko.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>, Andrew Davis <afd@ti.com>,
	UBoot Mailing List <u-boot@lists.denx.de>,
	Bryan Brattlof <bb@ti.com>
Subject: [PATCH 3/5] arm: dts: add DMA and CPSW nodes for uboot
Date: Mon, 27 Mar 2023 13:40:33 -0500	[thread overview]
Message-ID: <20230327184035.2128786-4-bb@ti.com> (raw)
In-Reply-To: <20230327184035.2128786-1-bb@ti.com>

Update the uboot dtsi to enable DMA and CPSW at the uboot level

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 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;
+};
+
+&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;
+	};
+};
-- 
2.40.0


  parent reply	other threads:[~2023-03-27 18:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 18:40 [PATCH 0/5] enable DMA and CPSW nodes for am62ax SoC family Bryan Brattlof
2023-03-27 18:40 ` [PATCH 1/5] dma: ti: k3-udma: Introduce DMA support for the am62ax Bryan Brattlof
2023-03-27 18:40 ` [PATCH 2/5] arm: dts: sync am62ax dtbs with linux v6.3-rc4 Bryan Brattlof
2023-03-27 18:40 ` Bryan Brattlof [this message]
2023-03-31  7:15   ` [PATCH 3/5] arm: dts: add DMA and CPSW nodes for uboot Ravi Gunasekaran
2023-04-02 21:26     ` Bryan Brattlof
2023-03-27 18:40 ` [PATCH 4/5] configs: enable net features for am62ax Bryan Brattlof
2023-03-27 18:40 ` [PATCH 5/5] configs: am62ax: enable ymodem support for a53 spl Bryan Brattlof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230327184035.2128786-4-bb@ti.com \
    --to=bb@ti.com \
    --cc=afd@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).