arm64: zynqmp: Add output-enable pins to SOMs
authorNeal Frager <neal.frager@amd.com>
Mon, 8 Jan 2024 15:39:13 +0000 (16:39 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 22 Jan 2024 13:10:09 +0000 (14:10 +0100)
commit34e48901e7e22c376ada1a816fc29da183e86efc
treef2600f7a0714f920dd394b1bdff81f218ec0c3cc
parent5710ea6a901a08bec9e268404c00bc6abcb7c488
arm64: zynqmp: Add output-enable pins to SOMs

Now that the zynqmp pinctrl driver supports the tri-state registers, make
sure that the pins requiring output-enable are configured appropriately for
SOMs.

Without it, all tristate setting for MIOs, which are not related to SOM
itself, are using default configuration which is not correct setting.
It means SDs, USBs, ethernet, etc. are not working properly.

In past it was fixed through calling tristate configuration via bootcmd:
usb_init=mw 0xFF180208 2020
kv260_gem3=mw 0xFF18020C 0xFC0 && gpio toggle gpio@ff0a000038 && \
  gpio toggle gpio@ff0a000038

Signed-off-by: Neal Frager <neal.frager@amd.com>
Link: https://lore.kernel.org/r/9270938b48c8939ac5dca4ac2c59f1c4a8c564d8.1704728353.git.michal.simek@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso