From 8f6d874f59aa5610022d68fdcf8045d3d00bd953 Mon Sep 17 00:00:00 2001 From: Vincenzo Frascino Date: Tue, 7 Mar 2017 11:02:57 +0000 Subject: [PATCH] arm: soc: beetle: Add regions for mpu configuration This patch adds the regions for the mpu configuration to the soc.h file. Change-Id: Ifd1ce96eeb4731ae01f5171924af92b9e236a3dc Signed-off-by: Vincenzo Frascino Signed-off-by: Marc Moreno --- arch/arm/soc/arm/beetle/soc.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm/soc/arm/beetle/soc.h b/arch/arm/soc/arm/beetle/soc.h index 927ebe8a834..f66049ecb39 100644 --- a/arch/arm/soc/arm/beetle/soc.h +++ b/arch/arm/soc/arm/beetle/soc.h @@ -48,8 +48,12 @@ */ /* Beetle SoC Address space definition */ -#define _BEETLE_APB_BASE 0x40000000 -#define _BEETLE_AHB_BASE 0x40010000 +#define _BEETLE_APB_BASE 0x40000000 +#define _BEETLE_APB_PER_SIZE 0x1000 +#define _BEETLE_APB_FULL_SIZE 0x10000 +#define _BEETLE_AHB_BASE 0x40010000 +#define _BEETLE_AHB_PER_SIZE 0x1000 +#define _BEETLE_AHB_FULL_SIZE 0x10000 /* Beetle SoC AHB peripherals */ #define _BEETLE_GPIO0_BASE (_BEETLE_AHB_BASE + 0x0000) @@ -68,12 +72,21 @@ #define _BEETLE_RTC_BASE (_BEETLE_APB_BASE + 0x6000) #define _BEETLE_I2C0_BASE (_BEETLE_APB_BASE + 0x7000) #define _BEETLE_WDOG_BASE (_BEETLE_APB_BASE + 0x8000) +#define _BEETLE_EFLASH_BASE (_BEETLE_APB_BASE + 0x9000) #define _BEETLE_QSPI_BASE (_BEETLE_APB_BASE + 0xB000) #define _BEETLE_SPI0_BASE (_BEETLE_APB_BASE + 0xC000) #define _BEETLE_SPI1_BASE (_BEETLE_APB_BASE + 0xD000) #define _BEETLE_I2C1_BASE (_BEETLE_APB_BASE + 0xE000) #define _BEETLE_TRNG_BASE (_BEETLE_APB_BASE + 0xF000) +/* Beetle SoC peripheral bitbanding */ +#define _BEETLE_BITBAND_BASE 0x42000000 +#define _BEETLE_BITBAND_SIZE 0x2000000 + +/* Beetle SoC Private Peripheral Bus */ +#define _BEETLE_PPB_BASE 0xE0000000 +#define _BEETLE_PPB_SIZE 0x100000 + #ifndef _ASMLANGUAGE #include