Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b5e3f04 authored by Chris Brandt's avatar Chris Brandt Committed by Simon Horman
Browse files

ARM: dts: r7s72100: add rtc to device tree



Add the realtime clock device node.

Signed-off-by: default avatarChris Brandt <chris.brandt@renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent deddcb89
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
@@ -563,4 +563,18 @@
		power-domains = <&cpg_clocks>;
		power-domains = <&cpg_clocks>;
		status = "disabled";
		status = "disabled";
	};
	};

	rtc: rtc@fcff1000 {
		compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
		reg = <0xfcff1000 0x2e>;
		interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING
			      GIC_SPI 277 IRQ_TYPE_EDGE_RISING
			      GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
		interrupt-names = "alarm", "period", "carry";
		clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
			 <&rtc_x3_clk>, <&extal_clk>;
		clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
		power-domains = <&cpg_clocks>;
		status = "disabled";
	};
};
};