zephyr/dts/bindings/rtc/microchip,xec-timer.yaml
Kumar Gala 9ed4f39110 dts: microchip,xec-timer: Add properties for GIRQ info
Add girq and girq-bit to encode per device information.  This allows the
driver to get any device unique info from device tree.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-03-11 07:59:38 -06:00

39 lines
752 B
YAML

# Copyright (c) 2019, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
description: Microchip XEC basic timer
compatible: "microchip,xec-timer"
include: rtc.yaml
properties:
reg:
required: true
interrupts:
required: true
clock-frequency:
required: true
prescaler:
type: int
required: true
description: Timer frequency equals clock-frequency divided by the prescaler value
max-value:
type: int
required: true
description: Maximum counter value the instance can handle
girq:
type: int
required: true
description: GIRQ for this device
girq-bit:
type: int
required: true
description: Bit position in GIRQ for this device