2019-07-06 14:08:11

by Jacopo Mondi

[permalink] [raw]
Subject: [PATCH v2 09/19] arm64: dts: renesas: r8a7796: Add CMM units

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

Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Jacopo Mondi <[email protected]>
---
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 d5e2f4af83a4..3f7fe37db5e5 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -2599,6 +2599,30 @@
renesas,fcp = <&fcpvi0>;
};

+ cmm0: cmm@fea40000 {
+ compatible = "renesas,rcar-gen3-cmm";
+ 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,rcar-gen3-cmm";
+ 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,rcar-gen3-cmm";
+ 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>;
@@ -2752,6 +2776,7 @@
status = "disabled";

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

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