修订版 | 21acb843db24ec8fc743bf78b8e253fc69c20e27 (tree) |
---|---|
时间 | 2022-07-26 02:02:03 |
作者 | Paul Barker <paul.barker@sanc...> |
Commiter | Tom Rini |
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>
@@ -401,8 +401,13 @@ void enable_board_pin_mux(void) | ||
401 | 401 | configure_module_pin_mux(mmc0_pin_mux_sk_evm); |
402 | 402 | } else if (board_is_bone_lt()) { |
403 | 403 | if (board_is_bben()) { |
404 | + char subtype_id = board_ti_get_config()[1]; | |
405 | + | |
404 | 406 | /* SanCloud Beaglebone LT Enhanced pinmux */ |
405 | 407 | configure_module_pin_mux(rgmii1_pin_mux); |
408 | + | |
409 | + if (subtype_id == 'L') | |
410 | + configure_module_pin_mux(spi0_pin_mux); | |
406 | 411 | } else { |
407 | 412 | /* Beaglebone LT pinmux */ |
408 | 413 | configure_module_pin_mux(mii1_pin_mux); |