integrator_cp.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. /*
  2. * linux/arch/arm/mach-integrator/integrator_cp.c
  3. *
  4. * Copyright (C) 2003 Deep Blue Solutions Ltd
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License.
  9. */
  10. #include <linux/types.h>
  11. #include <linux/kernel.h>
  12. #include <linux/init.h>
  13. #include <linux/list.h>
  14. #include <linux/platform_device.h>
  15. #include <linux/dma-mapping.h>
  16. #include <linux/string.h>
  17. #include <linux/sysdev.h>
  18. #include <linux/amba/bus.h>
  19. #include <linux/amba/kmi.h>
  20. #include <linux/amba/clcd.h>
  21. #include <linux/amba/mmci.h>
  22. #include <linux/io.h>
  23. #include <linux/gfp.h>
  24. #include <linux/clkdev.h>
  25. #include <mach/hardware.h>
  26. #include <mach/platform.h>
  27. #include <asm/irq.h>
  28. #include <asm/setup.h>
  29. #include <asm/mach-types.h>
  30. #include <asm/hardware/arm_timer.h>
  31. #include <asm/hardware/icst.h>
  32. #include <mach/cm.h>
  33. #include <mach/lm.h>
  34. #include <asm/mach/arch.h>
  35. #include <asm/mach/flash.h>
  36. #include <asm/mach/irq.h>
  37. #include <asm/mach/map.h>
  38. #include <asm/mach/time.h>
  39. #include <asm/hardware/timer-sp.h>
  40. #include "common.h"
  41. #define INTCP_PA_FLASH_BASE 0x24000000
  42. #define INTCP_FLASH_SIZE SZ_32M
  43. #define INTCP_PA_CLCD_BASE 0xc0000000
  44. #define INTCP_VA_CIC_BASE IO_ADDRESS(INTEGRATOR_HDR_BASE + 0x40)
  45. #define INTCP_VA_PIC_BASE IO_ADDRESS(INTEGRATOR_IC_BASE)
  46. #define INTCP_VA_SIC_BASE IO_ADDRESS(INTEGRATOR_CP_SIC_BASE)
  47. #define INTCP_ETH_SIZE 0x10
  48. #define INTCP_VA_CTRL_BASE IO_ADDRESS(INTEGRATOR_CP_CTL_BASE)
  49. #define INTCP_FLASHPROG 0x04
  50. #define CINTEGRATOR_FLASHPROG_FLVPPEN (1 << 0)
  51. #define CINTEGRATOR_FLASHPROG_FLWREN (1 << 1)
  52. /*
  53. * Logical Physical
  54. * f1000000 10000000 Core module registers
  55. * f1100000 11000000 System controller registers
  56. * f1200000 12000000 EBI registers
  57. * f1300000 13000000 Counter/Timer
  58. * f1400000 14000000 Interrupt controller
  59. * f1600000 16000000 UART 0
  60. * f1700000 17000000 UART 1
  61. * f1a00000 1a000000 Debug LEDs
  62. * fc900000 c9000000 GPIO
  63. * fca00000 ca000000 SIC
  64. * fcb00000 cb000000 CP system control
  65. */
  66. static struct map_desc intcp_io_desc[] __initdata = {
  67. {
  68. .virtual = IO_ADDRESS(INTEGRATOR_HDR_BASE),
  69. .pfn = __phys_to_pfn(INTEGRATOR_HDR_BASE),
  70. .length = SZ_4K,
  71. .type = MT_DEVICE
  72. }, {
  73. .virtual = IO_ADDRESS(INTEGRATOR_SC_BASE),
  74. .pfn = __phys_to_pfn(INTEGRATOR_SC_BASE),
  75. .length = SZ_4K,
  76. .type = MT_DEVICE
  77. }, {
  78. .virtual = IO_ADDRESS(INTEGRATOR_EBI_BASE),
  79. .pfn = __phys_to_pfn(INTEGRATOR_EBI_BASE),
  80. .length = SZ_4K,
  81. .type = MT_DEVICE
  82. }, {
  83. .virtual = IO_ADDRESS(INTEGRATOR_CT_BASE),
  84. .pfn = __phys_to_pfn(INTEGRATOR_CT_BASE),
  85. .length = SZ_4K,
  86. .type = MT_DEVICE
  87. }, {
  88. .virtual = IO_ADDRESS(INTEGRATOR_IC_BASE),
  89. .pfn = __phys_to_pfn(INTEGRATOR_IC_BASE),
  90. .length = SZ_4K,
  91. .type = MT_DEVICE
  92. }, {
  93. .virtual = IO_ADDRESS(INTEGRATOR_UART0_BASE),
  94. .pfn = __phys_to_pfn(INTEGRATOR_UART0_BASE),
  95. .length = SZ_4K,
  96. .type = MT_DEVICE
  97. }, {
  98. .virtual = IO_ADDRESS(INTEGRATOR_UART1_BASE),
  99. .pfn = __phys_to_pfn(INTEGRATOR_UART1_BASE),
  100. .length = SZ_4K,
  101. .type = MT_DEVICE
  102. }, {
  103. .virtual = IO_ADDRESS(INTEGRATOR_DBG_BASE),
  104. .pfn = __phys_to_pfn(INTEGRATOR_DBG_BASE),
  105. .length = SZ_4K,
  106. .type = MT_DEVICE
  107. }, {
  108. .virtual = IO_ADDRESS(INTEGRATOR_CP_GPIO_BASE),
  109. .pfn = __phys_to_pfn(INTEGRATOR_CP_GPIO_BASE),
  110. .length = SZ_4K,
  111. .type = MT_DEVICE
  112. }, {
  113. .virtual = IO_ADDRESS(INTEGRATOR_CP_SIC_BASE),
  114. .pfn = __phys_to_pfn(INTEGRATOR_CP_SIC_BASE),
  115. .length = SZ_4K,
  116. .type = MT_DEVICE
  117. }, {
  118. .virtual = IO_ADDRESS(INTEGRATOR_CP_CTL_BASE),
  119. .pfn = __phys_to_pfn(INTEGRATOR_CP_CTL_BASE),
  120. .length = SZ_4K,
  121. .type = MT_DEVICE
  122. }
  123. };
  124. static void __init intcp_map_io(void)
  125. {
  126. iotable_init(intcp_io_desc, ARRAY_SIZE(intcp_io_desc));
  127. }
  128. #define cic_writel __raw_writel
  129. #define cic_readl __raw_readl
  130. #define pic_writel __raw_writel
  131. #define pic_readl __raw_readl
  132. #define sic_writel __raw_writel
  133. #define sic_readl __raw_readl
  134. static void cic_mask_irq(struct irq_data *d)
  135. {
  136. unsigned int irq = d->irq - IRQ_CIC_START;
  137. cic_writel(1 << irq, INTCP_VA_CIC_BASE + IRQ_ENABLE_CLEAR);
  138. }
  139. static void cic_unmask_irq(struct irq_data *d)
  140. {
  141. unsigned int irq = d->irq - IRQ_CIC_START;
  142. cic_writel(1 << irq, INTCP_VA_CIC_BASE + IRQ_ENABLE_SET);
  143. }
  144. static struct irq_chip cic_chip = {
  145. .name = "CIC",
  146. .irq_ack = cic_mask_irq,
  147. .irq_mask = cic_mask_irq,
  148. .irq_unmask = cic_unmask_irq,
  149. };
  150. static void pic_mask_irq(struct irq_data *d)
  151. {
  152. unsigned int irq = d->irq - IRQ_PIC_START;
  153. pic_writel(1 << irq, INTCP_VA_PIC_BASE + IRQ_ENABLE_CLEAR);
  154. }
  155. static void pic_unmask_irq(struct irq_data *d)
  156. {
  157. unsigned int irq = d->irq - IRQ_PIC_START;
  158. pic_writel(1 << irq, INTCP_VA_PIC_BASE + IRQ_ENABLE_SET);
  159. }
  160. static struct irq_chip pic_chip = {
  161. .name = "PIC",
  162. .irq_ack = pic_mask_irq,
  163. .irq_mask = pic_mask_irq,
  164. .irq_unmask = pic_unmask_irq,
  165. };
  166. static void sic_mask_irq(struct irq_data *d)
  167. {
  168. unsigned int irq = d->irq - IRQ_SIC_START;
  169. sic_writel(1 << irq, INTCP_VA_SIC_BASE + IRQ_ENABLE_CLEAR);
  170. }
  171. static void sic_unmask_irq(struct irq_data *d)
  172. {
  173. unsigned int irq = d->irq - IRQ_SIC_START;
  174. sic_writel(1 << irq, INTCP_VA_SIC_BASE + IRQ_ENABLE_SET);
  175. }
  176. static struct irq_chip sic_chip = {
  177. .name = "SIC",
  178. .irq_ack = sic_mask_irq,
  179. .irq_mask = sic_mask_irq,
  180. .irq_unmask = sic_unmask_irq,
  181. };
  182. static void
  183. sic_handle_irq(unsigned int irq, struct irq_desc *desc)
  184. {
  185. unsigned long status = sic_readl(INTCP_VA_SIC_BASE + IRQ_STATUS);
  186. if (status == 0) {
  187. do_bad_IRQ(irq, desc);
  188. return;
  189. }
  190. do {
  191. irq = ffs(status) - 1;
  192. status &= ~(1 << irq);
  193. irq += IRQ_SIC_START;
  194. generic_handle_irq(irq);
  195. } while (status);
  196. }
  197. static void __init intcp_init_irq(void)
  198. {
  199. unsigned int i;
  200. /*
  201. * Disable all interrupt sources
  202. */
  203. pic_writel(0xffffffff, INTCP_VA_PIC_BASE + IRQ_ENABLE_CLEAR);
  204. pic_writel(0xffffffff, INTCP_VA_PIC_BASE + FIQ_ENABLE_CLEAR);
  205. for (i = IRQ_PIC_START; i <= IRQ_PIC_END; i++) {
  206. if (i == 11)
  207. i = 22;
  208. if (i == 29)
  209. break;
  210. set_irq_chip(i, &pic_chip);
  211. set_irq_handler(i, handle_level_irq);
  212. set_irq_flags(i, IRQF_VALID | IRQF_PROBE);
  213. }
  214. cic_writel(0xffffffff, INTCP_VA_CIC_BASE + IRQ_ENABLE_CLEAR);
  215. cic_writel(0xffffffff, INTCP_VA_CIC_BASE + FIQ_ENABLE_CLEAR);
  216. for (i = IRQ_CIC_START; i <= IRQ_CIC_END; i++) {
  217. set_irq_chip(i, &cic_chip);
  218. set_irq_handler(i, handle_level_irq);
  219. set_irq_flags(i, IRQF_VALID);
  220. }
  221. sic_writel(0x00000fff, INTCP_VA_SIC_BASE + IRQ_ENABLE_CLEAR);
  222. sic_writel(0x00000fff, INTCP_VA_SIC_BASE + FIQ_ENABLE_CLEAR);
  223. for (i = IRQ_SIC_START; i <= IRQ_SIC_END; i++) {
  224. set_irq_chip(i, &sic_chip);
  225. set_irq_handler(i, handle_level_irq);
  226. set_irq_flags(i, IRQF_VALID | IRQF_PROBE);
  227. }
  228. set_irq_chained_handler(IRQ_CP_CPPLDINT, sic_handle_irq);
  229. }
  230. /*
  231. * Clock handling
  232. */
  233. #define CM_LOCK (__io_address(INTEGRATOR_HDR_BASE)+INTEGRATOR_HDR_LOCK_OFFSET)
  234. #define CM_AUXOSC (__io_address(INTEGRATOR_HDR_BASE)+0x1c)
  235. static const struct icst_params cp_auxvco_params = {
  236. .ref = 24000000,
  237. .vco_max = ICST525_VCO_MAX_5V,
  238. .vco_min = ICST525_VCO_MIN,
  239. .vd_min = 8,
  240. .vd_max = 263,
  241. .rd_min = 3,
  242. .rd_max = 65,
  243. .s2div = icst525_s2div,
  244. .idx2s = icst525_idx2s,
  245. };
  246. static void cp_auxvco_set(struct clk *clk, struct icst_vco vco)
  247. {
  248. u32 val;
  249. val = readl(clk->vcoreg) & ~0x7ffff;
  250. val |= vco.v | (vco.r << 9) | (vco.s << 16);
  251. writel(0xa05f, CM_LOCK);
  252. writel(val, clk->vcoreg);
  253. writel(0, CM_LOCK);
  254. }
  255. static const struct clk_ops cp_auxclk_ops = {
  256. .round = icst_clk_round,
  257. .set = icst_clk_set,
  258. .setvco = cp_auxvco_set,
  259. };
  260. static struct clk cp_auxclk = {
  261. .ops = &cp_auxclk_ops,
  262. .params = &cp_auxvco_params,
  263. .vcoreg = CM_AUXOSC,
  264. };
  265. static struct clk_lookup cp_lookups[] = {
  266. { /* CLCD */
  267. .dev_id = "mb:c0",
  268. .clk = &cp_auxclk,
  269. },
  270. };
  271. /*
  272. * Flash handling.
  273. */
  274. static int intcp_flash_init(void)
  275. {
  276. u32 val;
  277. val = readl(INTCP_VA_CTRL_BASE + INTCP_FLASHPROG);
  278. val |= CINTEGRATOR_FLASHPROG_FLWREN;
  279. writel(val, INTCP_VA_CTRL_BASE + INTCP_FLASHPROG);
  280. return 0;
  281. }
  282. static void intcp_flash_exit(void)
  283. {
  284. u32 val;
  285. val = readl(INTCP_VA_CTRL_BASE + INTCP_FLASHPROG);
  286. val &= ~(CINTEGRATOR_FLASHPROG_FLVPPEN|CINTEGRATOR_FLASHPROG_FLWREN);
  287. writel(val, INTCP_VA_CTRL_BASE + INTCP_FLASHPROG);
  288. }
  289. static void intcp_flash_set_vpp(int on)
  290. {
  291. u32 val;
  292. val = readl(INTCP_VA_CTRL_BASE + INTCP_FLASHPROG);
  293. if (on)
  294. val |= CINTEGRATOR_FLASHPROG_FLVPPEN;
  295. else
  296. val &= ~CINTEGRATOR_FLASHPROG_FLVPPEN;
  297. writel(val, INTCP_VA_CTRL_BASE + INTCP_FLASHPROG);
  298. }
  299. static struct flash_platform_data intcp_flash_data = {
  300. .map_name = "cfi_probe",
  301. .width = 4,
  302. .init = intcp_flash_init,
  303. .exit = intcp_flash_exit,
  304. .set_vpp = intcp_flash_set_vpp,
  305. };
  306. static struct resource intcp_flash_resource = {
  307. .start = INTCP_PA_FLASH_BASE,
  308. .end = INTCP_PA_FLASH_BASE + INTCP_FLASH_SIZE - 1,
  309. .flags = IORESOURCE_MEM,
  310. };
  311. static struct platform_device intcp_flash_device = {
  312. .name = "armflash",
  313. .id = 0,
  314. .dev = {
  315. .platform_data = &intcp_flash_data,
  316. },
  317. .num_resources = 1,
  318. .resource = &intcp_flash_resource,
  319. };
  320. static struct resource smc91x_resources[] = {
  321. [0] = {
  322. .start = INTEGRATOR_CP_ETH_BASE,
  323. .end = INTEGRATOR_CP_ETH_BASE + INTCP_ETH_SIZE - 1,
  324. .flags = IORESOURCE_MEM,
  325. },
  326. [1] = {
  327. .start = IRQ_CP_ETHINT,
  328. .end = IRQ_CP_ETHINT,
  329. .flags = IORESOURCE_IRQ,
  330. },
  331. };
  332. static struct platform_device smc91x_device = {
  333. .name = "smc91x",
  334. .id = 0,
  335. .num_resources = ARRAY_SIZE(smc91x_resources),
  336. .resource = smc91x_resources,
  337. };
  338. static struct platform_device *intcp_devs[] __initdata = {
  339. &intcp_flash_device,
  340. &smc91x_device,
  341. };
  342. /*
  343. * It seems that the card insertion interrupt remains active after
  344. * we've acknowledged it. We therefore ignore the interrupt, and
  345. * rely on reading it from the SIC. This also means that we must
  346. * clear the latched interrupt.
  347. */
  348. static unsigned int mmc_status(struct device *dev)
  349. {
  350. unsigned int status = readl(IO_ADDRESS(0xca000000 + 4));
  351. writel(8, IO_ADDRESS(INTEGRATOR_CP_CTL_BASE + 8));
  352. return status & 8;
  353. }
  354. static struct mmci_platform_data mmc_data = {
  355. .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
  356. .status = mmc_status,
  357. .gpio_wp = -1,
  358. .gpio_cd = -1,
  359. };
  360. static struct amba_device mmc_device = {
  361. .dev = {
  362. .init_name = "mb:1c",
  363. .platform_data = &mmc_data,
  364. },
  365. .res = {
  366. .start = INTEGRATOR_CP_MMC_BASE,
  367. .end = INTEGRATOR_CP_MMC_BASE + SZ_4K - 1,
  368. .flags = IORESOURCE_MEM,
  369. },
  370. .irq = { IRQ_CP_MMCIINT0, IRQ_CP_MMCIINT1 },
  371. .periphid = 0,
  372. };
  373. static struct amba_device aaci_device = {
  374. .dev = {
  375. .init_name = "mb:1d",
  376. },
  377. .res = {
  378. .start = INTEGRATOR_CP_AACI_BASE,
  379. .end = INTEGRATOR_CP_AACI_BASE + SZ_4K - 1,
  380. .flags = IORESOURCE_MEM,
  381. },
  382. .irq = { IRQ_CP_AACIINT, NO_IRQ },
  383. .periphid = 0,
  384. };
  385. /*
  386. * CLCD support
  387. */
  388. static struct clcd_panel vga = {
  389. .mode = {
  390. .name = "VGA",
  391. .refresh = 60,
  392. .xres = 640,
  393. .yres = 480,
  394. .pixclock = 39721,
  395. .left_margin = 40,
  396. .right_margin = 24,
  397. .upper_margin = 32,
  398. .lower_margin = 11,
  399. .hsync_len = 96,
  400. .vsync_len = 2,
  401. .sync = 0,
  402. .vmode = FB_VMODE_NONINTERLACED,
  403. },
  404. .width = -1,
  405. .height = -1,
  406. .tim2 = TIM2_BCD | TIM2_IPC,
  407. .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1),
  408. .bpp = 16,
  409. .grayscale = 0,
  410. };
  411. /*
  412. * Ensure VGA is selected.
  413. */
  414. static void cp_clcd_enable(struct clcd_fb *fb)
  415. {
  416. u32 val;
  417. if (fb->fb.var.bits_per_pixel <= 8)
  418. val = CM_CTRL_LCDMUXSEL_VGA_8421BPP;
  419. else if (fb->fb.var.bits_per_pixel <= 16)
  420. val = CM_CTRL_LCDMUXSEL_VGA_16BPP
  421. | CM_CTRL_LCDEN0 | CM_CTRL_LCDEN1
  422. | CM_CTRL_STATIC1 | CM_CTRL_STATIC2;
  423. else
  424. val = 0; /* no idea for this, don't trust the docs */
  425. cm_control(CM_CTRL_LCDMUXSEL_MASK|
  426. CM_CTRL_LCDEN0|
  427. CM_CTRL_LCDEN1|
  428. CM_CTRL_STATIC1|
  429. CM_CTRL_STATIC2|
  430. CM_CTRL_STATIC|
  431. CM_CTRL_n24BITEN, val);
  432. }
  433. static unsigned long framesize = SZ_1M;
  434. static int cp_clcd_setup(struct clcd_fb *fb)
  435. {
  436. dma_addr_t dma;
  437. fb->panel = &vga;
  438. fb->fb.screen_base = dma_alloc_writecombine(&fb->dev->dev, framesize,
  439. &dma, GFP_KERNEL);
  440. if (!fb->fb.screen_base) {
  441. printk(KERN_ERR "CLCD: unable to map framebuffer\n");
  442. return -ENOMEM;
  443. }
  444. fb->fb.fix.smem_start = dma;
  445. fb->fb.fix.smem_len = framesize;
  446. return 0;
  447. }
  448. static int cp_clcd_mmap(struct clcd_fb *fb, struct vm_area_struct *vma)
  449. {
  450. return dma_mmap_writecombine(&fb->dev->dev, vma,
  451. fb->fb.screen_base,
  452. fb->fb.fix.smem_start,
  453. fb->fb.fix.smem_len);
  454. }
  455. static void cp_clcd_remove(struct clcd_fb *fb)
  456. {
  457. dma_free_writecombine(&fb->dev->dev, fb->fb.fix.smem_len,
  458. fb->fb.screen_base, fb->fb.fix.smem_start);
  459. }
  460. static struct clcd_board clcd_data = {
  461. .name = "Integrator/CP",
  462. .check = clcdfb_check,
  463. .decode = clcdfb_decode,
  464. .enable = cp_clcd_enable,
  465. .setup = cp_clcd_setup,
  466. .mmap = cp_clcd_mmap,
  467. .remove = cp_clcd_remove,
  468. };
  469. static struct amba_device clcd_device = {
  470. .dev = {
  471. .init_name = "mb:c0",
  472. .coherent_dma_mask = ~0,
  473. .platform_data = &clcd_data,
  474. },
  475. .res = {
  476. .start = INTCP_PA_CLCD_BASE,
  477. .end = INTCP_PA_CLCD_BASE + SZ_4K - 1,
  478. .flags = IORESOURCE_MEM,
  479. },
  480. .dma_mask = ~0,
  481. .irq = { IRQ_CP_CLCDCINT, NO_IRQ },
  482. .periphid = 0,
  483. };
  484. static struct amba_device *amba_devs[] __initdata = {
  485. &mmc_device,
  486. &aaci_device,
  487. &clcd_device,
  488. };
  489. static void __init intcp_init(void)
  490. {
  491. int i;
  492. clkdev_add_table(cp_lookups, ARRAY_SIZE(cp_lookups));
  493. platform_add_devices(intcp_devs, ARRAY_SIZE(intcp_devs));
  494. for (i = 0; i < ARRAY_SIZE(amba_devs); i++) {
  495. struct amba_device *d = amba_devs[i];
  496. amba_device_register(d, &iomem_resource);
  497. }
  498. }
  499. #define TIMER0_VA_BASE __io_address(INTEGRATOR_TIMER0_BASE)
  500. #define TIMER1_VA_BASE __io_address(INTEGRATOR_TIMER1_BASE)
  501. #define TIMER2_VA_BASE __io_address(INTEGRATOR_TIMER2_BASE)
  502. static void __init intcp_timer_init(void)
  503. {
  504. writel(0, TIMER0_VA_BASE + TIMER_CTRL);
  505. writel(0, TIMER1_VA_BASE + TIMER_CTRL);
  506. writel(0, TIMER2_VA_BASE + TIMER_CTRL);
  507. sp804_clocksource_init(TIMER2_VA_BASE);
  508. sp804_clockevents_init(TIMER1_VA_BASE, IRQ_TIMERINT1);
  509. }
  510. static struct sys_timer cp_timer = {
  511. .init = intcp_timer_init,
  512. };
  513. MACHINE_START(CINTEGRATOR, "ARM-IntegratorCP")
  514. /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */
  515. .boot_params = 0x00000100,
  516. .map_io = intcp_map_io,
  517. .reserve = integrator_reserve,
  518. .init_irq = intcp_init_irq,
  519. .timer = &cp_timer,
  520. .init_machine = intcp_init,
  521. MACHINE_END