ARM: dove: convert serial DT nodes to clocks property
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 29 Jan 2013 20:59:46 +0000 (21:59 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:15 +0000 (18:57 +0100)
of_serial now has support for using clocks property and we have
a DT clock provider. This patch replaces the hard coded clock-frequency
property with a clocks phandle to tclk.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/dove.dtsi

index c072203..67dbe20 100644 (file)
@@ -55,7 +55,7 @@
                        reg = <0x12000 0x100>;
                        reg-shift = <2>;
                        interrupts = <7>;
-                       clock-frequency = <166666667>;
+                       clocks = <&core_clk 0>;
                        status = "disabled";
                };
 
@@ -64,7 +64,7 @@
                        reg = <0x12100 0x100>;
                        reg-shift = <2>;
                        interrupts = <8>;
-                       clock-frequency = <166666667>;
+                       clocks = <&core_clk 0>;
                        status = "disabled";
                };
 
@@ -73,7 +73,7 @@
                        reg = <0x12000 0x100>;
                        reg-shift = <2>;
                        interrupts = <9>;
-                       clock-frequency = <166666667>;
+                       clocks = <&core_clk 0>;
                        status = "disabled";
                };
 
@@ -82,7 +82,7 @@
                        reg = <0x12100 0x100>;
                        reg-shift = <2>;
                        interrupts = <10>;
-                       clock-frequency = <166666667>;
+                       clocks = <&core_clk 0>;
                        status = "disabled";
                };