/*1* linux/arch/arm/mach-nuc93x/nuc932.c2*3* Copyright (c) 2009 Nuvoton corporation.4*5* Wan ZongShun <[email protected]>6*7* NUC932 cpu support8*9* This program is free software; you can redistribute it and/or modify10* it under the terms of the GNU General Public License as published by11* the Free Software Foundation;version 2 of the License.12*13*/1415#include <linux/platform_device.h>16#include <linux/clk.h>17#include <linux/err.h>1819#include <asm/mach/map.h>20#include <mach/hardware.h>2122#include "cpu.h"23#include "clock.h"2425/* define specific CPU platform device */2627static struct platform_device *nuc932_dev[] __initdata = {28};2930/* define specific CPU platform io map */3132static struct map_desc nuc932evb_iodesc[] __initdata = {33};3435/*Init NUC932 evb io*/3637void __init nuc932_map_io(void)38{39nuc93x_map_io(nuc932evb_iodesc, ARRAY_SIZE(nuc932evb_iodesc));40}4142/*Init NUC932 clock*/4344void __init nuc932_init_clocks(void)45{46nuc93x_init_clocks();47}4849/*enable NUC932 uart clock*/5051void __init nuc932_init_uartclk(void)52{53struct clk *ck_uart = clk_get(NULL, "uart");54BUG_ON(IS_ERR(ck_uart));5556clk_enable(ck_uart);57}5859/*Init NUC932 board info*/6061void __init nuc932_board_init(void)62{63nuc93x_board_init(nuc932_dev, ARRAY_SIZE(nuc932_dev));64}656667