From: Stephen Boyd <sboyd@codeaurora.org>
To: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
Mike Turquette <mturquette@linaro.org>,
Saravana Kannan <skannan@codeaurora.org>
Subject: [RFC/PATCH 11/13] ARM: dts: msm: Add MSM8960 GCC DT nodes
Date: Wed, 12 Jun 2013 18:49:07 -0700 [thread overview]
Message-ID: <1371088149-22562-12-git-send-email-sboyd@codeaurora.org> (raw)
In-Reply-To: <1371088149-22562-1-git-send-email-sboyd@codeaurora.org>
Add the necessary DT data to probe the global clock controller
on MSM8960 devices.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
arch/arm/boot/dts/msm8960-cdp.dts | 72 +++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot/dts/msm8960-cdp.dts
index fd2f3ec..01d03f1 100644
--- a/arch/arm/boot/dts/msm8960-cdp.dts
+++ b/arch/arm/boot/dts/msm8960-cdp.dts
@@ -42,6 +42,78 @@
cpu-offset = <0x80000>;
};
+ clock-controller@900000 {
+ compatible = "qcom,gcc-8960", "qcom,gcc";
+ reg = <0x900000 0x4000>;
+
+ clocks {
+ cxo: cxo {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <19200000>;
+ };
+
+ pxo: pxo {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <27000000>;
+ };
+
+ pll8: pll8 {
+ #clock-cells = <0>;
+ compatible = "qcom,pll";
+ clocks = <&pxo>;
+ };
+
+ vpll8: vpll8 {
+ #clock-cells = <0>;
+ compatible = "qcom,pll-vote";
+ clocks = <&pll8>;
+ };
+
+ gsbi5_uart_rcg: gsbi5_uart_rcg {
+ #clock-cells = <0>;
+ compatible = "qcom,p2-mn16-clock";
+ clocks = <&pxo>, <&vpll8>;
+ };
+
+ gsbi5_uart_clk: gsbi5_uart_cxc {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-clock";
+ clocks = <&gsbi5_uart_rcg>;
+ };
+
+ gsbi6_uart_rcg: gsbi6_uart_rcg {
+ #clock-cells = <0>;
+ compatible = "qcom,p2-mn16-clock";
+ clocks = <&pxo>, <&vpll8>;
+ };
+
+ gsbi6_uart_clk: gsbi6_uart_cxc {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-clock";
+ clocks = <&gsbi6_uart_rcg>;
+ };
+
+ gsbi5_uart_ahb: gsbi5_uart_ahb {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-hg-clock";
+ };
+
+ gsbi5_qup_rcg: gsbi5_qup_rcg {
+ #clock-cells = <0>;
+ compatible = "qcom,p2-mn8-clock";
+ clocks = <&pxo>, <&vpll8>;
+ };
+
+ gsbi5_qup_clk: gsbi5_qup_cxc {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-clock";
+ clocks = <&gsbi5_qup_rcg>;
+ };
+ };
+ };
+
kpss@2088000 {
compatible = "qcom,kpss";
reg = <0x02088000 0x1000
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC/PATCH 11/13] ARM: dts: msm: Add MSM8960 GCC DT nodes
Date: Wed, 12 Jun 2013 18:49:07 -0700 [thread overview]
Message-ID: <1371088149-22562-12-git-send-email-sboyd@codeaurora.org> (raw)
In-Reply-To: <1371088149-22562-1-git-send-email-sboyd@codeaurora.org>
Add the necessary DT data to probe the global clock controller
on MSM8960 devices.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
arch/arm/boot/dts/msm8960-cdp.dts | 72 +++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot/dts/msm8960-cdp.dts
index fd2f3ec..01d03f1 100644
--- a/arch/arm/boot/dts/msm8960-cdp.dts
+++ b/arch/arm/boot/dts/msm8960-cdp.dts
@@ -42,6 +42,78 @@
cpu-offset = <0x80000>;
};
+ clock-controller at 900000 {
+ compatible = "qcom,gcc-8960", "qcom,gcc";
+ reg = <0x900000 0x4000>;
+
+ clocks {
+ cxo: cxo {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <19200000>;
+ };
+
+ pxo: pxo {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <27000000>;
+ };
+
+ pll8: pll8 {
+ #clock-cells = <0>;
+ compatible = "qcom,pll";
+ clocks = <&pxo>;
+ };
+
+ vpll8: vpll8 {
+ #clock-cells = <0>;
+ compatible = "qcom,pll-vote";
+ clocks = <&pll8>;
+ };
+
+ gsbi5_uart_rcg: gsbi5_uart_rcg {
+ #clock-cells = <0>;
+ compatible = "qcom,p2-mn16-clock";
+ clocks = <&pxo>, <&vpll8>;
+ };
+
+ gsbi5_uart_clk: gsbi5_uart_cxc {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-clock";
+ clocks = <&gsbi5_uart_rcg>;
+ };
+
+ gsbi6_uart_rcg: gsbi6_uart_rcg {
+ #clock-cells = <0>;
+ compatible = "qcom,p2-mn16-clock";
+ clocks = <&pxo>, <&vpll8>;
+ };
+
+ gsbi6_uart_clk: gsbi6_uart_cxc {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-clock";
+ clocks = <&gsbi6_uart_rcg>;
+ };
+
+ gsbi5_uart_ahb: gsbi5_uart_ahb {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-hg-clock";
+ };
+
+ gsbi5_qup_rcg: gsbi5_qup_rcg {
+ #clock-cells = <0>;
+ compatible = "qcom,p2-mn8-clock";
+ clocks = <&pxo>, <&vpll8>;
+ };
+
+ gsbi5_qup_clk: gsbi5_qup_cxc {
+ #clock-cells = <0>;
+ compatible = "qcom,cxc-clock";
+ clocks = <&gsbi5_qup_rcg>;
+ };
+ };
+ };
+
kpss at 2088000 {
compatible = "qcom,kpss";
reg = <0x02088000 0x1000
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2013-06-13 1:49 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 1:48 [RFC/PATCH 00/13] Add support for MSM's mmio clocks Stephen Boyd
2013-06-13 1:48 ` Stephen Boyd
2013-06-13 1:48 ` [RFC/PATCH 01/13] clk: fixed-rate: Export clk_fixed_rate_register() Stephen Boyd
2013-06-13 1:48 ` Stephen Boyd
2013-06-13 1:48 ` Stephen Boyd
2013-06-13 1:48 ` [RFC/PATCH 02/13] clk: Add of_init_clk_data() to parse common clock bindings Stephen Boyd
2013-06-13 1:48 ` Stephen Boyd
2013-06-13 1:48 ` Stephen Boyd
2013-06-13 1:48 ` [RFC/PATCH 03/13] clk: Add of_clk_match() for device drivers Stephen Boyd
2013-06-13 1:48 ` Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 04/13] clk: Add set_rate_and_parent() op Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
[not found] ` <1371088149-22562-1-git-send-email-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2013-06-13 1:49 ` [RFC/PATCH 05/13] clk: msm: Add support for phase locked loops (PLLs) Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 06/13] clk: msm: Add support for root clock generators (RCGs) Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 07/13] clk: msm: Add support for branches/gate clocks Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 08/13] clk: msm: Add MSM clock driver Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 09/13] clk: msm: Add support for MSM8960's global clock controller (GCC) Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 10/13] clk: msm: Add support for MSM8960's multimedia clock controller (MMCC) Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd [this message]
2013-06-13 1:49 ` [RFC/PATCH 11/13] ARM: dts: msm: Add MSM8960 GCC DT nodes Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 12/13] ARM: dts: msm: Add MSM8960 MMCC " Stephen Boyd
2013-06-13 1:49 ` Stephen Boyd
2013-06-13 1:49 ` [RFC/PATCH 13/13] ARM: dts: msm: Add clock entries for MSM8960 uart device Stephen Boyd
2013-06-13 1:49 ` 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=1371088149-22562-12-git-send-email-sboyd@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=skannan@codeaurora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.