board: ti: k2g: Program PadConfig_202 before locking RSTMUX8
authorSuman Anna <s-anna@ti.com>
Mon, 26 Jul 2021 23:22:48 +0000 (18:22 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 29 Jul 2021 05:12:22 +0000 (10:42 +0530)
commita6c64d255e5117bcf78aec6911d7c034fbfe46f7
tree58d4a2507acd56d62aa681f29a07fca858418c6c
parentbcad620f683168d09f688ca7bf42980981496aa0
board: ti: k2g: Program PadConfig_202 before locking RSTMUX8

The PADCONFIG_202 register (0x02621328) is affected by the locking
of the RSTMUX8 register (0x02620328), and so cannot be configured
in kernel. This has been confirmed as a hardware bug and affects
all K2G SoCs.

Setup the pinmux for this pin before locking the RSTMUX8 register
to allow the ICSS1 PRU1 Ethernet PHY port to work properly. The
workaround was added only for the K2G-ICE board to configure the
pins needed for the PRUSS Ethernet usecase.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210726232248.24395-1-s-anna@ti.com
board/ti/ks2_evm/mux-k2g.h