zephyr/dts/bindings/clock/nordic,nrf-lfclk.yaml
Bjarki Arge Andreasen b20a233b05 drivers: clock_control: nrf2_lfclk: impl resolve and startup_time
Implement nrf_clock_control_resolve() and
nrf_clock_control_get_startup_time_us() APIs.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-04 17:00:40 +02:00

53 lines
1.5 KiB
YAML

# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: |
nRF LFCLK (Low Frequency CLocK)
The LFCLK can use the following clocks as clock sources:
- HFXO: The HFXO clock is used as a clock source if the
LFCLK SYNTH mode is selected and the LFXO clock is not
available. The HFXO clock is used indirectly through
the FLL16M clock in BYPASS mode.
- LFXO: The LFXO clock is used as a clock source if the
LFCLK SYNTH mode is selected and the LFXO clock is
available. The LFXO clock is used indirectly through
the FLL16M clock in BYPASS mode.
Devicetree example:
lfclk {
lfrc-accuracy-ppm = <500>;
lflprc-accuracy-ppm = <1000>;
lfrc-startup-time-us = <400>;
lflprc-startup-time-us = <400>;
clocks = <&hfxo>, <&lfxo>;
clock-names = "hfxo", "lfxo";
};
compatible: "nordic,nrf-lfclk"
include: fixed-clock.yaml
properties:
clock-frequency:
const: 32768
lfrc-accuracy-ppm:
type: int
description: Clock accuracy in parts per million if LFRC clock source is used.
lflprc-accuracy-ppm:
type: int
description: Clock accuracy in parts per million if LFLPRC clock source is used.
lfrc-startup-time-us:
type: int
description: Clock startup time in microseconds if LFRC clock source is used.
lflprc-startup-time-us:
type: int
description: Clock startup time in microseconds if LFLPRC clock source is used.