From: Bryan Brattlof <bb@ti.com>
To: Tom Rini <trini@konsulko.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>, Andrew Davis <afd@ti.com>,
Ravi Gunasekaran <r-gunasekaran@ti.com>,
UBoot Mailing List <u-boot@lists.denx.de>,
Bryan Brattlof <bb@ti.com>
Subject: [PATCH v2 3/5] arm: dts: add DMA and CPSW nodes for uboot
Date: Sun, 2 Apr 2023 16:36:15 -0500 [thread overview]
Message-ID: <20230402213617.1759491-4-bb@ti.com> (raw)
In-Reply-To: <20230402213617.1759491-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 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
next prev parent reply other threads:[~2023-04-02 21:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-02 21:36 [PATCH v2 0/5] enable DMA and CPSW nodes for am62ax SoC family Bryan Brattlof
2023-04-02 21:36 ` [PATCH v2 1/5] dma: ti: k3-udma: Introduce DMA support for the am62ax Bryan Brattlof
2023-04-02 21:36 ` [PATCH v2 2/5] arm: dts: sync am62ax dtbs with linux v6.3-rc4 Bryan Brattlof
2023-04-14 18:06 ` Bryan Brattlof
2023-04-02 21:36 ` Bryan Brattlof [this message]
2023-04-02 21:36 ` [PATCH v2 4/5] configs: enable net features for am62ax Bryan Brattlof
2023-04-02 21:36 ` [PATCH v2 5/5] configs: am62ax: enable ymodem support for a53 spl Bryan Brattlof
2023-04-03 4:32 ` [PATCH v2 0/5] enable DMA and CPSW nodes for am62ax SoC family Ravi Gunasekaran
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=20230402213617.1759491-4-bb@ti.com \
--to=bb@ti.com \
--cc=afd@ti.com \
--cc=r-gunasekaran@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).