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	depends on SOC_SERIES_LPC11U6X
9	help
10	  Enable driver for reset and clock control used in
11	  LPC11U6X MCUs
12
13if CLOCK_CONTROL_LPC11U6X
14
15config CLOCK_CONTROL_LPC11U6X_ENABLE_SRAM1
16	bool "Enable SRAM1"
17	help
18	  Enable SRAM1
19
20config CLOCK_CONTROL_LPC11U6X_ENABLE_USB_RAM
21	bool "Enable USB RAM"
22	help
23	  Enable USB RAM
24
25choice CLOCK_CONTROL_LPC11U6X_PLL_SRC
26	prompt "LPC11U6X PLL Clock source"
27
28config CLOCK_CONTROL_LPC11U6X_PLL_SRC_IRC
29	bool "IRC"
30	help
31	  Use the internal oscillator as the clock source for the PLL
32
33config CLOCK_CONTROL_LPC11U6X_PLL_SRC_SYSOSC
34	bool "SYSOSC"
35	help
36	  Use the system oscillator as the clock source for the PLL
37
38endchoice # CLOCK_CONTROL_LPC11U6X_PLL_SRC
39
40endif # CLOCK_CONTROL_LPC11U6X
41