1/* 2 * Copyright (c) 2021, Commonwealth Scientific and Industrial Research 3 * Organisation (CSIRO) ABN 41 687 119 230. 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 * 7 * Application overlay for testing the devicetree.h extension API's. 8 * 9 * Names in this file should be chosen in a way that won't conflict 10 * with real-world devicetree nodes, to allow these tests to run on 11 * (and be extended to test) real hardware. 12 */ 13 14/ { 15 test { 16 #address-cells = < 0x1 >; 17 #size-cells = < 0x1 >; 18 19 test_sram1: sram@20000000 { 20 compatible = "zephyr,memory-region", "mmio-sram"; 21 reg = < 0x20000000 0x1000 >; 22 zephyr,memory-region = "SRAM_REGION"; 23 }; 24 test_sram2: sram@20001000 { 25 compatible = "zephyr,memory-region", "mmio-sram"; 26 reg = < 0x20001000 0x1000 >; 27 zephyr,memory-region = "SRAM@REGION#2"; 28 }; 29 }; 30}; 31