]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arch: arm: mach-k3: am642_init: bring back MCU_PADCFG_MMR1 unlock
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 12 May 2022 06:21:01 +0000 (08:21 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 16 Jun 2022 19:22:54 +0000 (15:22 -0400)
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 <christian.gmeiner@gmail.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-k3/am642_init.c

index add7ea837759982bfb01cce7ca7274a6034201ef..b16de9c9f084ec73c4e94929cce59879c1a38177 100644 (file)
@@ -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);
 }
 
 /*