diff options
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx/cpu.h')
| -rw-r--r-- | arch/arm/include/asm/arch-am33xx/cpu.h | 11 | 
1 files changed, 7 insertions, 4 deletions
| diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h index 16e8a8070..3d3a7c8ac 100644 --- a/arch/arm/include/asm/arch-am33xx/cpu.h +++ b/arch/arm/include/asm/arch-am33xx/cpu.h @@ -42,9 +42,10 @@  #define HS_DEVICE			0x2  #define GP_DEVICE			0x3 -/* cpu-id for AM33XX family */ +/* cpu-id for AM33XX and TI81XX family */  #define AM335X				0xB944 -#define DEVICE_ID			0x44E10600 +#define TI81XX				0xB81E +#define DEVICE_ID			(CTRL_BASE + 0x0600)  /* This gives the status of the boot mode pins on the evm */  #define SYSBOOT_MASK			(BIT(0) | BIT(1) | BIT(2)\ @@ -52,9 +53,11 @@  /* Reset control */  #ifdef CONFIG_AM33XX -#define PRM_RSTCTRL			0x44E00F00 -#define PRM_RSTST			0x44E00F08 +#define PRM_RSTCTRL			(PRCM_BASE + 0x0F00) +#elif defined(CONFIG_TI814X) +#define PRM_RSTCTRL			(PRCM_BASE + 0x00A0)  #endif +#define PRM_RSTST			(PRM_RSTCTRL + 8)  #define PRM_RSTCTRL_RESET		0x01  #define PRM_RSTST_WARM_RESET_MASK	0x232 |