blob: b00d592bc31a65559ffeddb58e7cdfdedc9e0140 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Matt Porter57da6662013-03-15 10:07:04 +00002/*
3 * hardware_ti814x.h
4 *
5 * TI814x hardware specific header
6 *
7 * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
Matt Porter57da6662013-03-15 10:07:04 +00008 */
9
10#ifndef __AM33XX_HARDWARE_TI814X_H
11#define __AM33XX_HARDWARE_TI814X_H
12
Matt Porter691fbe32013-03-15 10:07:06 +000013/* Module base addresses */
14
15/* UART Base Address */
16#define UART0_BASE 0x48020000
17
18/* Watchdog Timer */
19#define WDT_BASE 0x481C7000
20
21/* Control Module Base Address */
22#define CTRL_BASE 0x48140000
Matt Porterd4f24092013-03-20 05:38:11 +000023#define CTRL_DEVICE_BASE 0x48140600
Matt Porter691fbe32013-03-15 10:07:06 +000024
25/* PRCM Base Address */
26#define PRCM_BASE 0x48180000
Lokesh Vutla83269d02013-07-30 11:36:28 +053027#define CM_PER 0x44E00000
28#define CM_WKUP 0x44E00400
29
30#define PRM_RSTCTRL (PRCM_BASE + 0x00A0)
31#define PRM_RSTST (PRM_RSTCTRL + 8)
Matt Porter691fbe32013-03-15 10:07:06 +000032
33/* PLL Subsystem Base Address */
34#define PLL_SUBSYS_BASE 0x481C5000
35
Matt Porter57da6662013-03-15 10:07:04 +000036/* VTP Base address */
37#define VTP0_CTRL_ADDR 0x48140E0C
TENART Antoine35c7e522013-07-02 12:05:59 +020038#define VTP1_CTRL_ADDR 0x48140E10
Matt Porter57da6662013-03-15 10:07:04 +000039
40/* DDR Base address */
41#define DDR_PHY_CMD_ADDR 0x47C0C400
42#define DDR_PHY_DATA_ADDR 0x47C0C4C8
TENART Antoine35c7e522013-07-02 12:05:59 +020043#define DDR_PHY_CMD_ADDR2 0x47C0C800
44#define DDR_PHY_DATA_ADDR2 0x47C0C8C8
Matt Porter57da6662013-03-15 10:07:04 +000045#define DDR_DATA_REGS_NR 4
46
TENART Antoine35c7e522013-07-02 12:05:59 +020047#define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400)
48#define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE
49
Matt Porter691fbe32013-03-15 10:07:06 +000050/* CPSW Config space */
51#define CPSW_MDIO_BASE 0x4A100800
52
53/* RTC base address */
54#define RTC_BASE 0x480C0000
55
Lokesh Vutla83269d02013-07-30 11:36:28 +053056/* OTG */
57#define USB0_OTG_BASE 0x47401000
58#define USB1_OTG_BASE 0x47401800
59
Matt Porter57da6662013-03-15 10:07:04 +000060#endif /* __AM33XX_HARDWARE_TI814X_H */