1compatible: "silabs,series2-hfrcodpll"
2
3description: |
4  Silicon Labs HFRCODPLL peripheral (high-frequency RC oscillator with digital phase-locked loop).
5  Can be used as a free-running RC oscillator or with PLL lock to the crystal oscillators HFXO
6  or LFXO. To enable PLL, set the `clocks` property to the source crystal oscillator, and set
7  the `dpll-*` options to desired values.
8
9  In PLL mode, `clock-frequency` represents the target PLL frequency.
10  In free-running mode, `clock-frequency` represents the HFRCO band to use.
11
12include: fixed-clock.yaml
13
14properties:
15  dpll-n:
16    type: int
17    description: Numerator used in f_out = f_ref * (n+1) / (m+1)
18  dpll-m:
19    type: int
20    description: Denominator used in f_out = f_ref * (n+1) / (m+1)
21  dpll-edge:
22    type: string
23    description: Which edge of the reference is detected
24    enum: ["fall", "rise"]
25  dpll-lock:
26    type: string
27    description: |
28      PLL lock mode.
29      freq: Frequency-lock loop mode
30      phase: Phase-lock loop mode
31    enum: ["freq", "phase"]
32  dpll-autorecover:
33    type: boolean
34    description: Automatically re-lock if the PLL loses the lock
35  dpll-dither:
36    type: boolean
37    description: Enable dither function
38