# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2024 Realtek Semiconductor Corporation, SIBG-SD7
#

description: Realtek RTS5912 32-bit slow timer

compatible: "realtek,rts5912-slwtimer"

include: rtc.yaml

properties:
  reg:
    required: true

  interrupts:
    required: true

  max-value:
    type: int
    required: true
    description: Maximum counter value the instance can handle

  clock-frequency:
    required: true

  prescaler:
    type: int
    required: true
    description: Timer frequency equals clock-frequency divided by the prescaler value
