aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Barker2022-07-08 10:25:45 +0100
committerTom Rini2022-07-25 13:02:03 -0400
commit21acb843db24ec8fc743bf78b8e253fc69c20e27 (patch)
tree6419c8f12f104e3b3f88c30886bb9ef52a3b93e0
parent98889c9dba4f7b8644f8a75024ea19d7f5dcf823 (diff)
board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite
The SanCloud BBE Lite has a Micron Authenta flash device connected to the spi0 bus. Signed-off-by: Paul Barker <paul.barker@sancloud.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/ti/am335x/mux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
index fed737fa099..7d31adec142 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);