2018-04-25 02:28:04 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018, blik GmbH
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2019-06-19 06:03:49 +08:00
|
|
|
|
2018-04-25 02:28:04 +08:00
|
|
|
title: RTC Base Structure
|
|
|
|
|
|
|
|
description: >
|
|
|
|
This binding gives the base structures for all RTC devices
|
|
|
|
|
2019-06-08 00:12:49 +08:00
|
|
|
inherits:
|
|
|
|
!include base.yaml
|
2018-04-25 02:28:04 +08:00
|
|
|
|
|
|
|
properties:
|
|
|
|
clock-frequency:
|
|
|
|
type: int
|
|
|
|
category: optional
|
|
|
|
description: Clock frequency information for RTC operation
|
|
|
|
label:
|
|
|
|
category: required
|
|
|
|
interrupts:
|
|
|
|
category: required
|
2019-05-14 16:38:14 +08:00
|
|
|
|
2018-04-25 02:28:04 +08:00
|
|
|
prescaler:
|
|
|
|
type: int
|
2019-07-17 23:11:42 +08:00
|
|
|
category: optional
|
2019-05-14 16:38:14 +08:00
|
|
|
description: RTC frequency equals clock-frequency divided by the prescaler value
|