1# LPC11U6X MCU clock control driver config
2
3# Copyright (c) 2020 Seagate
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig CLOCK_CONTROL_LPC11U6X
7	bool "LPC11U6X Reset and clock control"
8	default y
9	depends on DT_HAS_NXP_LPC11U6X_SYSCON_ENABLED
10	help
11	  Enable driver for reset and clock control used in
12	  LPC11U6X MCUs
13
14if CLOCK_CONTROL_LPC11U6X
15
16config CLOCK_CONTROL_LPC11U6X_ENABLE_SRAM1
17	bool "SRAM1"
18	help
19	  Enable SRAM1
20
21config CLOCK_CONTROL_LPC11U6X_ENABLE_USB_RAM
22	bool "USB RAM"
23	help
24	  Enable USB RAM
25
26choice CLOCK_CONTROL_LPC11U6X_PLL_SRC
27	prompt "LPC11U6X PLL Clock source"
28
29config CLOCK_CONTROL_LPC11U6X_PLL_SRC_IRC
30	bool "IRC"
31	help
32	  Use the internal oscillator as the clock source for the PLL
33
34config CLOCK_CONTROL_LPC11U6X_PLL_SRC_SYSOSC
35	bool "SYSOSC"
36	help
37	  Use the system oscillator as the clock source for the PLL
38
39endchoice # CLOCK_CONTROL_LPC11U6X_PLL_SRC
40
41endif # CLOCK_CONTROL_LPC11U6X
42