]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 a0c3484dbd12d1734e3d23c4df3e17a3ada16e0a..21ca80f9941ce040b5ed64621a40897ab32a8e2c 100644 (file)
@@ -24,6 +24,12 @@ memory@0 {
                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 @@ &timer {
 
 &uart5 {
        status = "okay";
+       clocks = <&uart5_clk>;
 };