1// SPDX-License-Identifier: BSD-2-Clause
2/*
3 *  Copyright (c) 2022, Linaro Limited
4 */
5
6/ {
7	/*
8	 * Device dt-test-consumer consumes resource, it is expected
9	 * to defer its probe until resources are ready.
10	 */
11	dt-test-consumer {
12		compatible = "linaro,dt-test-consumer";
13		clocks = <&dt_test_provider 3>, <&dt_test_provider 7>;
14		clock-names = "clk0", "clk1";
15		resets = <&dt_test_provider 35>, <&dt_test_provider 5>;
16		reset-names = "rst0", "rst1";
17	};
18
19	/*
20	 * Resource device are discovered from subnode added to probe
21	 * list by related drivers (here all simple-bus).
22	 */
23	dt-test-bus-b0 {
24		compatible = "simple-bus";
25
26		dt-test-bus-b1 {
27			compatible = "simple-bus";
28
29			dt-test-bus-b2 {
30				compatible = "simple-bus";
31
32				dt-test-bus-b3 {
33					compatible = "simple-bus";
34					#address-cells = <1>;
35					#size-cells = <0>;
36
37					dt_test_provider: dt-test-provider@0 {
38						compatible = "linaro,dt-test-provider";
39						reg = <0>;
40						#clock-cells = <1>;
41						#reset-cells = <1>;
42					};
43				};
44			};
45		};
46	};
47
48	dt-test-crypt-consumer {
49		compatible = "linaro,dt-test-crypt-consumer";
50	};
51};
52