2019-06-25 18:39:53 +08:00
|
|
|
# Copyright (c) 2019, Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: Microchip XEC basic timer
|
2019-06-25 18:39:53 +08:00
|
|
|
|
|
|
|
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:
|
2020-02-14 23:05:29 +08:00
|
|
|
type: int
|
2019-06-25 18:39:53 +08:00
|
|
|
required: true
|
|
|
|
description: Maximum counter value the instance can handle
|
2020-02-14 23:04:13 +08:00
|
|
|
|
2021-07-23 01:46:24 +08:00
|
|
|
girqs:
|
|
|
|
type: array
|
2020-02-14 23:04:13 +08:00
|
|
|
required: true
|
2021-07-23 01:46:24 +08:00
|
|
|
description: Array of GIRQ numbers [8:26] and bit positions [0:31].
|
2020-02-14 23:04:13 +08:00
|
|
|
|
2021-07-23 01:46:24 +08:00
|
|
|
pcrs:
|
|
|
|
type: array
|
2020-02-14 23:04:13 +08:00
|
|
|
required: true
|
2021-07-23 01:46:24 +08:00
|
|
|
description: PCR sleep enable register index and bit position.
|
|
|
|
|
2021-10-19 04:44:45 +08:00
|
|
|
"#girq-cells":
|
2021-07-23 01:46:24 +08:00
|
|
|
type: int
|
|
|
|
const: 2
|
|
|
|
|
2021-08-04 04:13:49 +08:00
|
|
|
"#pcr-cells":
|
2021-07-23 01:46:24 +08:00
|
|
|
type: int
|
|
|
|
const: 2
|
|
|
|
|
2021-08-04 04:13:49 +08:00
|
|
|
girq-cells:
|
2021-07-23 01:46:24 +08:00
|
|
|
- girq_num
|
|
|
|
- bitpos
|
|
|
|
|
2021-08-04 04:13:49 +08:00
|
|
|
pcr-cells:
|
2021-07-23 01:46:24 +08:00
|
|
|
- reg_index
|
|
|
|
- bitpos
|