10 #include <linux/kernel.h>
28 #define ZOOM_SMSC911X_CS 7
29 #define ZOOM_SMSC911X_GPIO 158
30 #define ZOOM_QUADUART_CS 3
31 #define ZOOM_QUADUART_GPIO 102
32 #define ZOOM_QUADUART_RST_GPIO 152
33 #define QUART_CLK 1843200
34 #define DEBUG_BASE 0x08000000
35 #define ZOOM_ETHR_START DEBUG_BASE
44 static inline void __init zoom_init_smsc911x(
void)
66 .platform_data = serial_platform_data,
70 static inline void __init zoom_init_quaduart(
void)
73 unsigned long cs_mem_base;
78 "TL16CP754C GPIO") < 0) {
79 pr_err(
"Failed to request GPIO%d for TL16CP754C\n",
87 pr_err(
"Failed to request GPMC mem for Quad UART(TL16CP754C)\n");
100 static inline int omap_zoom_debugboard_detect(
void)
102 int debug_board_detect = 0;
108 "Zoom debug board detect") < 0) {
109 pr_err(
"Failed to request GPIO%d for Zoom debug board detect\n",
122 &zoom_debugboard_serial_device,
132 if (!omap_zoom_debugboard_detect())
136 zoom_init_smsc911x();
137 zoom_init_quaduart();