nordic,nrf-lfclk

Vendor: Nordic Semiconductor

Note

An implementation of a driver matching this compatible is available in drivers/clock_control/clock_control_nrf2_lfclk.c.

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>;
          clocks = <&hfxo>, <&lfxo>;
          clock-names = "hfxo", "lfxo";
  };

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.

clock-frequency

int

output clock frequency (Hz)

This property is required.

Constant value: 32768

lfrc-accuracy-ppm

int

Clock accuracy in parts per million if LFRC clock source is used.

lflprc-accuracy-ppm

int

Clock accuracy in parts per million if LFLPRC clock source is used.