Lines Matching refs:memory

6 It is possible in the devicetree to mark the memory regions with attributes by
7 using the ``zephyr,memory-attr`` property. This property and the related memory
12 and explained in :zephyr_file:`include/zephyr/dt-bindings/memory-attr/memory-attr.h`.
14 For example, to mark a memory region in the devicetree as non-volatile, cacheable,
19 mem: memory@10000000 {
22 zephyr,memory-attr = <( DT_MEM_NON_VOLATILE | DT_MEM_CACHEABLE | DT_MEM_OOO )>;
27 The ``zephyr,memory-attr`` usage does not result in any memory region
29 devicetree defined memory region, it is possible to use the compatible
30 :dtcompatible:`zephyr,memory-region` that will result (only when supported
33 The ``zephyr,memory-attr`` property can also be used to set
36 regions out of devicetree defined memory regions, for example:
40 mem: memory@10000000 {
43 zephyr,memory-region = "NOCACHE_REGION";
44 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>;
47 See :zephyr_file:`include/zephyr/dt-bindings/memory-attr/memory-attr-arm.h` and
50 The conventional and recommended way to deal and manage with memory regions
53 list of memory regions and their attributes are compiled in a user-accessible
59 The ``zephyr,memory-attr`` property is only a descriptive property of the
60 capabilities of the associated memory region, but it does not result in any
61 actual setting for the memory to be set. The user, code or subsystem willing
69 Migration guide from `zephyr,memory-region-mpu`
72 When the ``zephyr,memory-attr`` property was introduced, the
73 ``zephyr,memory-region-mpu`` property was removed and deprecated.