From: 21cnbao@gmail.com (Barry Song)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2 v4] ARM: dts: atlas7: add fixed frequency clocks in car node
Date: Wed, 20 May 2015 08:50:34 +0000 [thread overview]
Message-ID: <1432111834-21178-2-git-send-email-21cnbao@gmail.com> (raw)
In-Reply-To: <1432111834-21178-1-git-send-email-21cnbao@gmail.com>
From: Guo Zeng <Guo.Zeng@csr.com>
This patch adds the fixed clocks of external crystal oscillators.
Signed-off-by: Guo Zeng <Guo.Zeng@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
-v4: move the clocks to be global;
arch/arm/boot/dts/atlas7.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index a753178..1760dac 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -38,6 +38,24 @@
};
};
+ clocks {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ xinw {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ clock-output-names = "xinw";
+ };
+ xin {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <26000000>;
+ clock-output-names = "xin";
+ };
+ };
+
noc {
compatible = "simple-bus";
#address-cells = <1>;
--
1.9.1
next prev parent reply other threads:[~2015-05-20 8:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-20 8:50 [PATCH 1/2 v4] clk: sirf: add CSR atlas7 clk and reset support Barry Song
2015-05-20 8:50 ` Barry Song [this message]
2015-05-20 22:32 ` [PATCH 2/2 v4] ARM: dts: atlas7: add fixed frequency clocks in car node Stephen Boyd
2015-05-20 22:34 ` [PATCH 1/2 v4] clk: sirf: add CSR atlas7 clk and reset support Stephen Boyd
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=1432111834-21178-2-git-send-email-21cnbao@gmail.com \
--to=21cnbao@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).