ARM: dts: at91: sama5d3: switch to new sckc bindings
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 19 Feb 2019 14:28:08 +0000 (15:28 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 21 May 2019 15:42:09 +0000 (17:42 +0200)
Remove the child nodes of the sckc as they are not necessary anymore.

Also, switch to the new atmel,sama5d3-sckc compatible string to use the
proper startup time for the RC oscillator (500 µs instead of 75).

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-wb50n.dtsi
arch/arm/boot/dts/sama5d3.dtsi

index 85692c8ef2b174d174cdf5970d68a7ce635b3089..4ed8500a5cb8e659af17af99ac265bd821e7bde3 100644 (file)
@@ -42,7 +42,7 @@
        clock-frequency = <12000000>;
 };
 
-&slow_osc {
+&clk32k {
        atmel,osc-bypass;
 };
 
index 02198772eb813d5ab18560050d4583a107b14ccd..72b198f928c61490fd28e493e089df3f08877526 100644 (file)
                                status = "disabled";
                        };
 
-                       sckc@fffffe50 {
-                               compatible = "atmel,at91sam9x5-sckc";
+                       clk32k: sckc@fffffe50 {
+                               compatible = "atmel,sama5d3-sckc";
                                reg = <0xfffffe50 0x4>;
-
-                               slow_rc_osc: slow_rc_osc {
-                                       compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
-                                       #clock-cells = <0>;
-                                       clock-frequency = <32768>;
-                                       clock-accuracy = <50000000>;
-                                       atmel,startup-time-usec = <75>;
-                               };
-
-                               slow_osc: slow_osc {
-                                       compatible = "atmel,at91sam9x5-clk-slow-osc";
-                                       #clock-cells = <0>;
-                                       clocks = <&slow_xtal>;
-                                       atmel,startup-time-usec = <1200000>;
-                               };
-
-                               clk32k: slowck {
-                                       compatible = "atmel,at91sam9x5-clk-slow";
-                                       #clock-cells = <0>;
-                                       clocks = <&slow_rc_osc &slow_osc>;
-                               };
+                               clocks = <&slow_xtal>;
+                               #clock-cells = <0>;
                        };
 
                        rtc@fffffeb0 {