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>
This commit is contained in:
Paul Barker 2022-07-08 10:25:45 +01:00 committed by Tom Rini
parent 98889c9dba
commit 21acb843db

View File

@ -401,8 +401,13 @@ void enable_board_pin_mux(void)
configure_module_pin_mux(mmc0_pin_mux_sk_evm); configure_module_pin_mux(mmc0_pin_mux_sk_evm);
} else if (board_is_bone_lt()) { } else if (board_is_bone_lt()) {
if (board_is_bben()) { if (board_is_bben()) {
char subtype_id = board_ti_get_config()[1];
/* SanCloud Beaglebone LT Enhanced pinmux */ /* SanCloud Beaglebone LT Enhanced pinmux */
configure_module_pin_mux(rgmii1_pin_mux); configure_module_pin_mux(rgmii1_pin_mux);
if (subtype_id == 'L')
configure_module_pin_mux(spi0_pin_mux);
} else { } else {
/* Beaglebone LT pinmux */ /* Beaglebone LT pinmux */
configure_module_pin_mux(mii1_pin_mux); configure_module_pin_mux(mii1_pin_mux);