[PATCH 09/20] arm64: dts: renesas: r8a7796: Add CMM units

From: Jacopo Mondi
Date: Thu Jun 06 2019 - 10:26:08 EST


Add CMM units to Renesas R-Car M3-W device tree and reference them from
the Display Unit they are connected to.

Signed-off-by: Jacopo Mondi <jacopo+renesas@xxxxxxxxxx>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 ++++++++++++++++++++++++
1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index cdf784899cf8..2e1891d9d322 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -2610,6 +2610,30 @@
renesas,fcp = <&fcpvi0>;
};

+ cmm0: cmm@fea40000 {
+ compatible = "renesas,cmm-gen3";
+ reg = <0 0xfea40000 0 0x1000>;
+ clocks = <&cpg CPG_MOD 711>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 711>;
+ };
+
+ cmm1: cmm@fea50000 {
+ compatible = "renesas,cmm-gen3";
+ reg = <0 0xfea50000 0 0x1000>;
+ clocks = <&cpg CPG_MOD 710>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 710>;
+ };
+
+ cmm2: cmm@fea60000 {
+ compatible = "renesas,cmm-gen3";
+ reg = <0 0xfea60000 0 0x1000>;
+ clocks = <&cpg CPG_MOD 709>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 709>;
+ };
+
csi20: csi2@fea80000 {
compatible = "renesas,r8a7796-csi2";
reg = <0 0xfea80000 0 0x10000>;
@@ -2763,6 +2787,7 @@
status = "disabled";

vsps = <&vspd0 &vspd1 &vspd2>;
+ cmms = <&cmm0 &cmm1 &cmm2>;

ports {
#address-cells = <1>;
--
2.21.0