| * Copyright (C) ST-Ericsson SA 2010 |
| * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson |
| * License terms: GNU General Public License (GPL) version 2 |
| #include <linux/platform_device.h> |
| #include <linux/mfd/db8500-prcmu.h> |
| #include <linux/mfd/db5500-prcmu.h> |
| #include <linux/clksrc-dbx500-prcmu.h> |
| #include <asm/hardware/gic.h> |
| #include <asm/mach/map.h> |
| #include <asm/localtimer.h> |
| #include <mach/hardware.h> |
| #include <mach/devices.h> |
| void __iomem *_PRCMU_BASE; |
| void __init ux500_init_irq(void) |
| dist_base = __io_address(U5500_GIC_DIST_BASE); |
| cpu_base = __io_address(U5500_GIC_CPU_BASE); |
| } else if (cpu_is_u8500()) { |
| dist_base = __io_address(U8500_GIC_DIST_BASE); |
| cpu_base = __io_address(U8500_GIC_CPU_BASE); |
| gic_init(0, 29, dist_base, cpu_base); |
| * Init clocks here so that they are available for system timer |
| db5500_prcmu_early_init(); |
| db8500_prcmu_early_init(); |