hardware_am33xx.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * hardware_am33xx.h
  4. *
  5. * AM33xx hardware specific header
  6. *
  7. * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
  8. */
  9. #ifndef __AM33XX_HARDWARE_AM33XX_H
  10. #define __AM33XX_HARDWARE_AM33XX_H
  11. /* Module base addresses */
  12. /* UART Base Address */
  13. #define UART0_BASE 0x44E09000
  14. #define UART1_BASE 0x48022000
  15. #define UART2_BASE 0x48024000
  16. #define UART3_BASE 0x481A6000
  17. #define UART4_BASE 0x481A8000
  18. #define UART5_BASE 0x481AA000
  19. /* GPIO Base address */
  20. #define GPIO2_BASE 0x481AC000
  21. /* Watchdog Timer */
  22. #define WDT_BASE 0x44E35000
  23. /* Control Module Base Address */
  24. #define CTRL_BASE 0x44E10000
  25. #define CTRL_DEVICE_BASE 0x44E10600
  26. /* PRCM Base Address */
  27. #define PRCM_BASE 0x44E00000
  28. #define CM_PER 0x44E00000
  29. #define CM_WKUP 0x44E00400
  30. #define CM_DPLL 0x44E00500
  31. #define CM_RTC 0x44E00800
  32. #define PRM_RSTCTRL (PRCM_BASE + 0x0F00)
  33. #define PRM_RSTST (PRM_RSTCTRL + 8)
  34. /* VTP Base address */
  35. #define VTP0_CTRL_ADDR 0x44E10E0C
  36. #define VTP1_CTRL_ADDR 0x48140E10
  37. #define PRM_DEVICE_INST 0x44E00F00
  38. /* DDR Base address */
  39. #define DDR_PHY_CMD_ADDR 0x44E12000
  40. #define DDR_PHY_DATA_ADDR 0x44E120C8
  41. #define DDR_PHY_CMD_ADDR2 0x47C0C800
  42. #define DDR_PHY_DATA_ADDR2 0x47C0C8C8
  43. #define DDR_DATA_REGS_NR 2
  44. #define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400)
  45. #define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE
  46. /* CPSW Config space */
  47. #define CPSW_MDIO_BASE 0x4A101000
  48. /* RTC base address */
  49. #define RTC_BASE 0x44E3E000
  50. /* OTG */
  51. #define USB0_OTG_BASE 0x47401000
  52. #define USB1_OTG_BASE 0x47401800
  53. /* LCD Controller */
  54. #define LCD_CNTL_BASE 0x4830E000
  55. /* PWMSS */
  56. #define PWMSS0_BASE 0x48300000
  57. #define AM33XX_ECAP0_BASE 0x48300100
  58. #define AM33XX_EPWM_BASE 0x48300200
  59. #endif /* __AM33XX_HARDWARE_AM33XX_H */