Matt Porter | 57da666 | 2013-03-15 10:07:04 +0000 | [diff] [blame] | 1 | /* |
| 2 | * hardware_ti814x.h |
| 3 | * |
| 4 | * TI814x hardware specific header |
| 5 | * |
| 6 | * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/ |
| 7 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
Matt Porter | 57da666 | 2013-03-15 10:07:04 +0000 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef __AM33XX_HARDWARE_TI814X_H |
| 12 | #define __AM33XX_HARDWARE_TI814X_H |
| 13 | |
Matt Porter | 691fbe3 | 2013-03-15 10:07:06 +0000 | [diff] [blame] | 14 | /* Module base addresses */ |
| 15 | |
| 16 | /* UART Base Address */ |
| 17 | #define UART0_BASE 0x48020000 |
| 18 | |
| 19 | /* Watchdog Timer */ |
| 20 | #define WDT_BASE 0x481C7000 |
| 21 | |
| 22 | /* Control Module Base Address */ |
| 23 | #define CTRL_BASE 0x48140000 |
Matt Porter | d4f2409 | 2013-03-20 05:38:11 +0000 | [diff] [blame] | 24 | #define CTRL_DEVICE_BASE 0x48140600 |
Matt Porter | 691fbe3 | 2013-03-15 10:07:06 +0000 | [diff] [blame] | 25 | |
| 26 | /* PRCM Base Address */ |
| 27 | #define PRCM_BASE 0x48180000 |
Lokesh Vutla | 83269d0 | 2013-07-30 11:36:28 +0530 | [diff] [blame] | 28 | #define CM_PER 0x44E00000 |
| 29 | #define CM_WKUP 0x44E00400 |
| 30 | |
| 31 | #define PRM_RSTCTRL (PRCM_BASE + 0x00A0) |
| 32 | #define PRM_RSTST (PRM_RSTCTRL + 8) |
Matt Porter | 691fbe3 | 2013-03-15 10:07:06 +0000 | [diff] [blame] | 33 | |
| 34 | /* PLL Subsystem Base Address */ |
| 35 | #define PLL_SUBSYS_BASE 0x481C5000 |
| 36 | |
Matt Porter | 57da666 | 2013-03-15 10:07:04 +0000 | [diff] [blame] | 37 | /* VTP Base address */ |
| 38 | #define VTP0_CTRL_ADDR 0x48140E0C |
TENART Antoine | 35c7e52 | 2013-07-02 12:05:59 +0200 | [diff] [blame] | 39 | #define VTP1_CTRL_ADDR 0x48140E10 |
Matt Porter | 57da666 | 2013-03-15 10:07:04 +0000 | [diff] [blame] | 40 | |
| 41 | /* DDR Base address */ |
| 42 | #define DDR_PHY_CMD_ADDR 0x47C0C400 |
| 43 | #define DDR_PHY_DATA_ADDR 0x47C0C4C8 |
TENART Antoine | 35c7e52 | 2013-07-02 12:05:59 +0200 | [diff] [blame] | 44 | #define DDR_PHY_CMD_ADDR2 0x47C0C800 |
| 45 | #define DDR_PHY_DATA_ADDR2 0x47C0C8C8 |
Matt Porter | 57da666 | 2013-03-15 10:07:04 +0000 | [diff] [blame] | 46 | #define DDR_DATA_REGS_NR 4 |
| 47 | |
TENART Antoine | 35c7e52 | 2013-07-02 12:05:59 +0200 | [diff] [blame] | 48 | #define DDRPHY_0_CONFIG_BASE (CTRL_BASE + 0x1400) |
| 49 | #define DDRPHY_CONFIG_BASE DDRPHY_0_CONFIG_BASE |
| 50 | |
Matt Porter | 691fbe3 | 2013-03-15 10:07:06 +0000 | [diff] [blame] | 51 | /* CPSW Config space */ |
| 52 | #define CPSW_MDIO_BASE 0x4A100800 |
| 53 | |
| 54 | /* RTC base address */ |
| 55 | #define RTC_BASE 0x480C0000 |
| 56 | |
Lokesh Vutla | 83269d0 | 2013-07-30 11:36:28 +0530 | [diff] [blame] | 57 | /* OTG */ |
| 58 | #define USB0_OTG_BASE 0x47401000 |
| 59 | #define USB1_OTG_BASE 0x47401800 |
| 60 | |
Matt Porter | 57da666 | 2013-03-15 10:07:04 +0000 | [diff] [blame] | 61 | #endif /* __AM33XX_HARDWARE_TI814X_H */ |