/* * linux/arch/arm/mach-pxa/balloon3.c * * Support for Balloonboard.org Balloon3 board. * * Author: Nick Bane, Wookey, Jonathan McDowell * Created: June, 2006 * Copyright: Toby Churchill Ltd * Derived from mainstone.c, by Nico Pitre * * 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. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "generic.h" #include "devices.h" /****************************************************************************** * Pin configuration ******************************************************************************/ static unsigned long balloon3_pin_config[] __initdata = { /* Select BTUART 'COM1/ttyS0' as IO option for pins 42/43/44/45 */ GPIO42_BTUART_RXD, GPIO43_BTUART_TXD, GPIO44_BTUART_CTS, GPIO45_BTUART_RTS, /* Reset, configured as GPIO wakeup source */ GPIO1_GPIO | WAKEUP_ON_EDGE_BOTH, }; /****************************************************************************** * Compatibility: Parameter parsing ******************************************************************************/ static unsigned long balloon3_irq_enabled; static unsigned long balloon3_features_present = (1 << BALLOON3_FEATURE_OHCI) | (1 << BALLOON3_FEATURE_CF) | (1 << BALLOON3_FEATURE_AUDIO) | (1 << BALLOON3_FEATURE_TOPPOLY); int balloon3_has(enum balloon3_features feature)