From: Christian Gmeiner Date: Thu, 12 May 2022 06:21:01 +0000 (+0200) Subject: arch: arm: mach-k3: am642_init: bring back MCU_PADCFG_MMR1 unlock X-Git-Tag: baikal/mips/sdk5.9~3^2~23^2~9 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=3f0fb7f18d997276df645c2595e0ace58eb2df16;p=uboot.git arch: arm: mach-k3: am642_init: bring back MCU_PADCFG_MMR1 unlock Without this register unlock it is not possible to configure the pinmux used for mcu spi0. Fixes: fd8a9cba14 ("arch: arm: mach-k3: am642_init: Probe ESM nodes") Signed-off-by: Christian Gmeiner Reviewed-by: Nishanth Menon --- diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c index add7ea8377..b16de9c9f0 100644 --- a/arch/arm/mach-k3/am642_init.c +++ b/arch/arm/mach-k3/am642_init.c @@ -47,6 +47,9 @@ static void ctrl_mmr_unlock(void) mmr_unlock(CTRL_MMR0_BASE, 3); mmr_unlock(CTRL_MMR0_BASE, 5); mmr_unlock(CTRL_MMR0_BASE, 6); + + /* Unlock all MCU_PADCFG_MMR1 module registers */ + mmr_unlock(MCU_PADCFG_MMR1_BASE, 1); } /*