Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca82c64

Browse files
committed
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.
1 parent 09bf728 commit ca82c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boards/opentitan/src/pinmux_layout.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ impl EarlGreyPinmuxConfig for BoardPinmuxLayout {
113113
Out::GpioGpio12, // Ioc2
114114
Out::ConstantHighZ, // Ioc3 UART3_RX
115115
Out::Uart3Tx, // Ioc4 UART3_TX
116-
Out::GpioGpio13, // Ioc5
116+
Out::ConstantHighZ, // Ioc5 (TAP STRAP 1)
117117
Out::GpioGpio14, // Ioc6
118118
Out::GpioGpio15, // Ioc7
119-
Out::GpioGpio16, // Ioc8
119+
Out::ConstantHighZ, // Ioc8 (TAP STRAP 0)
120120
Out::GpioGpio17, // Ioc9
121121
Out::GpioGpio18, // Ioc10
122122
Out::GpioGpio19, // Ioc11

0 commit comments

Comments
 (0)