diff options
Diffstat (limited to 'arch/arm/mach-ns9xxx/cme9210_devices.h')
-rw-r--r-- | arch/arm/mach-ns9xxx/cme9210_devices.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-ns9xxx/cme9210_devices.h b/arch/arm/mach-ns9xxx/cme9210_devices.h new file mode 100644 index 000000000000..606ed71a244f --- /dev/null +++ b/arch/arm/mach-ns9xxx/cme9210_devices.h @@ -0,0 +1,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) |