adssphere.c 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * arch/arm/mach-ep93xx/adssphere.c
  3. * ADS Sphere support.
  4. *
  5. * Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or (at
  10. * your option) any later version.
  11. */
  12. #include <linux/kernel.h>
  13. #include <linux/init.h>
  14. #include <linux/platform_device.h>
  15. #include <mach/hardware.h>
  16. #include <asm/mach-types.h>
  17. #include <asm/mach/arch.h>
  18. static struct ep93xx_eth_data __initdata adssphere_eth_data = {
  19. .phy_id = 1,
  20. };
  21. static void __init adssphere_init_machine(void)
  22. {
  23. ep93xx_init_devices();
  24. ep93xx_register_flash(4, EP93XX_CS6_PHYS_BASE, SZ_32M);
  25. ep93xx_register_eth(&adssphere_eth_data, 1);
  26. }
  27. MACHINE_START(ADSSPHERE, "ADS Sphere board")
  28. /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
  29. .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
  30. .map_io = ep93xx_map_io,
  31. .init_irq = ep93xx_init_irq,
  32. .timer = &ep93xx_timer,
  33. .init_machine = adssphere_init_machine,
  34. MACHINE_END