| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mach-mmp/mmp2.c |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * code name MMP2 |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Copyright (C) 2009 Marvell International Ltd. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | #include <linux/clk/mmp.h> |
|---|
| 13 | 10 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 23 | 20 | #include <asm/mach/time.h> |
|---|
| 24 | 21 | #include "addr-map.h" |
|---|
| 25 | 22 | #include "regs-apbc.h" |
|---|
| 26 | | -#include "cputype.h" |
|---|
| 23 | +#include <linux/soc/mmp/cputype.h> |
|---|
| 27 | 24 | #include "irqs.h" |
|---|
| 28 | 25 | #include "mfp.h" |
|---|
| 29 | 26 | #include "devices.h" |
|---|
| .. | .. |
|---|
| 134 | 131 | clk_rst = APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(1); |
|---|
| 135 | 132 | __raw_writel(clk_rst, APBC_TIMERS); |
|---|
| 136 | 133 | |
|---|
| 137 | | - timer_init(IRQ_MMP2_TIMER1); |
|---|
| 134 | + mmp_timer_init(IRQ_MMP2_TIMER1, 6500000); |
|---|
| 138 | 135 | } |
|---|
| 139 | 136 | |
|---|
| 140 | 137 | /* on-chip devices */ |
|---|