]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: dm814x: add clkctrl nodes
authorTero Kristo <t-kristo@ti.com>
Thu, 7 Dec 2017 08:46:52 +0000 (10:46 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Dec 2017 16:28:37 +0000 (08:28 -0800)
Add clkctrl nodes for DM814x SoC. These are going to be acting as
replacement for part of the existing clock data and the existing
clkctrl hooks under hwmod data.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dm814x-clocks.dtsi

index c4671af0a28d612bccacc560809633b597861f62..f80525a290bb4ac175ec105bbd79db497b9f7c74 100644 (file)
@@ -337,3 +337,33 @@ aud_clkin2_ck: aud_clkin2_ck {
                clock-frequency = <20000000>;
        };
 };
+
+&prcm {
+       default_cm: default_cm@500 {
+               compatible = "ti,omap4-cm";
+               reg = <0x500 0x100>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x500 0x100>;
+
+               default_clkctrl: clk@0 {
+                       compatible = "ti,clkctrl";
+                       reg = <0x0 0x5c>;
+                       #clock-cells = <2>;
+               };
+       };
+
+       alwon_cm: alwon_cm@1400 {
+               compatible = "ti,omap4-cm";
+               reg = <0x1400 0x300>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x1400 0x300>;
+
+               alwon_clkctrl: clk@0 {
+                       compatible = "ti,clkctrl";
+                       reg = <0x0 0x228>;
+                       #clock-cells = <2>;
+               };
+       };
+};