2020-07-15 07:34:34 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Nordic Semiconductor ASA
|
|
|
|
* Copyright (c) 2020 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Application overlay for creating a fake device instance we
|
|
|
|
* can use to test DEVICE_MMIO APIs, which get raw data about
|
|
|
|
* memory ranges from DTS instances.
|
|
|
|
*
|
|
|
|
* Names in this file should be chosen in a way that won't conflict
|
|
|
|
* with real-world devicetree nodes, to allow these tests to run on
|
|
|
|
* (and be extended to test) real hardware.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
2021-11-30 01:20:06 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2020-07-15 07:34:34 +08:00
|
|
|
fakedriver@E0000000 {
|
|
|
|
compatible = "fakedriver";
|
|
|
|
reg = <0xE0000000 0x2000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
fakedriver@E1000000 {
|
|
|
|
compatible = "fakedriver";
|
|
|
|
reg = <0xE1000000 0x2000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
fakedriver@E2000000 {
|
|
|
|
compatible = "fakedriver";
|
|
|
|
reg = <0xE2000000 0x2000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
fakedriver@E3000000 {
|
|
|
|
compatible = "fakedriver";
|
|
|
|
reg = <0xE3000000 0x2000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
fakedriver@E4000000 {
|
|
|
|
compatible = "fakedriver";
|
|
|
|
reg = <0xE4000000 0x2000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2022-06-10 18:06:46 +08:00
|
|
|
|
|
|
|
fakedriver_multireg@E5000000 {
|
|
|
|
compatible = "fakedriver_multireg";
|
|
|
|
reg = <0xE5000000 0x1000>,
|
|
|
|
<0xE6000000 0x1000>;
|
|
|
|
reg-names = "chip",
|
|
|
|
"dale";
|
|
|
|
status = "okay";
|
|
|
|
};
|
2023-07-16 08:46:11 +08:00
|
|
|
|
2024-01-06 05:33:25 +08:00
|
|
|
fakedeferdriver@E7000000 {
|
|
|
|
compatible = "fakedeferdriver";
|
|
|
|
reg = <0xE7000000 0x2000>;
|
|
|
|
status = "okay";
|
|
|
|
zephyr,deferred-init;
|
|
|
|
};
|
|
|
|
|
|
|
|
fakedeferdriver@E8000000 {
|
|
|
|
compatible = "fakedeferdriver";
|
|
|
|
reg = <0xE8000000 0x2000>;
|
|
|
|
status = "okay";
|
|
|
|
zephyr,deferred-init;
|
|
|
|
};
|
|
|
|
|
2023-07-16 08:46:11 +08:00
|
|
|
fakedomain_0: fakedomain_0 {
|
|
|
|
compatible = "fakedomain";
|
|
|
|
status = "okay";
|
2024-10-16 16:33:59 +08:00
|
|
|
power-domains = <&fakedomain_2>;
|
|
|
|
#power-domain-cells = <0>;
|
2023-07-16 08:46:11 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
fakedomain_1: fakedomain_1 {
|
|
|
|
compatible = "fakedomain";
|
|
|
|
status = "okay";
|
2024-10-16 16:33:59 +08:00
|
|
|
power-domains = <&fakedomain_0>;
|
|
|
|
#power-domain-cells = <0>;
|
2023-07-16 08:46:11 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
fakedomain_2: fakedomain_2 {
|
|
|
|
compatible = "fakedomain";
|
|
|
|
status = "okay";
|
2024-10-16 16:33:59 +08:00
|
|
|
#power-domain-cells = <0>;
|
2023-07-16 08:46:11 +08:00
|
|
|
};
|
2020-07-15 07:34:34 +08:00
|
|
|
};
|