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