Commit 8be7a962 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Arnd Bergmann

ARM: dove: convert serial DT nodes to clocks property

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: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 04e09b72
...@@ -55,7 +55,7 @@ uart0: serial@12000 { ...@@ -55,7 +55,7 @@ uart0: serial@12000 {
reg = <0x12000 0x100>; reg = <0x12000 0x100>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <7>; interrupts = <7>;
clock-frequency = <166666667>; clocks = <&core_clk 0>;
status = "disabled"; status = "disabled";
}; };
...@@ -64,7 +64,7 @@ uart1: serial@12100 { ...@@ -64,7 +64,7 @@ uart1: serial@12100 {
reg = <0x12100 0x100>; reg = <0x12100 0x100>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <8>; interrupts = <8>;
clock-frequency = <166666667>; clocks = <&core_clk 0>;
status = "disabled"; status = "disabled";
}; };
...@@ -73,7 +73,7 @@ uart2: serial@12200 { ...@@ -73,7 +73,7 @@ uart2: serial@12200 {
reg = <0x12000 0x100>; reg = <0x12000 0x100>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <9>; interrupts = <9>;
clock-frequency = <166666667>; clocks = <&core_clk 0>;
status = "disabled"; status = "disabled";
}; };
...@@ -82,7 +82,7 @@ uart3: serial@12300 { ...@@ -82,7 +82,7 @@ uart3: serial@12300 {
reg = <0x12100 0x100>; reg = <0x12100 0x100>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <10>; interrupts = <10>;
clock-frequency = <166666667>; clocks = <&core_clk 0>;
status = "disabled"; status = "disabled";
}; };
......
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