2018-04-25 02:28:04 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018, blik GmbH
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
---
|
|
|
|
title: RTC Base Structure
|
|
|
|
version: 0.1
|
|
|
|
|
|
|
|
description: >
|
|
|
|
This binding gives the base structures for all RTC devices
|
|
|
|
|
|
|
|
|
|
|
|
properties:
|
2018-08-20 19:45:55 +08:00
|
|
|
compatible:
|
|
|
|
type: string
|
|
|
|
category: required
|
|
|
|
description: compatible strings
|
|
|
|
generation: define
|
2018-04-25 02:28:04 +08:00
|
|
|
clock-frequency:
|
|
|
|
type: int
|
|
|
|
category: optional
|
|
|
|
description: Clock frequency information for RTC operation
|
|
|
|
generation: define
|
|
|
|
label:
|
|
|
|
type: string
|
|
|
|
category: required
|
|
|
|
description: Human readable string describing the device (used by Zephyr for API name)
|
|
|
|
generation: define
|
|
|
|
interrupts:
|
|
|
|
type: array
|
|
|
|
category: required
|
|
|
|
description: required interrupts
|
|
|
|
generation: define
|
|
|
|
interrupt-names:
|
|
|
|
type: stringlist
|
|
|
|
category: optional
|
|
|
|
description: names of required interrupts
|
|
|
|
generation: define
|
|
|
|
prescaler:
|
|
|
|
type: int
|
|
|
|
category: required
|
|
|
|
description: Prescaler value denotes number of RTC ticks in 1 second
|
|
|
|
generation: define
|
|
|
|
...
|