treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441
[linux-2.6-block.git] / arch / arm / mach-w90x900 / nuc960.c
CommitLineData
b886d83c 1// SPDX-License-Identifier: GPL-2.0-only
8e22676e 2/*
3 * linux/arch/arm/mach-w90x900/nuc960.c
4 *
5 * Based on linux/arch/arm/plat-s3c24xx/s3c244x.c by Ben Dooks
6 *
7 * Copyright (c) 2008 Nuvoton technology corporation.
8 *
9 * Wan ZongShun <mcuos.com@gmail.com>
10 *
11 * NUC960 cpu support
8e22676e 12 */
13
14#include <linux/platform_device.h>
15#include <asm/mach/map.h>
16#include <mach/hardware.h>
17#include "cpu.h"
18
19/* define specific CPU platform device */
20
21static struct platform_device *nuc960_dev[] __initdata = {
22 &nuc900_device_kpi,
23 &nuc900_device_fmi,
24};
25
26/* define specific CPU platform io map */
27
28static struct map_desc nuc960evb_iodesc[] __initdata = {
29};
30
31/*Init NUC960 evb io*/
32
33void __init nuc960_map_io(void)
34{
35 nuc900_map_io(nuc960evb_iodesc, ARRAY_SIZE(nuc960evb_iodesc));
36}
37
38/*Init NUC960 clock*/
39
40void __init nuc960_init_clocks(void)
41{
42 nuc900_init_clocks();
43}
44
45/*Init NUC960 board info*/
46
47void __init nuc960_board_init(void)
48{
49 nuc900_board_init(nuc960_dev, ARRAY_SIZE(nuc960_dev));
50}