All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bryan Brattlof <bb@ti.com>
To: Tom Rini <trini@konsulko.com>
Cc: UBoot Mailing List <u-boot@lists.denx.de>,
	Vignesh Raghavendra <vigneshr@ti.com>, Andrew Davis <afd@ti.com>,
	Nishanth Menon <nm@ti.com>,
	Neha Malcom Francis <n-francis@ti.com>,
	Manorit Chawdhry <m-chawdhry@ti.com>,
	Martyn Welch <martyn.welch@collabora.com>,
	Svyatoslav Ryhel <clamor95@gmail.com>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Simon Glass <sjg@chromium.org>, Bryan Brattlof <bb@ti.com>
Subject: [PATCH 12/26] arm: dts: k3-am654: add needed regs to udmap nodes
Date: Thu, 21 Dec 2023 11:43:58 -0600	[thread overview]
Message-ID: <20231221174412.210807-13-bb@ti.com> (raw)
In-Reply-To: <20231221174412.210807-1-bb@ti.com>

Ethernet is one of a few IPs in U-Boot that depend on DMA to operate.
However there are a few missing registers ranges in the udmap nodes
need to properly setup DMA for the am65x.

A fix has been added to the Linux kernel[0] to add these ranges however
they have not made it to a Linux tag. To keep DMA operational until the
next DT sync from Linux, add these ranges to the *-u-boot.dtsi with a
note for our future selves.

[0] https://lore.kernel.org/r/20231213135138.929517-2-vigneshr@ti.com
Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
index 9cd8c353c515b..645241da322a5 100644
--- a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
@@ -260,3 +260,35 @@
 &mcu_r5fss0 {
 	ti,cluster-mode = <0>;
 };
+
+/* The DMA driver requires a few extra register ranges
+ * which are missing for the am65x. A patch has been
+ * sent and will be synced after the v6.8-rc1 linux
+ * tag is published
+ */
+&main_udmap {
+	reg = <0x0 0x31150000 0x0 0x100>,
+	      <0x0 0x34000000 0x0 0x100000>,
+	      <0x0 0x35000000 0x0 0x100000>,
+	      <0x0 0x30b00000 0x0 0x10000>,
+	      <0x0 0x30c00000 0x0 0x10000>,
+	      <0x0 0x30d00000 0x0 0x8000>;
+	reg-names = "gcfg", "rchanrt", "tchanrt",
+		    "tchan", "rchan", "rflow";
+};
+
+/* The DMA driver requires a few extra register ranges
+ * which are missing for the am65x. A patch has been
+ * sent and will be synced after the v6.8-rc1 linux
+ * tag is published
+ */
+&mcu_udmap {
+	reg = <0x0 0x285c0000 0x0 0x100>,
+	      <0x0 0x2a800000 0x0 0x40000>,
+	      <0x0 0x2aa00000 0x0 0x40000>,
+	      <0x0 0x284a0000 0x0 0x4000>,
+	      <0x0 0x284c0000 0x0 0x4000>,
+	      <0x0 0x28400000 0x0 0x2000>;
+	reg-names = "gcfg", "rchanrt", "tchanrt",
+		    "tchan", "rchan", "rflow";
+};
-- 
2.43.0


  parent reply	other threads:[~2023-12-21 17:45 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 17:43 [PATCH 00/26] sync am65x device tree with Linux v6.7-rc1 Bryan Brattlof
2023-12-21 17:43 ` [PATCH 01/26] configs: am65x_evm_r5: enable driver for fixed regulators Bryan Brattlof
2023-12-21 17:43 ` [PATCH 02/26] configs: am65x_evm_a53: disable CONSOLE_MUX Bryan Brattlof
2023-12-21 17:43 ` [PATCH 03/26] arm: dts: k3-am654-r5: Merge board file and U-Boot overlay Bryan Brattlof
2023-12-21 17:43 ` [PATCH 04/26] arm: dts: k3-am654: pull in dtb update from Linux Bryan Brattlof
2023-12-21 17:43 ` [PATCH 05/26] arm: dts: k3-am654: copy bootph properties to a53 dts Bryan Brattlof
2023-12-21 17:43 ` [PATCH 06/26] arm: dts: k3-am654: include a53 board dtb for r5 build Bryan Brattlof
2023-12-21 17:43 ` [PATCH 07/26] arm: dts: k3-am654: remove duplicate vtt_supply Bryan Brattlof
2023-12-21 17:43 ` [PATCH 08/26] arm: dts: k3-am654: remove duplicate wkup_uart0 Bryan Brattlof
2023-12-21 17:43 ` [PATCH 09/26] arm: dts: k3-am654: remove duplicate timer Bryan Brattlof
2023-12-21 17:43 ` [PATCH 10/26] arm: dts: k3-am654: remove duplicate mcu_ringacc Bryan Brattlof
2023-12-21 17:43 ` [PATCH 11/26] arm: dts: k3-am654: remove duplicate mcu_udmap Bryan Brattlof
2023-12-21 17:43 ` Bryan Brattlof [this message]
2023-12-27 12:25   ` [PATCH 12/26] arm: dts: k3-am654: add needed regs to udmap nodes Nishanth Menon
2023-12-28 17:18     ` Bryan Brattlof
2023-12-21 17:43 ` [PATCH 13/26] arm: dts: k3-am654: remove duplicate mcu_uart0 node Bryan Brattlof
2023-12-21 17:44 ` [PATCH 14/26] arm: dts: k3-am654: remove duplicate main_uart0 Bryan Brattlof
2023-12-21 17:44 ` [PATCH 15/26] arm: dts: k3-am654: remove duplicate sdhci0 pinmux node Bryan Brattlof
2023-12-27 12:30   ` Nishanth Menon
2023-12-21 17:44 ` [PATCH 16/26] arm: dts: k3-am654: remove duplicate sdhci1 " Bryan Brattlof
2023-12-27 12:31   ` Nishanth Menon
2023-12-21 17:44 ` [PATCH 17/26] arm: dts: k3-am654: remove duplicate wkup_i2c0 Bryan Brattlof
2023-12-21 17:44 ` [PATCH 18/26] arm: dts: k3-am654: remove duplicate ospi0 node Bryan Brattlof
2023-12-21 17:44 ` [PATCH 19/26] arm: dts: k3-am654: remove usb0 Bryan Brattlof
2023-12-21 17:44 ` [PATCH 20/26] arm: dts: k3-am654: remove duplicate mdio Bryan Brattlof
2023-12-21 17:44 ` [PATCH 21/26] arm: dts: k3-am654: remove duplicate vtt pinmux Bryan Brattlof
2023-12-21 17:44 ` [PATCH 22/26] arm: dts: k3-am654: remove duplicate root properties Bryan Brattlof
2023-12-21 17:44 ` [PATCH 23/26] arm: dts: k3-am654: remove un-needed aliases Bryan Brattlof
2023-12-21 17:44 ` [PATCH 24/26] arm: dts: k3-am654: move dummy_clock to root node Bryan Brattlof
2023-12-21 17:44 ` [PATCH 25/26] arm: dts: k3-am65: remove duplicate mcu secure proxy node Bryan Brattlof
2023-12-21 17:44 ` [PATCH 26/26] arm: dts: k3-am654: convert bootph-pre-ram to bootph-all Bryan Brattlof
2023-12-27 12:29   ` Nishanth Menon
2023-12-28 17:30     ` Bryan Brattlof
2023-12-21 20:00 ` [PATCH 00/26] sync am65x device tree with Linux v6.7-rc1 Tom Rini
2023-12-27 12:39   ` Nishanth Menon
2023-12-27 13:32     ` Tom Rini
2024-01-02  7:27     ` Jan Kiszka
2024-01-02 17:42       ` Tom Rini
2024-01-03  5:10         ` Jan Kiszka
2024-01-03 15:50           ` Tom Rini

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=20231221174412.210807-13-bb@ti.com \
    --to=bb@ti.com \
    --cc=afd@ti.com \
    --cc=clamor95@gmail.com \
    --cc=m-chawdhry@ti.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=martyn.welch@collabora.com \
    --cc=n-francis@ti.com \
    --cc=nm@ti.com \
    --cc=sjg@chromium.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.