devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Saravanan Sekar <sravanhome@gmail.com>
To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, sboyd@kernel.org
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
	linux@cubietech.com, sravanhome@gmail.com, support@cubietech.com,
	catalin.marinas@arm.com, mturquette@baylibre.com,
	will.deacon@arm.com, linux-kernel@vger.kernel.org,
	thomas.liau@actions-semi.com, darren@cubietech.com,
	robh+dt@kernel.org, jeff.chen@actions-semi.com, pn@denx.de,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	mp-cs@actions-semi.com
Subject: [PATCH v7 4/5] arm64: dts: actions: Add Clock Management Unit for S700
Date: Thu, 19 Jul 2018 11:06:48 +0200	[thread overview]
Message-ID: <20180719090649.12460-5-sravanhome@gmail.com> (raw)
In-Reply-To: <20180719090649.12460-1-sravanhome@gmail.com>

Add Clock Management Unit for Actions Semi S700 SoC.

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Saravanan Sekar <sravanhome@gmail.com>
---
 arch/arm64/boot/dts/actions/s700.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi
index 66dd5309f0a2..59d29e4ca404 100644
--- a/arch/arm64/boot/dts/actions/s700.dtsi
+++ b/arch/arm64/boot/dts/actions/s700.dtsi
@@ -4,6 +4,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/clock/actions,s700-cmu.h>
 
 / {
 	compatible = "actions,s700";
@@ -87,6 +88,12 @@
 		#clock-cells = <0>;
 	};
 
+	losc: losc {
+		compatible = "fixed-clock";
+		clock-frequency = <32768>;
+		#clock-cells = <0>;
+	};
+
 	soc {
 		compatible = "simple-bus";
 		#address-cells = <2>;
@@ -153,6 +160,13 @@
 			status = "disabled";
 		};
 
+		cmu: clock-controller@e0168000 {
+			compatible = "actions,s700-cmu";
+			reg = <0x0 0xe0168000 0x0 0x1000>;
+			clocks = <&hosc>, <&losc>;
+			#clock-cells = <1>;
+		};
+
 		sps: power-controller@e01b0100 {
 			compatible = "actions,s700-sps";
 			reg = <0x0 0xe01b0100 0x0 0x100>;
-- 
2.14.4

  parent reply	other threads:[~2018-07-19  9:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19  9:06 [PATCH v7 0/5] Add clock driver for Actions S700 SoC Saravanan Sekar
2018-07-19  9:06 ` [PATCH v7 1/5] clk: actions: Add missing REGMAP_MMIO dependency Saravanan Sekar
2018-07-25 23:42   ` Stephen Boyd
2018-07-19  9:06 ` [PATCH v7 2/5] dt-bindings: clock: Add S700 support for Actions Semi Soc's Saravanan Sekar
2018-07-25 23:42   ` Stephen Boyd
2018-07-19  9:06 ` [PATCH v7 3/5] clk: actions: Add S700 SoC clock support Saravanan Sekar
2018-07-25 23:42   ` Stephen Boyd
2018-07-19  9:06 ` Saravanan Sekar [this message]
2018-07-20 19:18   ` [PATCH v7 4/5] arm64: dts: actions: Add Clock Management Unit for S700 Manivannan Sadhasivam
2018-07-19  9:06 ` [PATCH v7 5/5] arm64: dts: actions: Set UART clock reference from CMU Saravanan Sekar
2018-07-26 15:50   ` Manivannan Sadhasivam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180719090649.12460-5-sravanhome@gmail.com \
    --to=sravanhome@gmail.com \
    --cc=afaerber@suse.de \
    --cc=catalin.marinas@arm.com \
    --cc=darren@cubietech.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jeff.chen@actions-semi.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@cubietech.com \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=mark.rutland@arm.com \
    --cc=mp-cs@actions-semi.com \
    --cc=mturquette@baylibre.com \
    --cc=pn@denx.de \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=support@cubietech.com \
    --cc=thomas.liau@actions-semi.com \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).