mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
f457192407
The clocks property is mandatory, document it. Reported-by: Rob Herring <robh+dt@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200128204200.22201-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
50 lines
844 B
YAML
50 lines
844 B
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/rtc/atmel,at91rm9200-rtc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Atmel AT91 RTC Device Tree Bindings
|
|
|
|
allOf:
|
|
- $ref: "rtc.yaml#"
|
|
|
|
maintainers:
|
|
- Alexandre Belloni <alexandre.belloni@bootlin.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- atmel,at91rm9200-rtc
|
|
- atmel,at91sam9x5-rtc
|
|
- atmel,sama5d4-rtc
|
|
- atmel,sama5d2-rtc
|
|
- microchip,sam9x60-rtc
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
rtc@fffffe00 {
|
|
compatible = "atmel,at91rm9200-rtc";
|
|
reg = <0xfffffe00 0x100>;
|
|
interrupts = <1 4 7>;
|
|
clocks = <&clk32k>;
|
|
};
|
|
...
|