ARM: dts: dra7: add vpe clkctrl node
authorBenoit Parrot <bparrot@ti.com>
Wed, 11 Dec 2019 14:08:09 +0000 (08:08 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Jan 2020 17:27:40 +0000 (09:27 -0800)
Add clkctrl nodes for VPE module.

Note that because of the current dts node name dependency for mapping to
clock domain, we must still use "vpe-clkctrl@" naming instead of generic
"clock@" naming for the node. And because of this, it's probably best to
apply the dts node addition together along with the other clock changes.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7xx-clocks.dtsi

index 8eb31b8..55cef4c 100644 (file)
 
        rtc_cm: rtc-cm@700 {
                compatible = "ti,omap4-cm";
-               reg = <0x700 0x100>;
+               reg = <0x700 0x60>;
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0 0x700 0x100>;
+               ranges = <0 0x700 0x60>;
 
                rtc_clkctrl: rtc-clkctrl@20 {
                        compatible = "ti,clkctrl";
                };
        };
 
+       vpe_cm: vpe-cm@760 {
+               compatible = "ti,omap4-cm";
+               reg = <0x760 0xc>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x760 0xc>;
+
+               vpe_clkctrl: vpe-clkctrl@0 {
+                       compatible = "ti,clkctrl";
+                       reg = <0x0 0xc>;
+                       #clock-cells = <2>;
+               };
+       };
+
 };
 
 &cm_core {