# Copyright (c) 2018, blik GmbH
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0

description: NXP Real Time Clock (RTC)

compatible: "nxp,rtc"

include: rtc.yaml

properties:
  reg:
    required: true

  clock-source:
    type: string
    default: "RTC"
    enum:
      - "RTC"
      - "LPO"
    description: |
      Select one of two possible clock sources for the RTC:
        * RTC: RTC prescaler increments using RTC clock.
        * LPO: RTC prescaler increments using 1 kHz LPO.
      The default corresponds to the reset value of the register field,
      and there is no additional code configuration in the driver.
