zephyr/dts/bindings/rtc/microchip,xec-timer.yaml
Scott Worley dd1a9559be Microchip: XEC RTOS timer: Add MEC172x support to driver
Update Microchip XEC RTOS timer driver adding MEC172x support and
using more device tree properities in the driver. We must also update
the XEC counter driver to use the new GIRQ DT properties.
Add new properties to RTOS timer and RTC timer YAML. These two timers
are linked due to option using a high speed timer for kernel busy wait.
Add Kconfig logic for XEC RTOS timer to MEC172x SoC.
Enable the Microchip XEC RTOS timer in the MEC172x evaluation board.
Add device tree nodes for most peripeherals.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2021-07-27 09:29:34 -04:00

54 lines
986 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
girqs:
type: array
required: true
description: Array of GIRQ numbers [8:26] and bit positions [0:31].
pcrs:
type: array
required: true
description: PCR sleep enable register index and bit position.
"girqs-cells":
type: int
const: 2
"#pcrs-cells":
type: int
const: 2
girqs-cells:
- girq_num
- bitpos
pcrs-cells:
- reg_index
- bitpos