[PATCH v5 10/12] arm64: dts: mt6797: Use the new mmsys clock compatible

From: matthias . bgg
Date: Fri Nov 16 2018 - 07:56:13 EST


From: Matthias Brugger <mbrugger@xxxxxxxx>

Move the clock part of mmsys in a child node.

Signed-off-by: Matthias Brugger <mbrugger@xxxxxxxx>
---
arch/arm64/boot/dts/mediatek/mt6797.dtsi | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
index 4beaa71107d7..3ca635c81de1 100644
--- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
@@ -206,9 +206,13 @@
};

mmsys: mmsys_config@14000000 {
- compatible = "mediatek,mt6797-mmsys", "syscon";
+ compatible = "mediatek,mt6797-mmsys", "syscon", "simple-mfd";
reg = <0 0x14000000 0 0x1000>;
- #clock-cells = <1>;
+
+ mmsys_clk: clock-controller@14000000 {
+ compatible = "mediatek,mt6797-mmsys-clk";
+ #clock-cells = <1>;
+ };
};

imgsys: imgsys_config@15000000 {
--
2.19.1