1/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/* A device tree overlay with a node for device tree tests */
18
19#include "dt-bindings/interrupt-controller/arm-gic.h"
20
21/dts-v1/;
22/plugin/;
23/ {
24    /*
25     * This property is only used for selecting the test dtbo and it's ignored
26     * when the overlay is applied to a base device tree
27     */
28    compatible = "google,test_overlay";
29    fragment@0 {
30        target-path = "/";
31        __overlay__ {
32            test_node {
33                /* The compatible string that the tests initially search for */
34                compatible = "google,test_node";
35                gic: interrupt-controller@DEADBEEF {
36                    compatible = "arm,gic-v3";
37                    reg = <0x0 0x12345678 0x10000>,
38                          <0x0 0x9ABCDEF0 0x10000>;
39                };
40                chosen {
41                    bootargs = "arg0=blah arg1=blah arg2=blah";
42                    kaslr-seed = <0xcafed00d 0x12345678>;
43                };
44            };
45        };
46    };
47};
48