Commit 0180ed45 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Jason Cooper

ARM: orion5x: convert to use 'clocks' property for UART controllers

Until the previous commit, the Orion5x clocks were not described in
the Device Tree. Now that they are described in the Device Tree, we
can replace the manual 'clock-frequency' property in the UART nodes
by a nicer 'clocks' reference in those UART nodes.

This commit consequently removes the 'clock-frequency' property from
the LaCie edmini_v2 board, which is at this point the only Orion5x
board converted to the Device Tree.
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Link: https://lkml.kernel.org/r/1398202002-28530-22-git-send-email-thomas.petazzoni@free-electrons.comSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 98d4db26
...@@ -73,6 +73,5 @@ &sata { ...@@ -73,6 +73,5 @@ &sata {
}; };
&uart0 { &uart0 {
clock-frequency = <166666667>;
status = "okay"; status = "okay";
}; };
...@@ -65,7 +65,7 @@ uart0: serial@12000 { ...@@ -65,7 +65,7 @@ uart0: serial@12000 {
reg = <0x12000 0x100>; reg = <0x12000 0x100>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <3>; interrupts = <3>;
/* set clock-frequency in board dts */ clocks = <&core_clk 0>;
status = "disabled"; status = "disabled";
}; };
...@@ -74,7 +74,7 @@ uart1: serial@12100 { ...@@ -74,7 +74,7 @@ uart1: serial@12100 {
reg = <0x12100 0x100>; reg = <0x12100 0x100>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <4>; interrupts = <4>;
/* set clock-frequency in board dts */ 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