[RFC 4/4] arm64: dts: realtek: Update RTD1295 UART nodes with clocks

From: Andreas FÃrber
Date: Thu Aug 17 2017 - 07:22:57 EST


Replace clock-frequency with a reference to the respective clock gates.

Signed-off-by: Andreas FÃrber <afaerber@xxxxxxx>
---
arch/arm64/boot/dts/realtek/rtd1295.dtsi | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
index 078a11506876..503e2d5fc334 100644
--- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
@@ -6,6 +6,7 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/

+#include <dt-bindings/clock/realtek,rtd1295.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/realtek,rtd1295.h>

@@ -152,7 +153,7 @@
reg = <0x98007800 0x400>;
reg-shift = <2>;
reg-io-width = <4>;
- clock-frequency = <27000000>;
+ clocks = <&iso_clkc RTD1295_ISO_CLK_EN_MISC_UR0>;
interrupt-parent = <&iso_irq_mux>;
interrupts = <2>;
resets = <&iso_reset RTD1295_ISO_RSTN_UR0>;
@@ -172,7 +173,7 @@
reg = <0x9801b200 0x100>;
reg-shift = <2>;
reg-io-width = <4>;
- clock-frequency = <432000000>;
+ clocks = <&clkc RTD1295_CLK_EN_UR1>;
interrupt-parent = <&irq_mux>;
interrupts = <3>, <5>;
resets = <&reset2 RTD1295_RSTN_UR1>;
@@ -184,7 +185,7 @@
reg = <0x9801b400 0x100>;
reg-shift = <2>;
reg-io-width = <4>;
- clock-frequency = <432000000>;
+ clocks = <&clkc RTD1295_CLK_EN_UR2>;
interrupt-parent = <&irq_mux>;
interrupts = <8>, <13>;
resets = <&reset2 RTD1295_RSTN_UR2>;
--
2.12.3