]>
Commit | Line | Data |
---|---|---|
b43c17cb MP |
1 | /* |
2 | * hardware_am33xx.h | |
3 | * | |
4 | * AM33xx hardware specific header | |
5 | * | |
6 | * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/ | |
7 | * | |
1a459660 | 8 | * SPDX-License-Identifier: GPL-2.0+ |
b43c17cb MP |
9 | */ |
10 | ||
11 | #ifndef __AM33XX_HARDWARE_AM33XX_H | |
12 | #define __AM33XX_HARDWARE_AM33XX_H | |
13 | ||
8b029f22 MP |
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 0x44E00000 | |
c06e498a LV |
31 | #define CM_PER 0x44E00000 |
32 | #define CM_WKUP 0x44E00400 | |
7ca1b2a2 LV |
33 | #define CM_DPLL 0x44E00500 |
34 | #define CM_RTC 0x44E00800 | |
c06e498a LV |
35 | |
36 | #define PRM_RSTCTRL (PRCM_BASE + 0x0F00) | |
37 | #define PRM_RSTST (PRM_RSTCTRL + 8) | |
8b029f22 | 38 | |
b43c17cb MP |
39 | /* VTP Base address */ |
40 | #define VTP0_CTRL_ADDR 0x44E10E0C | |
dcf846d5 | 41 | #define VTP1_CTRL_ADDR 0x48140E10 |
fc46bae2 | 42 | #define PRM_DEVICE_INST 0x44E00F00 |
b43c17cb MP |
43 | |
44 | /* DDR Base address */ | |
45 | #define DDR_PHY_CMD_ADDR 0x44E12000 | |
46 | #define DDR_PHY_DATA_ADDR 0x44E120C8 | |
dcf846d5 TA |
47 | #define DDR_PHY_CMD_ADDR2 0x47C0C800 |
48 | #define DDR_PHY_DATA_ADDR2 0x47C0C8C8 | |
b43c17cb MP |
49 | #define DDR_DATA_REGS_NR 2 |
50 | ||
dcf846d5 TA |
51 | #define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400) |
52 | #define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE | |
53 | ||
8b029f22 MP |
54 | /* CPSW Config space */ |
55 | #define CPSW_MDIO_BASE 0x4A101000 | |
56 | ||
57 | /* RTC base address */ | |
58 | #define RTC_BASE 0x44E3E000 | |
59 | ||
c06e498a LV |
60 | /* OTG */ |
61 | #define USB0_OTG_BASE 0x47401000 | |
62 | #define USB1_OTG_BASE 0x47401800 | |
63 | ||
14c0158b HS |
64 | /* LCD Controller */ |
65 | #define LCD_CNTL_BASE 0x4830E000 | |
66 | ||
67 | /* PWMSS */ | |
68 | #define PWMSS0_BASE 0x48300000 | |
69 | #define AM33XX_ECAP0_BASE 0x48300100 | |
70 | ||
b43c17cb | 71 | #endif /* __AM33XX_HARDWARE_AM33XX_H */ |