Add ability to set a wakeup counter in case OS Timer is disabled in certain low power modes. Also add code to compensate the tick value. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
22 lines
523 B
YAML
22 lines
523 B
YAML
# Copyright (c) 2022 Kumar Gala <galak@kernel.org>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: NXP OS Timer on i.MX-RT5xx/6xx
|
|
|
|
compatible: "nxp,os-timer"
|
|
|
|
include: base.yaml
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
interrupts:
|
|
required: true
|
|
|
|
deep-sleep-counter:
|
|
type: phandle
|
|
description: |
|
|
Instance of a counter peripheral. The OS Timer maybe powered off in
|
|
certain deep power down modes. The OS Timer driver will use this
|
|
counter to wakeup and also to keep track of system time.
|