blob: 303c594d22237aae93c66ac482fd45593f3e72c8 [file] [log] [blame]
Lokesh Vutla83269d02013-07-30 11:36:28 +05301/*
2 * hardware_am43xx.h
3 *
4 * AM43xx hardware specific header
5 *
6 * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
7 *
8 * SPDX-License-Identifier: GPL-2.0+
9 */
10
11#ifndef __AM43XX_HARDWARE_AM43XX_H
12#define __AM43XX_HARDWARE_AM43XX_H
13
14/* Module base addresses */
15
16/* UART Base Address */
17#define UART0_BASE 0x44E09000
18
19/* GPIO Base address */
20#define GPIO2_BASE 0x481AC000
21
22/* Watchdog Timer */
23#define WDT_BASE 0x44E35000
24
25/* Control Module Base Address */
26#define CTRL_BASE 0x44E10000
27#define CTRL_DEVICE_BASE 0x44E10600
28
29/* PRCM Base Address */
30#define PRCM_BASE 0x44DF0000
31#define CM_WKUP 0x44DF2800
32#define CM_PER 0x44DF8800
33
34#define PRM_RSTCTRL (PRCM_BASE + 0x4000)
35#define PRM_RSTST (PRM_RSTCTRL + 4)
36
37/* VTP Base address */
38#define VTP0_CTRL_ADDR 0x44E10E0C
TENART Antoine35c7e522013-07-02 12:05:59 +020039#define VTP1_CTRL_ADDR 0x48140E10
Lokesh Vutla83269d02013-07-30 11:36:28 +053040
41/* DDR Base address */
42#define DDR_PHY_CMD_ADDR 0x44E12000
43#define DDR_PHY_DATA_ADDR 0x44E120C8
TENART Antoine35c7e522013-07-02 12:05:59 +020044#define DDR_PHY_CMD_ADDR2 0x47C0C800
45#define DDR_PHY_DATA_ADDR2 0x47C0C8C8
Lokesh Vutla83269d02013-07-30 11:36:28 +053046#define DDR_DATA_REGS_NR 2
47
48/* CPSW Config space */
49#define CPSW_MDIO_BASE 0x4A101000
50
51/* RTC base address */
52#define RTC_BASE 0x44E3E000
53
54#endif /* __AM43XX_HARDWARE_AM43XX_H */