# Copyright (c) 2018 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

description: Nordic nRF timer node

compatible: "nordic,nrf-timer"

include: base.yaml

properties:
  reg:
    required: true

  cc-num:
    type: int
    required: true
    description: Number of capture/compare (CC) registers available

  max-bit-width:
    type: int
    required: true
    description: Maximum bit width supported

  interrupts:
    required: true

  max-frequency:
    type: int
    default: 16000000
    description: |
        Maximum timer frequency in Hz.

        The default value is 16MHz which was the maximum frequency for all nRF TIMER peripherals
        up to the nRF54 series, and still remains the most typical maximum frequency for nRF54
        TIMERs.

  prescaler:
    type: int
    required: true
    description: Prescaler value determines frequency (max-frequency/2^prescaler)

  zli:
    type: boolean
    description: Enable event handler in the ZLI (Zero latency interrupt) context
