zephyr/dts/bindings/rtc/rtc.yaml

46 lines
1.1 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
generation: define
prescaler:
type: int
category: required
description: Prescaler value denotes number of RTC ticks in 1 second
generation: define
...