OSDN Git Service

arm64: dts: actions: s900-bubblegum-96: Add fake uart5 clock
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Feb 2017 16:24:04 +0000 (17:24 +0100)
committerAndreas Färber <afaerber@suse.de>
Sat, 4 Nov 2017 10:21:10 +0000 (18:21 +0800)
Give the serial driver a fixed-clock as input for baudrate 115200.

Signed-off-by: Andreas Färber <afaerber@suse.de>
arch/arm64/boot/dts/actions/s900-bubblegum-96.dts

index a0c3484..21ca80f 100644 (file)
                device_type = "memory";
                reg = <0x0 0x0 0x0 0x80000000>;
        };
+
+       uart5_clk: uart5-clk {
+               compatible = "fixed-clock";
+               clock-frequency = <921600>;
+               #clock-cells = <0>;
+       };
 };
 
 &timer {
@@ -32,4 +38,5 @@
 
 &uart5 {
        status = "okay";
+       clocks = <&uart5_clk>;
 };