drivers: clock_control: Add initial SiM3U1xx support
This serves two main purposes: - change the CPU clock via devicetree nodes - provide the APB frequency to device drivers via the clock driver interface Theoretically this could also support choosing between the available clock sources, but right now we only support LPOSC0 going into PLL0, going into AHB. Turning the PLL back off is also not supported since the only current use case is to set the PLL frequency, turn it on, and switch the AHB over to it. Signed-off-by: Michael Zimmermann <michael.zimmermann@grandcentrix.net>
This commit is contained in:
parent
e1eeefea84
commit
d49cc8a56f
8 changed files with 372 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
config SOC_SERIES_SIM3U
|
||||
select ARM
|
||||
select CLOCK_CONTROL
|
||||
select CPU_CORTEX_M3
|
||||
select CPU_CORTEX_M_HAS_SYSTICK
|
||||
select HAS_SILABS_SI32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue