zephyr/dts/bindings/timer/microchip,xec-rtos-timer.yaml
Scott Worley ef4ec43e63 drivers: timer: microchip: xec: Microchip MEC one kernel timer driver
We want to simplify the maintenance burden and confusion of having
more than one driver for the same kernel timer peripheral used on
all Microchip MEC parts. The XEC version of the driver was converted
register definitions in the driver. Register access is performed using
Zephyr sys_read/write architecture specific inline routines. Driver DT
YAML was updated to use phandle for the 32-bit basic timer used for
ARCH_HAS_CUSTOM_BUSY_WAIT support, basic timer max value property,
and GIRQ interrtup aggregator hardware information.
SoC part Kconfigs, chip level/board level DTSI updated to use the
unified driver.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-07-19 15:39:40 -04:00

28 lines
615 B
YAML

# Copyright (c) 2019 Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0
description: Microchip XEC RTOS timer
compatible: "microchip,xec-rtos-timer"
include: ["base.yaml", "microchip,dmec-ecia-girq.yaml"]
properties:
reg:
required: true
interrupts:
required: true
busy-wait-timer:
type: phandle
description: |
If custom busy wait Kconfig is enabled then this points to the 32-bit
basic timer node used to implement the 1 MHz busy wait timer.
clock-frequency:
type: int
required: true
const: 32768
description: RTOS timer runs at fixed 32 KHz.