]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: zynqmp: Do not assing MIO34 that early on zcu100
authorMichal Simek <michal.simek@xilinx.com>
Tue, 3 Dec 2019 14:02:50 +0000 (15:02 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 14 Jan 2020 08:05:53 +0000 (09:05 +0100)
commite82024def64569bd7cabb430b4cef9a4c102f2be
treee9ff522f48ff611690df50af3457e2b776bd0311
parentfc274a593217de8f8450274275528c29c7678064
arm64: zynqmp: Do not assing MIO34 that early on zcu100

MIO34 is connected to POWER_KILL signal. When MIO configuration is done in
psu_init() and this pin is assigned to PMU but PMU configuration is not
loaded yet. PMU gpio output is high that means board is powered off
immediately.
The patch is fixing this sequence that MIO34 stays assing to ps gpio IP.
PMU config is loaded in SPL and then pin assigned to PMU through
psu_post_config_data().

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynqmp/include/mach/psu_init_gpl.h
arch/arm/mach-zynqmp/psu_spl_init.c
arch/arm/mach-zynqmp/spl.c
board/xilinx/zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c