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

Commit 929ded3d authored by Chris Brandt's avatar Chris Brandt Committed by Simon Horman
Browse files

ARM: dts: r7s72100: add rtc clock to device tree



Add the realtime clock functional clock source.

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 ebf06af5
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -117,6 +117,15 @@
			clock-output-names = "ostm0", "ostm1";
			clock-output-names = "ostm0", "ostm1";
		};
		};


		mstp6_clks: mstp6_clks@fcfe042c {
			#clock-cells = <1>;
			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
			reg = <0xfcfe042c 4>;
			clocks = <&p0_clk>;
			clock-indices = <R7S72100_CLK_RTC>;
			clock-output-names = "rtc";
		};

		mstp7_clks: mstp7_clks@fcfe0430 {
		mstp7_clks: mstp7_clks@fcfe0430 {
			#clock-cells = <1>;
			#clock-cells = <1>;
			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
+3 −0
Original line number Original line Diff line number Diff line
@@ -29,6 +29,9 @@
#define R7S72100_CLK_OSTM0	1
#define R7S72100_CLK_OSTM0	1
#define R7S72100_CLK_OSTM1	0
#define R7S72100_CLK_OSTM1	0


/* MSTP6 */
#define R7S72100_CLK_RTC	0

/* MSTP7 */
/* MSTP7 */
#define R7S72100_CLK_ETHER	4
#define R7S72100_CLK_ETHER	4