| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/rtc/nvidia,tegra20-rtc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NVIDIA Tegra real-time clock |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Thierry Reding <[email protected]> |
| 11 |
- Jon Hunter <[email protected]> |
| 12 |
|
| 13 |
description: | |
| 14 |
The Tegra RTC maintains seconds and milliseconds counters, and five |
| 15 |
alarm registers. The alarms and other interrupts may wake the system |
| 16 |
from low-power state. |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
oneOf: |
| 21 |
- const: nvidia,tegra20-rtc |
| 22 |
- items: |
| 23 |
- enum: |
| 24 |
- nvidia,tegra30-rtc |
| 25 |
- nvidia,tegra114-rtc |
| 26 |
- nvidia,tegra124-rtc |
| 27 |
- nvidia,tegra210-rtc |
| 28 |
- nvidia,tegra186-rtc |
| 29 |
- nvidia,tegra194-rtc |
| 30 |
- nvidia,tegra234-rtc |
| 31 |
- nvidia,tegra264-rtc |
| 32 |
- const: nvidia,tegra20-rtc |
| 33 |
|
| 34 |
reg: |
| 35 |
maxItems: 1 |
| 36 |
|
| 37 |
interrupts: |
| 38 |
maxItems: 1 |
| 39 |
|
| 40 |
clocks: |
| 41 |
maxItems: 1 |
| 42 |
|
| 43 |
clock-names: |
| 44 |
items: |
| 45 |
- const: rtc |
| 46 |
|
| 47 |
additionalProperties: false |
| 48 |
|
| 49 |
required: |
| 50 |
- compatible |
| 51 |
- reg |
| 52 |
- interrupts |
| 53 |
- clocks |
| 54 |
|
| 55 |
examples: |
| 56 |
- | |
| 57 |
timer@7000e000 { |
| 58 |
compatible = "nvidia,tegra20-rtc"; |
| 59 |
reg = <0x7000e000 0x100>; |
| 60 |
interrupts = <0 2 0x04>; |
| 61 |
clocks = <&tegra_car 4>; |
| 62 |
}; |