zephyr/dts/bindings/rtc/rtc.yaml
Andy Gross d75291ef93 yaml: rtc: Add yaml definitions for RTC
This patch adds the YAML descriptions for a generic RTC block and
also for NXP Kinetis based RTCs.

Signed-off-by: Andy Gross <agross@kernel.org>
2018-05-17 13:45:08 -05:00

42 lines
970 B
YAML

#
# Copyright (c) 2018, blik GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: RTC Base Structure
id: rtc
version: 0.1
description: >
This binding gives the base structures for all RTC devices
properties:
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
...