ARM: dts: sun8i: r40: Add clock accuracy for external oscillators
authorChen-Yu Tsai <wens@csie.org>
Mon, 3 Dec 2018 14:58:23 +0000 (22:58 +0800)
committerChen-Yu Tsai <wens@csie.org>
Thu, 6 Dec 2018 03:19:55 +0000 (11:19 +0800)
The R40 datasheet specifies a tolerance range for the external
oscillators used. Add them to the device tree as the clock accuracy.

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/sun8i-r40.dtsi

index 6f4c9ca..a8917f8 100644 (file)
@@ -61,6 +61,7 @@
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <24000000>;
+                       clock-accuracy = <50000>;
                        clock-output-names = "osc24M";
                };
 
@@ -68,6 +69,7 @@
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <32768>;
+                       clock-accuracy = <20000>;
                        clock-output-names = "osc32k";
                };
        };