summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ns9xxx/cme9210_devices.h
blob: 606ed71a244fe8ffb29723f5aea467e63bed660c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * arch/arm/mach-ns9xxx/cme9210_devices.h
 *
 * Copyright (C) 2008 by Digi International Inc.
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published by
 * the Free Software Foundation.
 */

void __init ns9xxx_add_device_cme9210_eth(void);
void __init ns9xxx_add_device_cme9210_uarta(int gpio_nr);
void __init ns9xxx_add_device_cme9210_uartc(int gpio_nr);
void __init ns9xxx_add_device_cme9210_flash(void);
void __init ns9xxx_add_device_cme9210_spi(void);
void __init ns9xxx_add_device_cme9210_i2c(void);

#define ns9xxx_add_device_cme9210_uarta_rxtx() \
	ns9xxx_add_device_cme9210_uarta(2)
#define ns9xxx_add_device_cme9210_uarta_ctsrtsrxtx() \
	ns9xxx_add_device_cme9210_uarta(4)
#define ns9xxx_add_device_cme9210_uarta_full() \
	ns9xxx_add_device_cme9210_uarta(8)
#define ns9xxx_add_device_cme9210_uartc_rxtx() \
	ns9xxx_add_device_cme9210_uartc(2)