2 * r8a7779 Power management support
4 * Copyright (C) 2011 Renesas Solutions Corp.
5 * Copyright (C) 2011 Magnus Damm
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive
12 #include <linux/soc/renesas/rcar-sysc.h>
22 #if defined(CONFIG_PM) || defined(CONFIG_SMP)
24 static void __init
r8a7779_sysc_init(void)
26 void __iomem
*base
= rcar_sysc_init(0xffd85000);
28 /* enable all interrupt sources, but do not use interrupt handler */
29 iowrite32(0x0131000e, base
+ SYSCIER
);
30 iowrite32(0, base
+ SYSCIMR
);
33 #else /* CONFIG_PM || CONFIG_SMP */
35 static inline void r8a7779_sysc_init(void) {}
37 #endif /* CONFIG_PM || CONFIG_SMP */
39 void __init
r8a7779_pm_init(void)
This page took 0.033405 seconds and 6 git commands to generate.