aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r--arch/mips/lantiq/xway/sysctrl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
index befbb760ab76..67c3a91e54e7 100644
--- a/arch/mips/lantiq/xway/sysctrl.c
+++ b/arch/mips/lantiq/xway/sysctrl.c
@@ -145,7 +145,8 @@ static int pci_enable(struct clk *clk)
145{ 145{
146 unsigned int val = ltq_cgu_r32(ifccr); 146 unsigned int val = ltq_cgu_r32(ifccr);
147 /* set bus clock speed */ 147 /* set bus clock speed */
148 if (of_machine_is_compatible("lantiq,ar9")) { 148 if (of_machine_is_compatible("lantiq,ar9") ||
149 of_machine_is_compatible("lantiq,vr9")) {
149 val &= ~0x1f00000; 150 val &= ~0x1f00000;
150 if (clk->rate == CLOCK_33M) 151 if (clk->rate == CLOCK_33M)
151 val |= 0xe00000; 152 val |= 0xe00000;