]> Pileus Git - ~andy/linux/blob - arch/arm/mach-ux500/devices-db8500.h
ARM: ux500: Rip out SSP/SPI registration when not booting with Device Tree
[~andy/linux] / arch / arm / mach-ux500 / devices-db8500.h
1 /*
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 #ifndef __DEVICES_DB8500_H
9 #define __DEVICES_DB8500_H
10
11 #include "irqs.h"
12 #include "db8500-regs.h"
13 #include "devices-common.h"
14
15 struct platform_device;
16
17 extern struct ab8500_platform_data ab8500_platdata;
18 extern struct prcmu_pdata db8500_prcmu_pdata;
19 extern struct platform_device db8500_prcmu_device;
20
21 #define db8500_add_uart0(parent, pdata) \
22         dbx500_add_uart(parent, "uart0", U8500_UART0_BASE, \
23                         IRQ_DB8500_UART0, pdata)
24 #define db8500_add_uart1(parent, pdata) \
25         dbx500_add_uart(parent, "uart1", U8500_UART1_BASE, \
26                         IRQ_DB8500_UART1, pdata)
27 #define db8500_add_uart2(parent, pdata) \
28         dbx500_add_uart(parent, "uart2", U8500_UART2_BASE, \
29                         IRQ_DB8500_UART2, pdata)
30
31 #endif