include: configs: Adds support for AM335x ICE PRUSS mode
authorParvathi Pudi <parvathi@couthit.com>
Thu, 10 Apr 2025 06:59:55 +0000 (12:29 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 15 Apr 2025 17:21:24 +0000 (11:21 -0600)
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

index 19d3c72..cf43fc0 100644 (file)
                        "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=" \