1# Copyright (c) 2021, Linaro ltd
2# SPDX-License-Identifier: Apache-2.0
3
4description: STM32 MSI Clock
5
6compatible: "st,stm32-msi-clock"
7
8include: [clock-controller.yaml, base.yaml]
9
10properties:
11  msi-range:
12    required: true
13    type: int
14    default: 6
15    description: |
16      MSI clock ranges
17    enum:
18      - 0 # range 0 around 100 kHz
19      - 1 # range 1 around 200 kHz
20      - 2 # range 2 around 400 kHz
21      - 3 # range 3 around 800 kHz
22      - 4 # range 4 around 1M Hz
23      - 5 # range 5 around 2 MHz
24      - 6 # range 6 around 4 MHz (reset value)
25      - 7 # range 7 around 8 MHz
26      - 8 # range 8 around 16 MHz
27      - 9 # range 9 around 24 MHz
28      - 10 # range 10 around 32 MHz
29      - 11 # range 11 around 48 MHz
30
31  msi-pll-mode:
32    type: boolean
33    description: |
34      MSI clock PLL enable
35      Enables the PLL part of the MSI clock source.
36