1# Copyright (c) 2024 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Nordic FLL16M
6
7  The FLL16M can use the following clocks as clock sources:
8
9    - HFXO: The HFXO clock is used as a clock source if the
10      FLL16M mode is BYPASS, or if the FLL16M mode is
11      closed-loop and the LFXO clock is not available.
12
13    - LFXO: The LFXO clock is used as a clock source if the
14      FLL16M mode is closed-loop and the LFXO clock is
15      available.
16
17  Devicetree example:
18
19    fll16m {
20            open-loop-accuracy-ppm = <20000>;
21            closed-loop-base-accuracy-ppm = <5000>;
22            clocks = <&hfxo>, <&lfxo>;
23            clock-names = "hfxo", "lfxo";
24    };
25
26compatible: "nordic,nrf-fll16m"
27
28include: fixed-clock.yaml
29
30properties:
31  clock-frequency:
32    const: 16000000
33
34  open-loop-accuracy-ppm:
35    type: int
36    description: Clock accuracy in parts per million if open-loop clock source is used.
37
38  closed-loop-base-accuracy-ppm:
39    type: int
40    description: |
41      Base clock accuracy in parts per million if closed-loop clock source is used.
42      The actual accuracy is this property plus the accuracy of the HFXO or LFXO.
43