2013-03-15 10:07:04 +00:00
|
|
|
/*
|
|
|
|
* hardware_ti814x.h
|
|
|
|
*
|
|
|
|
* TI814x hardware specific header
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2013-03-15 10:07:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __AM33XX_HARDWARE_TI814X_H
|
|
|
|
#define __AM33XX_HARDWARE_TI814X_H
|
|
|
|
|
2013-03-15 10:07:06 +00:00
|
|
|
/* Module base addresses */
|
|
|
|
|
|
|
|
/* UART Base Address */
|
|
|
|
#define UART0_BASE 0x48020000
|
|
|
|
|
|
|
|
/* Watchdog Timer */
|
|
|
|
#define WDT_BASE 0x481C7000
|
|
|
|
|
|
|
|
/* Control Module Base Address */
|
|
|
|
#define CTRL_BASE 0x48140000
|
2013-03-20 05:38:11 +00:00
|
|
|
#define CTRL_DEVICE_BASE 0x48140600
|
2013-03-15 10:07:06 +00:00
|
|
|
|
|
|
|
/* PRCM Base Address */
|
|
|
|
#define PRCM_BASE 0x48180000
|
2013-07-30 06:06:28 +00:00
|
|
|
#define CM_PER 0x44E00000
|
|
|
|
#define CM_WKUP 0x44E00400
|
|
|
|
|
|
|
|
#define PRM_RSTCTRL (PRCM_BASE + 0x00A0)
|
|
|
|
#define PRM_RSTST (PRM_RSTCTRL + 8)
|
2013-03-15 10:07:06 +00:00
|
|
|
|
|
|
|
/* PLL Subsystem Base Address */
|
|
|
|
#define PLL_SUBSYS_BASE 0x481C5000
|
|
|
|
|
2013-03-15 10:07:04 +00:00
|
|
|
/* VTP Base address */
|
|
|
|
#define VTP0_CTRL_ADDR 0x48140E0C
|
2013-07-02 10:05:59 +00:00
|
|
|
#define VTP1_CTRL_ADDR 0x48140E10
|
2013-03-15 10:07:04 +00:00
|
|
|
|
|
|
|
/* DDR Base address */
|
|
|
|
#define DDR_PHY_CMD_ADDR 0x47C0C400
|
|
|
|
#define DDR_PHY_DATA_ADDR 0x47C0C4C8
|
2013-07-02 10:05:59 +00:00
|
|
|
#define DDR_PHY_CMD_ADDR2 0x47C0C800
|
|
|
|
#define DDR_PHY_DATA_ADDR2 0x47C0C8C8
|
2013-03-15 10:07:04 +00:00
|
|
|
#define DDR_DATA_REGS_NR 4
|
|
|
|
|
2013-07-02 10:05:59 +00:00
|
|
|
#define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400)
|
|
|
|
#define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE
|
|
|
|
|
2013-03-15 10:07:06 +00:00
|
|
|
/* CPSW Config space */
|
|
|
|
#define CPSW_MDIO_BASE 0x4A100800
|
|
|
|
|
|
|
|
/* RTC base address */
|
|
|
|
#define RTC_BASE 0x480C0000
|
|
|
|
|
2013-07-30 06:06:28 +00:00
|
|
|
/* OTG */
|
|
|
|
#define USB0_OTG_BASE 0x47401000
|
|
|
|
#define USB1_OTG_BASE 0x47401800
|
|
|
|
|
2013-03-15 10:07:04 +00:00
|
|
|
#endif /* __AM33XX_HARDWARE_TI814X_H */
|