Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1658279

[PATCH v4 17/28] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clock

From Andreas Färber <afaerber@suse.de>
Newsgroups linux.kernel
Subject [PATCH v4 17/28] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clock
Date 2017-06-06 03:00 +0200
Message-ID <tPb0M-1BU-85@gated-at.bofh.it> (permalink)
References <tPb0J-1BU-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Give the serial driver a fixed-clock as input for baudrate 115200.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v2 -> v3 -> v4: unchanged
 
 v2: new
 
 arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts
index a0c3484dbd12..21ca80f9941c 100644
--- a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts
+++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts
@@ -24,6 +24,12 @@
 		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>;
 };
-- 
2.12.3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 17/28] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clock Andreas Färber <afaerber@suse.de> - 2017-06-06 03:00 +0200

csiph-web