1/*
2 * Copyright (c) 2023 Carlo Caione <ccaione@baylibre.com>
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
7#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
8
9/ {
10	mem_ram: memory@10000000 {
11		compatible = "vnd,memory-attr";
12		reg = <0x10000000 0x1000>;
13		zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_FLASH) | DT_MEM_NON_VOLATILE )>;
14	};
15
16	mem_ram_nocache: memory@20000000 {
17		compatible = "vnd,memory-attr";
18		reg = <0x20000000 0x2000>;
19		zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>;
20	};
21
22	mem_ram_disabled: memory@30000000 {
23		compatible = "vnd,memory-attr";
24		reg = <0x30000000 0x3000>;
25		zephyr,memory-attr = <( DT_MEM_CACHEABLE | DT_MEM_OOO )>;
26		status = "disabled";
27	};
28};
29