2 * include/asm-arm/arch-ns9xxx/processor-ns9360.h
4 * Copyright (C) 2007 by Digi International Inc.
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
11 #ifndef __ASM_ARCH_PROCESSORNS9360_H
12 #define __ASM_ARCH_PROCESSORNS9360_H
14 #include <linux/init.h>
16 void ns9360_reset(char mode);
18 unsigned long ns9360_systemclock(void) __attribute__((const));
20 static inline unsigned long ns9360_cpuclock(void) __attribute__((const));
21 static inline unsigned long ns9360_cpuclock(void)
23 return ns9360_systemclock() / 2;
26 void __init ns9360_map_io(void);
28 extern struct sys_timer ns9360_timer;
30 int ns9360_gpio_configure(unsigned gpio, int inv, int func);
32 #endif /* ifndef __ASM_ARCH_PROCESSORNS9360_H */