[PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite

Paul Barker paul.barker at sancloud.com
Fri Jul 8 11:25:45 CEST 2022


The SanCloud BBE Lite has a Micron Authenta flash device connected to
the spi0 bus.

Signed-off-by: Paul Barker <paul.barker at sancloud.com>
---
 board/ti/am335x/mux.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
index fed737fa099a..7d31adec1421 100644
--- a/board/ti/am335x/mux.c
+++ b/board/ti/am335x/mux.c
@@ -401,8 +401,13 @@ void enable_board_pin_mux(void)
 		configure_module_pin_mux(mmc0_pin_mux_sk_evm);
 	} else if (board_is_bone_lt()) {
 		if (board_is_bben()) {
+			char subtype_id = board_ti_get_config()[1];
+
 			/* SanCloud Beaglebone LT Enhanced pinmux */
 			configure_module_pin_mux(rgmii1_pin_mux);
+
+			if (subtype_id == 'L')
+				configure_module_pin_mux(spi0_pin_mux);
 		} else {
 			/* Beaglebone LT pinmux */
 			configure_module_pin_mux(mii1_pin_mux);

base-commit: 0cc846dafcf6f6270c6587d6fe79011834d6e49a
-- 
2.25.1



More information about the U-Boot mailing list