blob: c59f89d058ff4499c6d7dd33b6464d086a8fdd0b [file] [log] [blame]
Rabin Vincent9e4e7fe2010-05-03 08:03:52 +01001/*
2 * Copyright (C) ST-Ericsson SA 2010
3 *
4 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
5 * License terms: GNU General Public License (GPL) version 2
6 */
7
8#include <linux/kernel.h>
9#include <linux/platform_device.h>
10#include <linux/interrupt.h>
11#include <linux/io.h>
12#include <linux/amba/bus.h>
Linus Walleij5d7b8462010-10-14 13:57:59 +020013#include <linux/amba/pl022.h>
Linus Walleij05ec2602013-02-07 10:17:31 +010014#include <linux/mfd/dbx500-prcmu.h>
Linus Walleij7b8ddb02010-05-27 15:21:26 -070015
Arnd Bergmanne657bcf2013-03-21 22:51:12 +010016#include "setup.h"
Arnd Bergmanneba52742013-03-21 22:51:08 +010017#include "irqs.h"
Rabin Vincent9e4e7fe2010-05-03 08:03:52 +010018
Linus Walleij174e7792013-03-19 15:41:55 +010019#include "db8500-regs.h"
Linus Walleij05ec2602013-02-07 10:17:31 +010020#include "devices-db8500.h"
Linus Walleij7b8ddb02010-05-27 15:21:26 -070021
Linus Walleij05ec2602013-02-07 10:17:31 +010022struct prcmu_pdata db8500_prcmu_pdata = {
23 .ab_platdata = &ab8500_platdata,
Arnd Bergmann55b175d2013-03-21 22:51:07 +010024 .ab_irq = IRQ_DB8500_AB8500,
25 .irq_base = IRQ_PRCMU_BASE,
Linus Walleij05ec2602013-02-07 10:17:31 +010026 .version_offset = DB8500_PRCMU_FW_VERSION_OFFSET,
27 .legacy_offset = DB8500_PRCMU_LEGACY_OFFSET,
28};