hardware_ti814x.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * hardware_ti814x.h
  4. *
  5. * TI814x hardware specific header
  6. *
  7. * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
  8. */
  9. #ifndef __AM33XX_HARDWARE_TI814X_H
  10. #define __AM33XX_HARDWARE_TI814X_H
  11. /* Module base addresses */
  12. /* UART Base Address */
  13. #define UART0_BASE 0x48020000
  14. /* Watchdog Timer */
  15. #define WDT_BASE 0x481C7000
  16. /* Control Module Base Address */
  17. #define CTRL_BASE 0x48140000
  18. #define CTRL_DEVICE_BASE 0x48140600
  19. /* PRCM Base Address */
  20. #define PRCM_BASE 0x48180000
  21. #define CM_PER 0x44E00000
  22. #define CM_WKUP 0x44E00400
  23. #define PRM_RSTCTRL (PRCM_BASE + 0x00A0)
  24. #define PRM_RSTST (PRM_RSTCTRL + 8)
  25. /* PLL Subsystem Base Address */
  26. #define PLL_SUBSYS_BASE 0x481C5000
  27. /* VTP Base address */
  28. #define VTP0_CTRL_ADDR 0x48140E0C
  29. #define VTP1_CTRL_ADDR 0x48140E10
  30. /* DDR Base address */
  31. #define DDR_PHY_CMD_ADDR 0x47C0C400
  32. #define DDR_PHY_DATA_ADDR 0x47C0C4C8
  33. #define DDR_PHY_CMD_ADDR2 0x47C0C800
  34. #define DDR_PHY_DATA_ADDR2 0x47C0C8C8
  35. #define DDR_DATA_REGS_NR 4
  36. #define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400)
  37. #define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE
  38. /* CPSW Config space */
  39. #define CPSW_MDIO_BASE 0x4A100800
  40. /* RTC base address */
  41. #define RTC_BASE 0x480C0000
  42. /* OTG */
  43. #define USB0_OTG_BASE 0x47401000
  44. #define USB1_OTG_BASE 0x47401800
  45. #endif /* __AM33XX_HARDWARE_TI814X_H */