influenceAnalysisOfCableAging.c 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. * linux/arch/arm/mach-omap2/board-omap3evm.c
  3. *
  4. * Copyright (C) 2008 Texas Instruments
  5. *
  6. * Modified from mach-omap2/board-3430sdp.c
  7. *
  8. * Initial code: Syed Mohammed Khasim
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. #include <linux/kernel.h>
  15. #include <linux/init.h>
  16. #include <linux/platform_device.h>
  17. #include <linux/delay.h>
  18. #include <linux/err.h>
  19. #include <linux/clk.h>
  20. #include <linux/gpio.h>
  21. #include <linux/input.h>
  22. #include <linux/input/matrix_keypad.h>
  23. #include <linux/leds.h>
  24. #include <linux/interrupt.h>
  25. #include <linux/mtd/mtd.h>
  26. #include <linux/mtd/partitions.h>
  27. #include <linux/mtd/nand.h>
  28. #include <linux/spi/spi.h>
  29. #include <linux/spi/ads7846.h>
  30. #include <linux/i2c/twl.h>
  31. #include <linux/usb/otg.h>
  32. #include <linux/usb/musb.h>
  33. #include <linux/usb/nop-usb-xceiv.h>
  34. #include <linux/smsc911x.h>
  35. #include <linux/wl12xx.h>
  36. #include <linux/regulator/fixed.h>
  37. #include <linux/regulator/machine.h>
  38. #include <linux/mmc/host.h>
  39. #include <linux/export.h>
  40. #include <asm/mach-types.h>
  41. #include <asm/mach/arch.h>
  42. #include <asm/mach/map.h>
  43. #include <linux/platform_data/mtd-nand-omap2.h>
  44. #include "common.h"
  45. #include <linux/platform_data/spi-omap2-mcspi.h>
  46. #include <video/omapdss.h>
  47. #include <video/omap-panel-tfp410.h>
  48. #include "soc.h"
  49. #include "mux.h"
  50. #include "sdram-micron-mt46h32m32lf-6.h"
  51. #include "hsmmc.h"
  52. #include "common-board-devices.h"
  53. #include "board-flash.h"
  54. #define NAND_CS 0
  55. #define OMAP3_EVM_TS_GPIO 175
  56. #define OMAP3_EVM_EHCI_VBUS 22
  57. #define OMAP3_EVM_EHCI_SELECT 61
  58. #define OMAP3EVM_ETHR_START 0x2c000000
  59. #define OMAP3EVM_ETHR_SIZE 1024
  60. #define OMAP3EVM_ETHR_ID_REV 0x50
  61. #define OMAP3EVM_ETHR_GPIO_IRQ 176
  62. #define OMAP3EVM_SMSC911X_CS 5
  63. /*
  64. * Eth Reset signal
  65. * 64 = Generation 1 (<=RevD)
  66. * 7 = Generation 2 (>=RevE)
  67. */
  68. #define OMAP3EVM_GEN1_ETHR_GPIO_RST 64