]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit65a35830b58d7928fdfe2178a62320668f8086b6
tree58d4a2507acd56d62aa681f29a07fca858418c6c
parentcf09f37d37aba44c0bdd22c0e93c88c5214bb08e
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