]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: zynqmp: Disable Tri-state for MIO38 Pin
authorTejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Fri, 20 Oct 2023 05:06:22 +0000 (10:36 +0530)
committerMichal Simek <michal.simek@amd.com>
Tue, 7 Nov 2023 12:47:09 +0000 (13:47 +0100)
commit820bad0271939d93c2651b29f7ae8adb665a4dfe
treee77dee394e43cb980276342f67ef5270a058da4c
parent3e891448920a8d53205d05e36372d65ae1289734
arm64: zynqmp: Disable Tri-state for MIO38 Pin

gpio38 is used in SOM's kv260 to reset the Ethernet PHY.
At present, HW reset is not working properly as Tri-stateĀ 
is enabled for MIO38, causing inappropriate PHY register reads.

Disabled Tri-state for MIO38 to make HW reset work.

Tri-state disable :
ZynqMP> md 0xFF180208 2
ff18020800bfe7a3 00000540

Tri-state enable :
ZynqMP> md 0xFF180208 2
ff18020800bfe7e3 00000540

Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Link: https://lore.kernel.org/r/20231020050622.972750-1-tejas.arvind.bhumkar@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso