1# Copyright (c) 2024 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  nRF LFCLK (Low Frequency CLocK)
6
7  The LFCLK can use the following clocks as clock sources:
8
9    - HFXO: The HFXO clock is used as a clock source if the
10      LFCLK SYNTH mode is selected and the LFXO clock is not
11      available. The HFXO clock is used indirectly through
12      the FLL16M clock in BYPASS mode.
13
14    - LFXO: The LFXO clock is used as a clock source if the
15      LFCLK SYNTH mode is selected and the LFXO clock is
16      available. The LFXO clock is used indirectly through
17      the FLL16M clock in BYPASS mode.
18
19  Devicetree example:
20
21    lfclk {
22            lfrc-accuracy-ppm = <500>;
23            lflprc-accuracy-ppm = <1000>;
24            clocks = <&hfxo>, <&lfxo>;
25            clock-names = "hfxo", "lfxo";
26    };
27
28compatible: "nordic,nrf-lfclk"
29
30include: fixed-clock.yaml
31
32properties:
33  clock-frequency:
34    const: 32768
35
36  lfrc-accuracy-ppm:
37    type: int
38    description: Clock accuracy in parts per million if LFRC clock source is used.
39
40  lflprc-accuracy-ppm:
41    type: int
42    description: Clock accuracy in parts per million if LFLPRC clock source is used.
43