diff mbox series

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

Message ID 20220708092546.839914-1-paul.barker@sancloud.com
State Accepted
Commit 21acb843db24ec8fc743bf78b8e253fc69c20e27
Delegated to: Tom Rini
Headers show
Series [1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite | expand

Commit Message

Paul Barker July 8, 2022, 9:25 a.m. UTC
The SanCloud BBE Lite has a Micron Authenta flash device connected to
the spi0 bus.

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


base-commit: 0cc846dafcf6f6270c6587d6fe79011834d6e49a

Comments

Tom Rini July 8, 2022, 8:22 p.m. UTC | #1
On Fri, Jul 08, 2022 at 10:25:45AM +0100, Paul Barker wrote:

> 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>
Tom Rini July 25, 2022, 9:20 p.m. UTC | #2
On Fri, Jul 08, 2022 at 10:25:45AM +0100, Paul Barker wrote:

> 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>

Applied to u-boot/master, thanks!
Tom Rini July 25, 2022, 9:20 p.m. UTC | #3
On Fri, Jul 08, 2022 at 10:25:45AM +0100, Paul Barker wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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);