diff options
author | Jason Cooper <jason@lakedaemon.net> | 2013-01-30 00:36:43 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-03-09 01:32:52 +0400 |
commit | 93fff4ce19f9978cc1c59db42760717477939249 (patch) | |
tree | ed50ae11f815b991b324e4490f62515f9dbeafe1 /arch/arm/boot/dts/kirkwood-dns320.dts | |
parent | 6dbe51c251a327e012439c4772097a13df43c5b8 (diff) | |
download | linux-93fff4ce19f9978cc1c59db42760717477939249.tar.xz |
ARM: kirkwood: of_serial: fix clock gating by removing clock-frequency
When DT support for kirkwood was first introduced, there was no clock
infrastructure. As a result, we had to manually pass the
clock-frequency to the driver from the device node.
Unfortunately, on kirkwood, with minimal config or all module configs,
clock-frequency breaks booting because of_serial doesn't consume the
gate_clk when clock-frequency is defined.
The end result on kirkwood is that runit gets gated, and then the boot
fails when the kernel tries to write to the serial port.
Fix the issue by removing the clock-frequency parameter from all
kirkwood dts files.
Booted on dreamplug without earlyprintk and successfully logged in via
ttyS0.
Reported-by: Simon Baatz <gmbnomis@gmail.com>
Tested-by: Simon Baatz <gmbnomis@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-dns320.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-dns320.dts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/kirkwood-dns320.dts b/arch/arm/boot/dts/kirkwood-dns320.dts index 5bb0bf39d3b8..c9c44b2f62d7 100644 --- a/arch/arm/boot/dts/kirkwood-dns320.dts +++ b/arch/arm/boot/dts/kirkwood-dns320.dts @@ -42,12 +42,10 @@ ocp@f1000000 { serial@12000 { - clock-frequency = <166666667>; status = "okay"; }; serial@12100 { - clock-frequency = <166666667>; status = "okay"; }; }; |