1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/rtc/renesas,sh-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Real Time Clock for Renesas SH and ARM SoCs
10 - Chris Brandt <chris.brandt@renesas.com>
11 - Geert Uytterhoeven <geert+renesas@glider.be>
16 - const: renesas,r7s72100-rtc # RZ/A1H
17 - const: renesas,sh-rtc
32 # The functional clock source for the RTC controller must be listed
33 # first (if it exists). Additionally, potential clock counting sources
39 # The functional clock must be labeled as "fck". Other clocks
40 # may be named in accordance to the SoC hardware manuals.
44 enum: [ fck, rtc_x1, rtc_x3, extal ]
58 additionalProperties: false
62 #include <dt-bindings/clock/r7s72100-clock.h>
63 #include <dt-bindings/interrupt-controller/arm-gic.h>
64 #include <dt-bindings/interrupt-controller/irq.h>
67 compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
68 reg = <0xfcff1000 0x2e>;
69 interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING>,
70 <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>,
71 <GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
72 interrupt-names = "alarm", "period", "carry";
73 clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
74 <&rtc_x3_clk>, <&extal_clk>;
75 power-domains = <&cpg_clocks>;
76 clock-names = "fck", "rtc_x1", "rtc_x3", "extal";