From 8bf7cf4f7c34d647fd8e454ca2341125e6b1a4ab Mon Sep 17 00:00:00 2001 From: James Wainwright Date: Mon, 22 Jan 2024 13:50:30 +0000 Subject: [PATCH] Disconnect debug-related pins from GPIO by default These TAP straps are used to select whether Earl Grey's lifecycle controller or RISC-V debugger are connected to the JTAG TAP. These pins are sampled continuously in RMA mode, so we don't want to drive them by default. --- boards/opentitan/src/pinmux_layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/opentitan/src/pinmux_layout.rs b/boards/opentitan/src/pinmux_layout.rs index 5d75a577fd..bd7d1df670 100644 --- a/boards/opentitan/src/pinmux_layout.rs +++ b/boards/opentitan/src/pinmux_layout.rs @@ -113,10 +113,10 @@ impl EarlGreyPinmuxConfig for BoardPinmuxLayout { Out::GpioGpio12, // Ioc2 Out::ConstantHighZ, // Ioc3 UART3_RX Out::Uart0Tx, // Ioc4 UART3_TX - Out::GpioGpio13, // Ioc5 + Out::ConstantHighZ, // Ioc5 (TAP STRAP 1) Out::GpioGpio14, // Ioc6 Out::GpioGpio15, // Ioc7 - Out::GpioGpio16, // Ioc8 + Out::ConstantHighZ, // Ioc8 (TAP STRAP 0) Out::GpioGpio17, // Ioc9 Out::GpioGpio18, // Ioc10 Out::GpioGpio19, // Ioc11