zephyr/dts/bindings/timer/niosv-machine-timer.yaml
Khor Swee Aun c93c853cba drivers: timer: Machine timer driver enablement for NIOSV
Update machine timer drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on NIOSV devicetree.

Signed-off-by: Khor Swee Aun <swee.aun.khor@intel.com>
2023-02-20 09:29:13 -05:00

20 lines
330 B
YAML

# Copyright (C) 2023, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
description: |
NIOSV Machine Timer
The NIOSV machine timer provides RISC-V privileged mtime and mtimecmp
registers.
compatible: "niosv-machine-timer"
include: base.yaml
properties:
reg:
required: true
interrupts:
required: true