Skip to content
Commit 8597f273 authored by Neal Frager's avatar Neal Frager Committed by Quanyang Wang
Browse files

arm64: zynqmp: Add output-enable pins to SOMs

commit d9d14d0291a7100d9946d3d4fdb5ee0279b49b3b from
https://github.com/Xilinx/linux-xlnx.git

 xlnx_rebase_v6.1

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: default avatarNeal Frager <neal.frager@amd.com>
Link: https://lore.kernel.org/r/7ecd98b2a302c5c6628e0234482f23c38e721fd6.1693492064.git.michal.simek@amd.com


Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
State: upstream ()
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
parent 7c2bb805
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment