.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/arch/arm/mach-mmp/pxa910.c |
---|
3 | 4 | * |
---|
4 | 5 | * Code specific to PXA910 |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | #include <linux/clk/mmp.h> |
---|
11 | 8 | #include <linux/module.h> |
---|
.. | .. |
---|
21 | 18 | #include <asm/mach/time.h> |
---|
22 | 19 | #include "addr-map.h" |
---|
23 | 20 | #include "regs-apbc.h" |
---|
24 | | -#include "cputype.h" |
---|
| 21 | +#include <linux/soc/mmp/cputype.h> |
---|
25 | 22 | #include "irqs.h" |
---|
26 | 23 | #include "mfp.h" |
---|
27 | 24 | #include "devices.h" |
---|
.. | .. |
---|
116 | 113 | __raw_writel(APBC_APBCLK | APBC_RST, APBC_TIMERS); |
---|
117 | 114 | __raw_writel(TIMER_CLK_RST, APBC_TIMERS); |
---|
118 | 115 | |
---|
119 | | - timer_init(IRQ_PXA910_AP1_TIMER1); |
---|
| 116 | + mmp_timer_init(IRQ_PXA910_AP1_TIMER1, 3250000); |
---|
120 | 117 | } |
---|
121 | 118 | |
---|
122 | 119 | /* on-chip devices */ |
---|