.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/arch/arm/mach-mmp/pxa168.c |
---|
3 | 4 | * |
---|
4 | 5 | * Code specific to PXA168 |
---|
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/module.h> |
---|
11 | 8 | #include <linux/kernel.h> |
---|
.. | .. |
---|
22 | 19 | #include <asm/system_misc.h> |
---|
23 | 20 | |
---|
24 | 21 | #include "addr-map.h" |
---|
25 | | -#include "clock.h" |
---|
26 | 22 | #include "common.h" |
---|
27 | | -#include "cputype.h" |
---|
| 23 | +#include <linux/soc/mmp/cputype.h> |
---|
28 | 24 | #include "devices.h" |
---|
29 | 25 | #include "irqs.h" |
---|
30 | 26 | #include "mfp.h" |
---|
.. | .. |
---|
79 | 75 | /* 3.25MHz, bus/functional clock enabled, release reset */ |
---|
80 | 76 | __raw_writel(TIMER_CLK_RST, APBC_TIMERS); |
---|
81 | 77 | |
---|
82 | | - timer_init(IRQ_PXA168_TIMER1); |
---|
| 78 | + mmp_timer_init(IRQ_PXA168_TIMER1, 3250000); |
---|
83 | 79 | } |
---|
84 | 80 | |
---|
85 | 81 | void pxa168_clear_keypad_wakeup(void) |
---|