xref: /linux/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.yaml (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
12f9df754SThierry Reding# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22f9df754SThierry Reding%YAML 1.2
32f9df754SThierry Reding---
42f9df754SThierry Reding$id: http://devicetree.org/schemas/rtc/nvidia,tegra20-rtc.yaml#
52f9df754SThierry Reding$schema: http://devicetree.org/meta-schemas/core.yaml#
62f9df754SThierry Reding
72f9df754SThierry Redingtitle: NVIDIA Tegra real-time clock
82f9df754SThierry Reding
92f9df754SThierry Redingmaintainers:
102f9df754SThierry Reding  - Thierry Reding <thierry.reding@gmail.com>
112f9df754SThierry Reding  - Jon Hunter <jonathanh@nvidia.com>
122f9df754SThierry Reding
132f9df754SThierry Redingdescription: |
142f9df754SThierry Reding  The Tegra RTC maintains seconds and milliseconds counters, and five
152f9df754SThierry Reding  alarm registers. The alarms and other interrupts may wake the system
162f9df754SThierry Reding  from low-power state.
172f9df754SThierry Reding
182f9df754SThierry Redingproperties:
192f9df754SThierry Reding  compatible:
202f9df754SThierry Reding    oneOf:
212f9df754SThierry Reding      - const: nvidia,tegra20-rtc
222f9df754SThierry Reding      - items:
232f9df754SThierry Reding          - enum:
242f9df754SThierry Reding              - nvidia,tegra30-rtc
252f9df754SThierry Reding              - nvidia,tegra114-rtc
262f9df754SThierry Reding              - nvidia,tegra124-rtc
272f9df754SThierry Reding              - nvidia,tegra210-rtc
282f9df754SThierry Reding              - nvidia,tegra186-rtc
292f9df754SThierry Reding              - nvidia,tegra194-rtc
30*aa8f488fSThierry Reding              - nvidia,tegra234-rtc
312f9df754SThierry Reding          - const: nvidia,tegra20-rtc
322f9df754SThierry Reding
332f9df754SThierry Reding  reg:
342f9df754SThierry Reding    maxItems: 1
352f9df754SThierry Reding
362f9df754SThierry Reding  interrupts:
372f9df754SThierry Reding    maxItems: 1
382f9df754SThierry Reding
392f9df754SThierry Reding  clocks:
402f9df754SThierry Reding    maxItems: 1
412f9df754SThierry Reding
422f9df754SThierry Reding  clock-names:
432f9df754SThierry Reding    items:
442f9df754SThierry Reding      - const: rtc
452f9df754SThierry Reding
462f9df754SThierry RedingadditionalProperties: false
472f9df754SThierry Reding
482f9df754SThierry Redingrequired:
492f9df754SThierry Reding  - compatible
502f9df754SThierry Reding  - reg
512f9df754SThierry Reding  - interrupts
522f9df754SThierry Reding  - clocks
532f9df754SThierry Reding
542f9df754SThierry Redingexamples:
552f9df754SThierry Reding  - |
562f9df754SThierry Reding    timer@7000e000 {
572f9df754SThierry Reding        compatible = "nvidia,tegra20-rtc";
582f9df754SThierry Reding        reg = <0x7000e000 0x100>;
592f9df754SThierry Reding        interrupts = <0 2 0x04>;
602f9df754SThierry Reding        clocks = <&tegra_car 4>;
612f9df754SThierry Reding    };
62