U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Parvathi Pudi <parvathi@couthit.com>
To: u-boot@lists.denx.de, trini@konsulko.com, sjg@chromium.org
Cc: pratheesh@ti.com, prajith@ti.com, vigneshr@ti.com,
	danishanwar@ti.com, praneeth@ti.com, srk@ti.com, rogerq@ti.com,
	afd@ti.com, krishna@couthit.com, pmohan@couthit.com,
	mohan@couthit.com, parvathi@couthit.com, basharath@couthit.com
Subject: [PATCH v1 1/1] include: configs: Adds support for AM335x ICE PRUSS mode
Date: Thu, 10 Apr 2025 12:29:55 +0530	[thread overview]
Message-ID: <20250410065955.9770-2-parvathi@couthit.com> (raw)
In-Reply-To: <20250410065955.9770-1-parvathi@couthit.com>

On the AM3359 ICE we have two modes of operation CPSW mode or PRU-ICSS
mode.

For PRU-ICSS mode, connect Pin2 and Pin3 of J18 and J19 and for CPSW mode,
connect Pin1 and Pin2 of J18 and J19.

This patch adds support for PRUSS mode boot strapping from uboot.

Co-developed-by: Basharath Hussain Khaja <basharath@couthit.com>
Signed-off-by: Basharath Hussain Khaja <basharath@couthit.com>
Signed-off-by: Parvathi Pudi <parvathi@couthit.com>
---
 include/configs/am335x_evm.h | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 19d3c72a6f1..cf43fc05025 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -138,11 +138,10 @@
 			"setenv fdtfile am335x-evm.dtb; fi; " \
 		"if test $board_name = A335X_SK; then " \
 			"setenv fdtfile am335x-evmsk.dtb; fi; " \
-		"if test $board_name = A335_ICE; then " \
-			"setenv fdtfile am335x-icev2.dtb; " \
-			"if test $ice_mii = mii; then " \
-				"setenv pxe_label_override Pruss; fi;" \
-		"fi; " \
+		"if test $board_name = A335_ICE && test $ice_mii = rmii; then " \
+			"setenv fdtfile am335x-icev2.dtb; fi; " \
+		"if test $board_name = A335_ICE && test $ice_mii = mii; then " \
+			"setenv fdtfile am335x-icev2-prueth.dtb; fi; " \
 		"if test $fdtfile = undefined; then " \
 			"echo WARNING: Could not determine device tree to use; fi; \0" \
 	"init_console=" \
-- 
2.17.1


  reply	other threads:[~2025-04-10 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-10  6:59 [PATCH v1 0/1] Support for PRUETH mode on AM335x ICE Parvathi Pudi
2025-04-10  6:59 ` Parvathi Pudi [this message]
2025-04-16 14:10   ` [PATCH v1 1/1] include: configs: Adds support for AM335x ICE PRUSS mode 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=20250410065955.9770-2-parvathi@couthit.com \
    --to=parvathi@couthit.com \
    --cc=afd@ti.com \
    --cc=basharath@couthit.com \
    --cc=danishanwar@ti.com \
    --cc=krishna@couthit.com \
    --cc=mohan@couthit.com \
    --cc=pmohan@couthit.com \
    --cc=prajith@ti.com \
    --cc=praneeth@ti.com \
    --cc=pratheesh@ti.com \
    --cc=rogerq@ti.com \
    --cc=sjg@chromium.org \
    --cc=srk@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