blob: e4231c81ad907ade4c27c1ad8fea5b9377c90f60 [file] [log] [blame]
Matt Porter57da6662013-03-15 10:07:04 +00001/*
2 * hardware_am33xx.h
3 *
4 * AM33xx hardware specific header
5 *
6 * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
7 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Matt Porter57da6662013-03-15 10:07:04 +00009 */
10
11#ifndef __AM33XX_HARDWARE_AM33XX_H
12#define __AM33XX_HARDWARE_AM33XX_H
13
Matt Porter691fbe32013-03-15 10:07:06 +000014/* 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 0x44E00000
Lokesh Vutla83269d02013-07-30 11:36:28 +053031#define CM_PER 0x44E00000
32#define CM_WKUP 0x44E00400
33
34#define PRM_RSTCTRL (PRCM_BASE + 0x0F00)
35#define PRM_RSTST (PRM_RSTCTRL + 8)
Matt Porter691fbe32013-03-15 10:07:06 +000036
Matt Porter57da6662013-03-15 10:07:04 +000037/* VTP Base address */
38#define VTP0_CTRL_ADDR 0x44E10E0C
TENART Antoine35c7e522013-07-02 12:05:59 +020039#define VTP1_CTRL_ADDR 0x48140E10
Matt Porter57da6662013-03-15 10:07:04 +000040
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
Matt Porter57da6662013-03-15 10:07:04 +000046#define DDR_DATA_REGS_NR 2
47
TENART Antoine35c7e522013-07-02 12:05:59 +020048#define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400)
49#define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE
50
Matt Porter691fbe32013-03-15 10:07:06 +000051/* CPSW Config space */
52#define CPSW_MDIO_BASE 0x4A101000
53
54/* RTC base address */
55#define RTC_BASE 0x44E3E000
56
Lokesh Vutla83269d02013-07-30 11:36:28 +053057/* OTG */
58#define USB0_OTG_BASE 0x47401000
59#define USB1_OTG_BASE 0x47401800
60
Heiko Schocherc9a8db82013-08-19 16:38:57 +020061/* LCD Controller */
62#define LCD_CNTL_BASE 0x4830E000
63
64/* PWMSS */
65#define PWMSS0_BASE 0x48300000
66#define AM33XX_ECAP0_BASE 0x48300100
67
Matt Porter57da6662013-03-15 10:07:04 +000068#endif /* __AM33XX_HARDWARE_AM33XX_H */