diff options
author | J Keerthy <j-keerthy@ti.com> | 2013-07-23 02:35:40 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-01-17 15:36:31 -0500 |
commit | a0289f917402a08b049b818ffba638cb16994315 (patch) | |
tree | 12f3f765392d2460457e76d239eba4489443877b /arch/arm/boot | |
parent | c3be7acdeb5ce5bc857ee47664b0be36241e2402 (diff) |
ARM: dts: DRA7: Add PCIe related clock nodes
This patch adds optfclk_pciephy_clk and optfclk_pciephy_div_clk
which are used by PCIe phy. It also adds a mux clock to choose
the source of optfclk_pciephy_div_clk clock.
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/dra7xx-clocks.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi index d616359baed1..e96da9a898ad 100644 --- a/arch/arm/boot/dts/dra7xx-clocks.dtsi +++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi | |||
@@ -1165,6 +1165,31 @@ | |||
1165 | reg = <0x021c>, <0x0220>; | 1165 | reg = <0x021c>, <0x0220>; |
1166 | }; | 1166 | }; |
1167 | 1167 | ||
1168 | optfclk_pciephy_div: optfclk_pciephy_div@4a00821c { | ||
1169 | compatible = "ti,divider-clock"; | ||
1170 | clocks = <&apll_pcie_ck>; | ||
1171 | #clock-cells = <0>; | ||
1172 | reg = <0x021c>; | ||
1173 | ti,bit-shift = <8>; | ||
1174 | ti,max-div = <2>; | ||
1175 | }; | ||
1176 | |||
1177 | optfclk_pciephy_clk: optfclk_pciephy_clk@4a0093b0 { | ||
1178 | compatible = "ti,gate-clock"; | ||
1179 | clocks = <&apll_pcie_ck>; | ||
1180 | #clock-cells = <0>; | ||
1181 | reg = <0x13b0>; | ||
1182 | ti,bit-shift = <9>; | ||
1183 | }; | ||
1184 | |||
1185 | optfclk_pciephy_div_clk: optfclk_pciephy_div_clk@4a0093b0 { | ||
1186 | compatible = "ti,gate-clock"; | ||
1187 | clocks = <&optfclk_pciephy_div>; | ||
1188 | #clock-cells = <0>; | ||
1189 | reg = <0x13b0>; | ||
1190 | ti,bit-shift = <10>; | ||
1191 | }; | ||
1192 | |||
1168 | apll_pcie_clkvcoldo: apll_pcie_clkvcoldo { | 1193 | apll_pcie_clkvcoldo: apll_pcie_clkvcoldo { |
1169 | #clock-cells = <0>; | 1194 | #clock-cells = <0>; |
1170 | compatible = "fixed-factor-clock"; | 1195 | compatible = "fixed-factor-clock"; |