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 <vincenzo.frascino@linaro.org>
Signed-off-by: Marc Moreno <marc.morenoberengue@linaro.org>
This commit is contained in:
Vincenzo Frascino 2017-03-07 11:02:57 +00:00 committed by Kumar Gala
commit 8f6d874f59

View file

@ -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 <device.h>