| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 4/4] MIPS: lantiq: enable pci clk conditional for xrx200 SoC |
| From: | John Crispin <blogic@openwrt.org> |
| Date: | Thu, 16 Aug 2012 11:25:42 +0200 |
| Cc: | linux-mips@linux-mips.org, John Crispin <blogic@openwrt.org> |
| In-reply-to: | <1345109142-1756-1-git-send-email-blogic@openwrt.org> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1345109142-1756-1-git-send-email-blogic@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
The xrx200 SoC family has the same PCI clock register layout as the AR9.
Enable the same quirk as for AR9
Signed-off-by: John Crispin <blogic@openwrt.org>
---
arch/mips/lantiq/xway/sysctrl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
index 8863cca..655c210 100644
--- a/arch/mips/lantiq/xway/sysctrl.c
+++ b/arch/mips/lantiq/xway/sysctrl.c
@@ -149,7 +149,8 @@ static int pci_enable(struct clk *clk)
{
unsigned int val = ltq_cgu_r32(ifccr);
/* set bus clock speed */
- if (of_machine_is_compatible("lantiq,ar9")) {
+ if (of_machine_is_compatible("lantiq,ar9") ||
+ of_machine_is_compatible("lantiq,vr9")) {
val &= ~0x1f00000;
if (clk->rate == CLOCK_33M)
val |= 0xe00000;
--
1.7.9.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/4] MIPS: lantiq: falcon clocks were not enabled properly, John Crispin |
|---|---|
| Next by Date: | Re: [PATCH] I2C: MIPS: lantiq: add FALC-ON i2c bus master, Shubhrajyoti Datta |
| Previous by Thread: | [PATCH 3/4] MIPS: lantiq: falcon clocks were not enabled properly, John Crispin |
| Next by Thread: | [PATCH] MIPS: lantiq: adds support for gptu timers, John Crispin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |