zephyr/dts/bindings/rtc/rtc.yaml
Krzysztof Chruscinski 6d4a5200bc drivers: counter: Move nRF TIMER and RTC configuration to device tree
Reduced Kconfig for counter with nRF TIMER and RTC. Added overlays
for TIMER and RTC configuration in the counter test.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2019-05-15 10:11:02 +02:00

46 lines
1.0 KiB
YAML

#
# 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:
compatible:
type: string
category: required
description: compatible strings
generation: define
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
prescaler:
type: int
category: required
description: RTC frequency equals clock-frequency divided by the prescaler value
generation: define
...