summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-03-16 17:02:48 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-03-16 18:53:28 +0100
commit0f4c9db2f5b6b9b9590a57679ece07772d29fa52 (patch)
treed5b2ad14dd750de9f8ea64db90aaafe204700676
parent1004c8e6ee12f2f245c34441ab98887c54ca123e (diff)
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 <max.krummenacher@toradex.com>
-rw-r--r--arch/arm/mach-k3/include/mach/am62_hardware.h1
1 files changed, 1 insertions, 0 deletions
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)