4 * TI816x hardware specific header
6 * Copyright (C) 2013, Adeneo Embedded <www.adeneo-embedded.com>
7 * Antoine Tenart, <atenart@adeneo-embedded.com>
8 * Based on TI-PSP-04.00.02.14
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of
13 * the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
18 * GNU General Public License for more details.
21 #ifndef __AM33XX_HARDWARE_TI816X_H
22 #define __AM33XX_HARDWARE_TI816X_H
25 #define UART0_BASE 0x48020000
26 #define UART1_BASE 0x48022000
27 #define UART2_BASE 0x48024000
30 #define WDT_BASE 0x480C2000
32 /* Control Module Base Address */
33 #define CTRL_BASE 0x48140000
35 /* PRCM Base Address */
36 #define PRCM_BASE 0x48180000
38 #define PRM_RSTCTRL (PRCM_BASE + 0x00A0)
39 #define PRM_RSTST (PRM_RSTCTRL + 8)
41 /* VTP Base address */
42 #define VTP0_CTRL_ADDR 0x48198358
43 #define VTP1_CTRL_ADDR 0x4819A358
45 /* DDR Base address */
46 #define DDR_PHY_CMD_ADDR 0x48198000
47 #define DDR_PHY_DATA_ADDR 0x481980C8
48 #define DDR_PHY_CMD_ADDR2 0x4819A000
49 #define DDR_PHY_DATA_ADDR2 0x4819A0C8
50 #define DDR_DATA_REGS_NR 4
53 #define DDRPHY_0_CONFIG_BASE 0x48198000
54 #define DDRPHY_1_CONFIG_BASE 0x4819A000
55 #define DDRPHY_CONFIG_BASE ((emif == 0) ? \
56 DDRPHY_0_CONFIG_BASE : DDRPHY_1_CONFIG_BASE)
58 /* RTC base address */
59 #define RTC_BASE 0x480C0000
61 #endif /* __AM33XX_HARDWARE_TI816X_H */