ARM: dts: sunxi: h3/h5: Add clock accuracy for external oscillators
authorChen-Yu Tsai <wens@csie.org>
Mon, 3 Dec 2018 14:58:21 +0000 (22:58 +0800)
committerChen-Yu Tsai <wens@csie.org>
Thu, 6 Dec 2018 03:19:39 +0000 (11:19 +0800)
The H3 datasheet specifies a tolerance range for the external
oscillators used. Add them to the device tree as the clock accuracy.
The internal oscillator is left unchanged, as it will be removed later.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sunxi-h3-h5.dtsi

index 4b1530e..f63a5ef 100644 (file)
@@ -86,6 +86,7 @@
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <24000000>;
+                       clock-accuracy = <50000>;
                        clock-output-names = "osc24M";
                };
 
@@ -93,6 +94,7 @@
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <32768>;
+                       clock-accuracy = <50000>;
                        clock-output-names = "osc32k";
                };