Commit 75d64e8b authored by Chen-Yu Tsai's avatar Chen-Yu Tsai

ARM: dts: sun8i: r40: Add clock accuracy for external oscillators

The R40 datasheet specifies a tolerance range for the external
oscillators used. Add them to the device tree as the clock accuracy.
Acked-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Tested-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 772c3a45
...@@ -61,6 +61,7 @@ osc24M: osc24M { ...@@ -61,6 +61,7 @@ osc24M: osc24M {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-clock"; compatible = "fixed-clock";
clock-frequency = <24000000>; clock-frequency = <24000000>;
clock-accuracy = <50000>;
clock-output-names = "osc24M"; clock-output-names = "osc24M";
}; };
...@@ -68,6 +69,7 @@ osc32k: osc32k { ...@@ -68,6 +69,7 @@ osc32k: osc32k {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-clock"; compatible = "fixed-clock";
clock-frequency = <32768>; clock-frequency = <32768>;
clock-accuracy = <20000>;
clock-output-names = "osc32k"; clock-output-names = "osc32k";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment