zephyr/tests/misc/arm_mpu_regions/boards/mps2_an385.overlay

42 lines
1000 B
Plaintext
Raw Normal View History

/*
* Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
/delete-node/ memory@20000000;
sram0: memory@20000000 {
compatible = "mmio-sram";
reg = <0x20000000 0x200000>;
};
sram_cache: memory@20200000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20200000 0x100000>;
zephyr,memory-region = "SRAM_CACHE";
zephyr,memory-region-mpu = "RAM";
};
sram_no_cache: memory@20300000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20300000 0x100000>;
zephyr,memory-region = "SRAM_NO_CACHE";
zephyr,memory-region-mpu = "RAM_NOCACHE";
};
sram_dtcm_fake: memory@abcdabcd {
compatible = "zephyr,memory-region", "arm,dtcm";
reg = <0xabcdabcd 0x100000>;
zephyr,memory-region = "SRAM_DTCM_FAKE";
zephyr,memory-region-mpu = "RAM";
};
sram_no_mpu: memory@deaddead {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0xdeaddead 0x100000>;
zephyr,memory-region = "SRAM_NO_MPU";
};
};