spl: starfive: visionfive2: Disable USB overcurrent pin by default.
authorMinda Chen <minda.chen@starfivetech.com>
Thu, 6 Mar 2025 06:20:30 +0000 (14:20 +0800)
committerMarek Vasut <marex@denx.de>
Mon, 17 Mar 2025 00:55:19 +0000 (01:55 +0100)
commit05aa34cef90caf9c8bbf73abb32a79392996785f
tree622b184609f9d5e4dde22c63829a45a9f689f6ab
parentd0f8a9511e67e96f80fe624d304dd71f4a023e04
spl: starfive: visionfive2: Disable USB overcurrent pin by default.

For some JH7110 boards, USB host overcurent pin is not reserved,
To make USB host work, overcurrent pin must be disabled. So set the
pin default disabled in spl stage.

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Tested-by: E Shattow <lucent@gmail.com>
arch/riscv/include/asm/arch-jh7110/gpio.h
board/starfive/visionfive2/spl.c