From 0f4c9db2f5b6b9b9590a57679ece07772d29fa52 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 16 Mar 2023 17:02:48 +0100 Subject: mach-k3: am62_hardware: add lfxosc bypass bit Add the BP_C bit position of the LFXOSC_CTRL Register. This allows to bypass the crystal oscillator when providing the clock from an external source. Upstream-Status: Pending Initial U-Boot to be used for bring-up and validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Max Krummenacher --- arch/arm/mach-k3/include/mach/am62_hardware.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/include/mach/am62_hardware.h b/arch/arm/mach-k3/include/mach/am62_hardware.h index 15bd9d029a..c61e74edfd 100644 --- a/arch/arm/mach-k3/include/mach/am62_hardware.h +++ b/arch/arm/mach-k3/include/mach/am62_hardware.h @@ -63,6 +63,7 @@ #define MCU_CTRL_LFXOSC_CTRL (MCU_CTRL_MMR0_BASE + 0x8038) #define MCU_CTRL_LFXOSC_TRIM (MCU_CTRL_MMR0_BASE + 0x803c) +#define MCU_CTRL_LFXOSC_32K_BYPASS_VAL BIT(4) #define MCU_CTRL_LFXOSC_32K_DISABLE_VAL BIT(7) #define MCU_CTRL_DEVICE_CLKOUT_32K_CTRL (MCU_CTRL_MMR0_BASE + 0x8058) -- cgit v1.2.3