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


Groups > linux.kernel > #1614160

[PATCH v3 4/4] ARM64: dts: meson-gx: add core clock support for uart_A, uart_B and uart_C

From Helmut Klein <hgkr.klein@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v3 4/4] ARM64: dts: meson-gx: add core clock support for uart_A, uart_B and uart_C
Date 2017-03-31 19:00 +0200
Message-ID <tr842-7ax-23@gated-at.bofh.it> (permalink)
References <tr842-7ax-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds the core clock support for the three none AO UARTs
of the meson gxbb & meson gxl SoCs

Signed-off-by: Helmut Klein <hgkr.klein@gmail.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 15 +++++++++++++++
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi  | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index 04b3324bc132..aa2f75d5cd37 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -524,3 +524,18 @@
 &vpu {
 	compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
 };
+
+&uart_A {
+	clocks = <&xtal>, <&clkc CLKID_UART0>;
+	clock-names = "xtal", "core";
+};
+
+&uart_B {
+	clocks = <&xtal>, <&clkc CLKID_UART1>;
+	clock-names = "xtal", "core";
+};
+
+&uart_C {
+	clocks = <&xtal>, <&clkc CLKID_UART2>;
+	clock-names = "xtal", "core";
+};
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
index fe11b5fc61f7..f3cc18fd624a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
@@ -381,3 +381,18 @@
 &vpu {
 	compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
 };
+
+&uart_A {
+	clocks = <&xtal>, <&clkc CLKID_UART0>;
+	clock-names = "xtal", "core";
+};
+
+&uart_B {
+	clocks = <&xtal>, <&clkc CLKID_UART1>;
+	clock-names = "xtal", "core";
+};
+
+&uart_C {
+	clocks = <&xtal>, <&clkc CLKID_UART2>;
+	clock-names = "xtal", "core";
+};
--
2.11.0

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


Thread

[PATCH v3 4/4] ARM64: dts: meson-gx: add core clock support for uart_A, uart_B and uart_C Helmut Klein <hgkr.klein@gmail.com> - 2017-03-31 19:00 +0200

csiph-web