2 * Copyright (C) 2011 Renesas Solutions Corp.
3 * Copyright (C) 2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __ASM_R8A7740_H__
16 #define __ASM_R8A7740_H__
21 #define MD_CK2 (1 << 2)
22 #define MD_CK1 (1 << 1)
23 #define MD_CK0 (1 << 0)
43 extern void r8a7740_meram_workaround(void);
44 extern void r8a7740_init_irq_of(void);
45 extern void r8a7740_map_io(void);
46 extern void r8a7740_add_early_devices(void);
47 extern void r8a7740_add_standard_devices(void);
48 extern void r8a7740_clock_init(u8 md_ck
);
49 extern void r8a7740_pinmux_init(void);
50 extern void r8a7740_pm_init(void);
52 #if defined(CONFIG_PM) && !defined(CONFIG_ARCH_MULTIPLATFORM)
53 extern void __init
r8a7740_init_pm_domains(void);
55 static inline void r8a7740_init_pm_domains(void) {}
56 #endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */
58 #endif /* __ASM_R8A7740_H__ */