hardware.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. * hardware.h
  3. *
  4. * hardware specific header
  5. *
  6. * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
  16. * GNU General Public License for more details.
  17. */
  18. #ifndef __AM33XX_HARDWARE_H
  19. #define __AM33XX_HARDWARE_H
  20. /* Module base addresses */
  21. #define LOW_LEVEL_SRAM_STACK 0x4030B7FC
  22. #define UART0_BASE 0x44E09000
  23. /* DM Timer base addresses */
  24. #define DM_TIMER0_BASE 0x4802C000
  25. #define DM_TIMER1_BASE 0x4802E000
  26. #define DM_TIMER2_BASE 0x48040000
  27. #define DM_TIMER3_BASE 0x48042000
  28. #define DM_TIMER4_BASE 0x48044000
  29. #define DM_TIMER5_BASE 0x48046000
  30. #define DM_TIMER6_BASE 0x48048000
  31. #define DM_TIMER7_BASE 0x4804A000
  32. /* GPIO Base address */
  33. #define GPIO0_BASE 0x48032000
  34. #define GPIO1_BASE 0x4804C000
  35. #define GPIO2_BASE 0x481AC000
  36. /* BCH Error Location Module */
  37. #define ELM_BASE 0x48080000
  38. /* Watchdog Timer */
  39. #define WDT_BASE 0x44E35000
  40. /* Control Module Base Address */
  41. #define CTRL_BASE 0x44E10000
  42. /* PRCM Base Address */
  43. #define PRCM_BASE 0x44E00000
  44. /* EMIF Base address */
  45. #define EMIF4_0_CFG_BASE 0x4C000000
  46. #define EMIF4_1_CFG_BASE 0x4D000000
  47. #define DMM_BASE 0x4E000000
  48. /* PLL related registers */
  49. #define CM_PER 0x44E00000
  50. #define CM_WKUP 0x44E00400
  51. #define CM_DPLL 0x44E00500
  52. #define CM_DEVICE 0x44E00700
  53. #define CM_CEFUSE 0x44E00A00
  54. #define PRM_DEVICE 0x44E00F00
  55. /* VTP Base address */
  56. #define VTP0_CTRL_ADDR 0x44E10E0C
  57. /* DDR Base address */
  58. #define DDR_CTRL_ADDR 0x44E10E04
  59. #define DDR_CONTROL_BASE_ADDR 0x44E11404
  60. #define DDR_PHY_BASE_ADDR 0x44E12000
  61. #define DDR_PHY_BASE_ADDR2 0x44E120A4
  62. /* UART */
  63. #define DEFAULT_UART_BASE UART0_BASE
  64. #define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400)
  65. #define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE
  66. #endif /* __AM33XX_HARDWARE_H */