summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2017-03-29 10:30:32 -0700
committerSimon Horman <horms+renesas@verge.net.au>2017-04-04 12:58:02 -0400
commitdeddcb891d0d2b4f437dea9bdea4752982c4b133 (patch)
treec62c0bd04333ea233f2d2535fe58d0655e9ed8ff
parent929ded3dd7ce91d9ef4143d673b4ace2eb9ab355 (diff)
downloadop-kernel-dev-deddcb891d0d2b4f437dea9bdea4752982c4b133.zip
op-kernel-dev-deddcb891d0d2b4f437dea9bdea4752982c4b133.tar.gz
ARM: dts: r7s72100: add RTC_X clock inputs to device tree
Add the RTC clocks to device tree. The frequencies must be fixed values according to the hardware manual. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r7s72100.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 9eace89..9db46ac 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -51,6 +51,20 @@
clock-frequency = <0>;
};
+ rtc_x1_clk: rtc_x1 {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ /* If clk present, value must be set by board to 32678 */
+ clock-frequency = <0>;
+ };
+
+ rtc_x3_clk: rtc_x3 {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ /* If clk present, value must be set by board to 4000000 */
+ clock-frequency = <0>;
+ };
+
/* Fixed factor clocks */
b_clk: b {
#clock-cells = <0>;
OpenPOWER on IntegriCloud