Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 1 | /* |
| 2 | * arch/sh/boards/renesas/r7780rp/setup.c |
| 3 | * |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 4 | * Renesas Solutions Highlander Support. |
| 5 | * |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 6 | * Copyright (C) 2002 Atom Create Engineering Co., Ltd. |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 7 | * Copyright (C) 2005 - 2008 Paul Mundt |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 8 | * |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 9 | * This contains support for the R7780RP-1, R7780MP, and R7785RP |
| 10 | * Highlander modules. |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 11 | * |
| 12 | * This file is subject to the terms and conditions of the GNU General Public |
| 13 | * License. See the file "COPYING" in the main directory of this archive |
| 14 | * for more details. |
| 15 | */ |
| 16 | #include <linux/init.h> |
| 17 | #include <linux/platform_device.h> |
Jeff Garzik | 0a87e3e | 2008-02-01 18:02:30 -0500 | [diff] [blame] | 18 | #include <linux/ata_platform.h> |
Paul Mundt | b5751e2 | 2007-11-02 14:17:19 +0900 | [diff] [blame] | 19 | #include <linux/types.h> |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 20 | #include <linux/i2c.h> |
Magnus Damm | c6f93a3 | 2007-10-15 10:36:45 +0900 | [diff] [blame] | 21 | #include <net/ax88796.h> |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 22 | #include <asm/machvec.h> |
Paul Mundt | 082c44d | 2006-10-19 16:16:18 +0900 | [diff] [blame] | 23 | #include <asm/r7780rp.h> |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 24 | #include <asm/clock.h> |
Paul Mundt | 8786c95 | 2007-08-20 13:03:41 +0900 | [diff] [blame] | 25 | #include <asm/heartbeat.h> |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 26 | #include <asm/io.h> |
Magnus Damm | c1a34e4 | 2008-02-07 20:23:53 +0900 | [diff] [blame] | 27 | #include <asm/io_trapped.h> |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 28 | |
Yoshihiro Shimoda | e6c972f | 2007-07-17 13:38:54 +0900 | [diff] [blame] | 29 | static struct resource r8a66597_usb_host_resources[] = { |
| 30 | [0] = { |
| 31 | .name = "r8a66597_hcd", |
| 32 | .start = 0xA4200000, |
| 33 | .end = 0xA42000FF, |
| 34 | .flags = IORESOURCE_MEM, |
| 35 | }, |
| 36 | [1] = { |
| 37 | .name = "r8a66597_hcd", |
Magnus Damm | 897cfcd8 | 2007-09-10 12:06:03 +0900 | [diff] [blame] | 38 | .start = IRQ_EXT1, /* irq number */ |
| 39 | .end = IRQ_EXT1, |
Yoshihiro Shimoda | e6c972f | 2007-07-17 13:38:54 +0900 | [diff] [blame] | 40 | .flags = IORESOURCE_IRQ, |
| 41 | }, |
| 42 | }; |
| 43 | |
| 44 | static struct platform_device r8a66597_usb_host_device = { |
| 45 | .name = "r8a66597_hcd", |
| 46 | .id = -1, |
| 47 | .dev = { |
| 48 | .dma_mask = NULL, /* don't use dma */ |
| 49 | .coherent_dma_mask = 0xffffffff, |
| 50 | }, |
| 51 | .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources), |
| 52 | .resource = r8a66597_usb_host_resources, |
| 53 | }; |
| 54 | |
| 55 | static struct resource m66592_usb_peripheral_resources[] = { |
| 56 | [0] = { |
| 57 | .name = "m66592_udc", |
| 58 | .start = 0xb0000000, |
| 59 | .end = 0xb00000FF, |
| 60 | .flags = IORESOURCE_MEM, |
| 61 | }, |
| 62 | [1] = { |
| 63 | .name = "m66592_udc", |
Magnus Damm | 897cfcd8 | 2007-09-10 12:06:03 +0900 | [diff] [blame] | 64 | .start = IRQ_EXT4, /* irq number */ |
| 65 | .end = IRQ_EXT4, |
Yoshihiro Shimoda | e6c972f | 2007-07-17 13:38:54 +0900 | [diff] [blame] | 66 | .flags = IORESOURCE_IRQ, |
| 67 | }, |
| 68 | }; |
| 69 | |
| 70 | static struct platform_device m66592_usb_peripheral_device = { |
| 71 | .name = "m66592_udc", |
| 72 | .id = -1, |
| 73 | .dev = { |
| 74 | .dma_mask = NULL, /* don't use dma */ |
| 75 | .coherent_dma_mask = 0xffffffff, |
| 76 | }, |
| 77 | .num_resources = ARRAY_SIZE(m66592_usb_peripheral_resources), |
| 78 | .resource = m66592_usb_peripheral_resources, |
| 79 | }; |
| 80 | |
Paul Mundt | 0c020e3 | 2006-12-06 10:43:44 +0900 | [diff] [blame] | 81 | static struct resource cf_ide_resources[] = { |
| 82 | [0] = { |
Paul Mundt | 71074d3 | 2007-02-14 14:49:04 +0900 | [diff] [blame] | 83 | .start = PA_AREA5_IO + 0x1000, |
| 84 | .end = PA_AREA5_IO + 0x1000 + 0x08 - 1, |
| 85 | .flags = IORESOURCE_MEM, |
Paul Mundt | 0c020e3 | 2006-12-06 10:43:44 +0900 | [diff] [blame] | 86 | }, |
| 87 | [1] = { |
Paul Mundt | 71074d3 | 2007-02-14 14:49:04 +0900 | [diff] [blame] | 88 | .start = PA_AREA5_IO + 0x80c, |
| 89 | .end = PA_AREA5_IO + 0x80c + 0x16 - 1, |
| 90 | .flags = IORESOURCE_MEM, |
Paul Mundt | 0c020e3 | 2006-12-06 10:43:44 +0900 | [diff] [blame] | 91 | }, |
| 92 | [2] = { |
Magnus Damm | 897cfcd8 | 2007-09-10 12:06:03 +0900 | [diff] [blame] | 93 | .start = IRQ_CF, |
Paul Mundt | 0c020e3 | 2006-12-06 10:43:44 +0900 | [diff] [blame] | 94 | .flags = IORESOURCE_IRQ, |
| 95 | }, |
| 96 | }; |
| 97 | |
Paul Mundt | 71074d3 | 2007-02-14 14:49:04 +0900 | [diff] [blame] | 98 | static struct pata_platform_info pata_info = { |
| 99 | .ioport_shift = 1, |
| 100 | }; |
| 101 | |
Paul Mundt | 0c020e3 | 2006-12-06 10:43:44 +0900 | [diff] [blame] | 102 | static struct platform_device cf_ide_device = { |
| 103 | .name = "pata_platform", |
| 104 | .id = -1, |
| 105 | .num_resources = ARRAY_SIZE(cf_ide_resources), |
| 106 | .resource = cf_ide_resources, |
Paul Mundt | 71074d3 | 2007-02-14 14:49:04 +0900 | [diff] [blame] | 107 | .dev = { |
| 108 | .platform_data = &pata_info, |
| 109 | }, |
Paul Mundt | 0c020e3 | 2006-12-06 10:43:44 +0900 | [diff] [blame] | 110 | }; |
| 111 | |
Paul Mundt | 3b4d953 | 2007-02-13 15:42:28 +0900 | [diff] [blame] | 112 | static struct resource heartbeat_resources[] = { |
| 113 | [0] = { |
| 114 | .start = PA_OBLED, |
Paul Mundt | a1fd306 | 2007-08-23 15:11:44 +0900 | [diff] [blame] | 115 | .end = PA_OBLED, |
Paul Mundt | 3b4d953 | 2007-02-13 15:42:28 +0900 | [diff] [blame] | 116 | .flags = IORESOURCE_MEM, |
| 117 | }, |
| 118 | }; |
| 119 | |
Paul Mundt | 8786c95 | 2007-08-20 13:03:41 +0900 | [diff] [blame] | 120 | #ifndef CONFIG_SH_R7785RP |
| 121 | static unsigned char heartbeat_bit_pos[] = { 2, 1, 0, 3, 6, 5, 4, 7 }; |
| 122 | |
| 123 | static struct heartbeat_data heartbeat_data = { |
| 124 | .bit_pos = heartbeat_bit_pos, |
| 125 | .nr_bits = ARRAY_SIZE(heartbeat_bit_pos), |
| 126 | }; |
| 127 | #endif |
| 128 | |
Paul Mundt | 3b4d953 | 2007-02-13 15:42:28 +0900 | [diff] [blame] | 129 | static struct platform_device heartbeat_device = { |
| 130 | .name = "heartbeat", |
| 131 | .id = -1, |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 132 | |
| 133 | /* R7785RP has a slightly more sensible FPGA.. */ |
| 134 | #ifndef CONFIG_SH_R7785RP |
Paul Mundt | 3b4d953 | 2007-02-13 15:42:28 +0900 | [diff] [blame] | 135 | .dev = { |
Paul Mundt | a1fd306 | 2007-08-23 15:11:44 +0900 | [diff] [blame] | 136 | .platform_data = &heartbeat_data, |
Paul Mundt | 3b4d953 | 2007-02-13 15:42:28 +0900 | [diff] [blame] | 137 | }, |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 138 | #endif |
Paul Mundt | 3b4d953 | 2007-02-13 15:42:28 +0900 | [diff] [blame] | 139 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
| 140 | .resource = heartbeat_resources, |
| 141 | }; |
| 142 | |
Magnus Damm | c6f93a3 | 2007-10-15 10:36:45 +0900 | [diff] [blame] | 143 | static struct ax_plat_data ax88796_platdata = { |
| 144 | .flags = AXFLG_HAS_93CX6, |
| 145 | .wordlength = 2, |
| 146 | .dcr_val = 0x1, |
| 147 | .rcr_val = 0x40, |
| 148 | }; |
| 149 | |
| 150 | static struct resource ax88796_resources[] = { |
| 151 | { |
| 152 | #ifdef CONFIG_SH_R7780RP |
| 153 | .start = 0xa5800400, |
| 154 | .end = 0xa5800400 + (0x20 * 0x2) - 1, |
| 155 | #else |
| 156 | .start = 0xa4100400, |
| 157 | .end = 0xa4100400 + (0x20 * 0x2) - 1, |
| 158 | #endif |
| 159 | .flags = IORESOURCE_MEM, |
| 160 | }, |
| 161 | { |
| 162 | .start = IRQ_AX88796, |
| 163 | .end = IRQ_AX88796, |
| 164 | .flags = IORESOURCE_IRQ, |
| 165 | }, |
| 166 | }; |
| 167 | |
| 168 | static struct platform_device ax88796_device = { |
| 169 | .name = "ax88796", |
| 170 | .id = 0, |
| 171 | |
| 172 | .dev = { |
| 173 | .platform_data = &ax88796_platdata, |
| 174 | }, |
| 175 | |
| 176 | .num_resources = ARRAY_SIZE(ax88796_resources), |
| 177 | .resource = ax88796_resources, |
| 178 | }; |
| 179 | |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 180 | static struct resource smbus_resources[] = { |
| 181 | [0] = { |
| 182 | .start = PA_SMCR, |
| 183 | .end = PA_SMCR + 0x100 - 1, |
| 184 | .flags = IORESOURCE_MEM, |
| 185 | }, |
| 186 | [1] = { |
| 187 | .start = IRQ_SMBUS, |
| 188 | .end = IRQ_SMBUS, |
| 189 | .flags = IORESOURCE_IRQ, |
| 190 | }, |
| 191 | }; |
| 192 | |
| 193 | static struct platform_device smbus_device = { |
| 194 | .name = "i2c-highlander", |
| 195 | .id = 0, |
| 196 | .num_resources = ARRAY_SIZE(smbus_resources), |
| 197 | .resource = smbus_resources, |
| 198 | }; |
| 199 | |
| 200 | static struct i2c_board_info __initdata highlander_i2c_devices[] = { |
| 201 | { |
Jean Delvare | 3760f73 | 2008-04-29 23:11:40 +0200 | [diff] [blame^] | 202 | I2C_BOARD_INFO("r2025sd", 0x32), |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 203 | }, |
| 204 | }; |
Magnus Damm | c6f93a3 | 2007-10-15 10:36:45 +0900 | [diff] [blame] | 205 | |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 206 | static struct platform_device *r7780rp_devices[] __initdata = { |
Yoshihiro Shimoda | e6c972f | 2007-07-17 13:38:54 +0900 | [diff] [blame] | 207 | &r8a66597_usb_host_device, |
| 208 | &m66592_usb_peripheral_device, |
Paul Mundt | 3b4d953 | 2007-02-13 15:42:28 +0900 | [diff] [blame] | 209 | &heartbeat_device, |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 210 | &smbus_device, |
Magnus Damm | da2d7f4 | 2008-01-25 16:04:29 +0900 | [diff] [blame] | 211 | #ifndef CONFIG_SH_R7780RP |
Magnus Damm | c6f93a3 | 2007-10-15 10:36:45 +0900 | [diff] [blame] | 212 | &ax88796_device, |
Magnus Damm | da2d7f4 | 2008-01-25 16:04:29 +0900 | [diff] [blame] | 213 | #endif |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 214 | }; |
| 215 | |
Magnus Damm | c1a34e4 | 2008-02-07 20:23:53 +0900 | [diff] [blame] | 216 | /* |
| 217 | * The CF is connected using a 16-bit bus where 8-bit operations are |
| 218 | * unsupported. The linux ata driver is however using 8-bit operations, so |
| 219 | * insert a trapped io filter to convert 8-bit operations into 16-bit. |
| 220 | */ |
| 221 | static struct trapped_io cf_trapped_io = { |
| 222 | .resource = cf_ide_resources, |
| 223 | .num_resources = 2, |
| 224 | .minimum_bus_width = 16, |
| 225 | }; |
| 226 | |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 227 | static int __init r7780rp_devices_setup(void) |
| 228 | { |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 229 | int ret = 0; |
| 230 | |
Magnus Damm | c1a34e4 | 2008-02-07 20:23:53 +0900 | [diff] [blame] | 231 | #ifndef CONFIG_SH_R7780RP |
| 232 | if (register_trapped_io(&cf_trapped_io) == 0) |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 233 | ret |= platform_device_register(&cf_ide_device); |
Magnus Damm | c1a34e4 | 2008-02-07 20:23:53 +0900 | [diff] [blame] | 234 | #endif |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 235 | |
| 236 | ret |= platform_add_devices(r7780rp_devices, |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 237 | ARRAY_SIZE(r7780rp_devices)); |
Paul Mundt | c293396 | 2008-03-25 16:49:30 +0900 | [diff] [blame] | 238 | |
| 239 | ret |= i2c_register_board_info(0, highlander_i2c_devices, |
| 240 | ARRAY_SIZE(highlander_i2c_devices)); |
| 241 | |
| 242 | return ret; |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 243 | } |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 244 | device_initcall(r7780rp_devices_setup); |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 245 | |
| 246 | /* |
| 247 | * Platform specific clocks |
| 248 | */ |
| 249 | static void ivdr_clk_enable(struct clk *clk) |
| 250 | { |
Ryusuke Sakato | 39374aa | 2007-05-07 10:48:56 +0900 | [diff] [blame] | 251 | ctrl_outw(ctrl_inw(PA_IVDRCTL) | (1 << IVDR_CK_ON), PA_IVDRCTL); |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 252 | } |
| 253 | |
| 254 | static void ivdr_clk_disable(struct clk *clk) |
| 255 | { |
Ryusuke Sakato | 39374aa | 2007-05-07 10:48:56 +0900 | [diff] [blame] | 256 | ctrl_outw(ctrl_inw(PA_IVDRCTL) & ~(1 << IVDR_CK_ON), PA_IVDRCTL); |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 257 | } |
| 258 | |
| 259 | static struct clk_ops ivdr_clk_ops = { |
| 260 | .enable = ivdr_clk_enable, |
| 261 | .disable = ivdr_clk_disable, |
| 262 | }; |
| 263 | |
| 264 | static struct clk ivdr_clk = { |
| 265 | .name = "ivdr_clk", |
| 266 | .ops = &ivdr_clk_ops, |
| 267 | }; |
| 268 | |
| 269 | static struct clk *r7780rp_clocks[] = { |
| 270 | &ivdr_clk, |
| 271 | }; |
| 272 | |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 273 | static void r7780rp_power_off(void) |
| 274 | { |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 275 | if (mach_is_r7780mp() || mach_is_r7785rp()) |
| 276 | ctrl_outw(0x0001, PA_POFF); |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 277 | } |
| 278 | |
| 279 | /* |
| 280 | * Initialize the board |
| 281 | */ |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 282 | static void __init highlander_setup(char **cmdline_p) |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 283 | { |
| 284 | u16 ver = ctrl_inw(PA_VERREG); |
| 285 | int i; |
| 286 | |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 287 | printk(KERN_INFO "Renesas Solutions Highlander %s support.\n", |
| 288 | mach_is_r7780rp() ? "R7780RP-1" : |
| 289 | mach_is_r7780mp() ? "R7780MP" : |
| 290 | "R7785RP"); |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 291 | |
| 292 | printk(KERN_INFO "Board version: %d (revision %d), " |
| 293 | "FPGA version: %d (revision %d)\n", |
| 294 | (ver >> 12) & 0xf, (ver >> 8) & 0xf, |
| 295 | (ver >> 4) & 0xf, ver & 0xf); |
| 296 | |
| 297 | /* |
| 298 | * Enable the important clocks right away.. |
| 299 | */ |
| 300 | for (i = 0; i < ARRAY_SIZE(r7780rp_clocks); i++) { |
| 301 | struct clk *clk = r7780rp_clocks[i]; |
| 302 | |
| 303 | clk_register(clk); |
| 304 | clk_enable(clk); |
| 305 | } |
| 306 | |
| 307 | ctrl_outw(0x0000, PA_OBLED); /* Clear LED. */ |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 308 | |
| 309 | if (mach_is_r7780rp()) |
| 310 | ctrl_outw(0x0001, PA_SDPOW); /* SD Power ON */ |
| 311 | |
Paul Mundt | 2c081e7 | 2006-12-25 18:28:33 +0900 | [diff] [blame] | 312 | ctrl_outw(ctrl_inw(PA_IVDRCTL) | 0x01, PA_IVDRCTL); /* Si13112 */ |
Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 313 | |
| 314 | pm_power_off = r7780rp_power_off; |
| 315 | } |
Paul Mundt | 2c7834a | 2006-09-27 18:17:31 +0900 | [diff] [blame] | 316 | |
Magnus Damm | 897cfcd8 | 2007-09-10 12:06:03 +0900 | [diff] [blame] | 317 | static unsigned char irl2irq[HL_NR_IRL]; |
| 318 | |
| 319 | int highlander_irq_demux(int irq) |
| 320 | { |
| 321 | if (irq >= HL_NR_IRL || !irl2irq[irq]) |
| 322 | return irq; |
| 323 | |
| 324 | return irl2irq[irq]; |
| 325 | } |
| 326 | |
| 327 | void __init highlander_init_irq(void) |
| 328 | { |
| 329 | unsigned char *ucp = NULL; |
| 330 | |
| 331 | do { |
| 332 | #ifdef CONFIG_SH_R7780MP |
| 333 | ucp = highlander_init_irq_r7780mp(); |
| 334 | if (ucp) |
| 335 | break; |
| 336 | #endif |
| 337 | #ifdef CONFIG_SH_R7785RP |
| 338 | ucp = highlander_init_irq_r7785rp(); |
| 339 | if (ucp) |
| 340 | break; |
| 341 | #endif |
| 342 | #ifdef CONFIG_SH_R7780RP |
Magnus Damm | da2d7f4 | 2008-01-25 16:04:29 +0900 | [diff] [blame] | 343 | ucp = highlander_init_irq_r7780rp(); |
| 344 | if (ucp) |
| 345 | break; |
Magnus Damm | 897cfcd8 | 2007-09-10 12:06:03 +0900 | [diff] [blame] | 346 | #endif |
| 347 | } while (0); |
| 348 | |
| 349 | if (ucp) { |
| 350 | plat_irq_setup_pins(IRQ_MODE_IRL3210); |
| 351 | memcpy(irl2irq, ucp, HL_NR_IRL); |
| 352 | } |
| 353 | } |
| 354 | |
Paul Mundt | 2c7834a | 2006-09-27 18:17:31 +0900 | [diff] [blame] | 355 | /* |
| 356 | * The Machine Vector |
| 357 | */ |
Paul Mundt | 82f81f4 | 2007-05-15 15:19:34 +0900 | [diff] [blame] | 358 | static struct sh_machine_vector mv_highlander __initmv = { |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 359 | .mv_name = "Highlander", |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 360 | .mv_setup = highlander_setup, |
| 361 | .mv_init_irq = highlander_init_irq, |
Magnus Damm | 897cfcd8 | 2007-09-10 12:06:03 +0900 | [diff] [blame] | 362 | .mv_irq_demux = highlander_irq_demux, |
Paul Mundt | 2c7834a | 2006-09-27 18:17:31 +0900 | [diff] [blame] | 363 | }; |