summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Keerthy <j-keerthy@ti.com>2013-07-23 10:35:38 +0400
committerMike Turquette <mturquette@linaro.org>2014-01-18 00:36:23 +0400
commit7d138d3aafea6e7252ae5ea1e80423335b6c70dc (patch)
treedeefbf4907aea419608b2b207d7197bfc9fbd124
parentee6c750761dc125cb4390b11551f221006c26224 (diff)
downloadlinux-7d138d3aafea6e7252ae5ea1e80423335b6c70dc.tar.xz
ARM: dts: clk: Add apll related clocks
The patch adds a mux node to choose the parent of apll_pcie_ck node. Signed-off-by: J Keerthy <j-keerthy@ti.com> Signed-off-by: Tero Kristo <t-kristo@ti.com> Tested-by: Nishanth Menon <nm@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
-rw-r--r--arch/arm/boot/dts/dra7xx-clocks.dtsi14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi
index 32df8470b4a8..d4e7410dc0cd 100644
--- a/arch/arm/boot/dts/dra7xx-clocks.dtsi
+++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi
@@ -1150,11 +1150,19 @@
ti,invert-autoidle-bit;
};
+ apll_pcie_in_clk_mux: apll_pcie_in_clk_mux@4ae06118 {
+ compatible = "ti,mux-clock";
+ clocks = <&dpll_pcie_ref_ck>, <&pciesref_acs_clk_ck>;
+ #clock-cells = <0>;
+ reg = <0x021c 0x4>;
+ ti,bit-shift = <7>;
+ };
+
apll_pcie_ck: apll_pcie_ck {
#clock-cells = <0>;
- compatible = "ti,omap4-dpll-clock";
- clocks = <&dpll_pcie_ref_ck>, <&dpll_pcie_ref_ck>;
- reg = <0x0200>, <0x0204>, <0x020c>, <0x0208>;
+ compatible = "ti,dra7-apll-clock";
+ clocks = <&apll_pcie_in_clk_mux>, <&dpll_pcie_ref_ck>;
+ reg = <0x021c>, <0x0220>;
};
apll_pcie_clkvcoldo: apll_pcie_clkvcoldo {