dm: Use an explicit expect value in core tests
[oweals/u-boot.git] / test / dm / test.dts
1 /dts-v1/;
2
3 / {
4         model = "sandbox";
5         compatible = "sandbox";
6         #address-cells = <1>;
7         #size-cells = <0>;
8
9         a-test {
10                 reg = <0>;
11                 compatible = "denx,u-boot-fdt-test";
12                 ping-expect = <0>;
13                 ping-add = <0>;
14         };
15
16         junk {
17                 reg = <1>;
18                 compatible = "not,compatible";
19         };
20
21         no-compatible {
22                 reg = <2>;
23         };
24
25         b-test {
26                 reg = <3>;
27                 compatible = "denx,u-boot-fdt-test";
28                 ping-expect = <3>;
29                 ping-add = <3>;
30         };
31
32         some-bus {
33                 #address-cells = <1>;
34                 #size-cells = <0>;
35                 ping-expect = <4>;
36                 ping-add = <4>;
37                 c-test {
38                         compatible = "denx,u-boot-fdt-test";
39                         reg = <5>;
40                         ping-add = <5>;
41                 };
42         };
43
44         d-test {
45                 reg = <6>;
46                 ping-expect = <6>;
47                 ping-add = <6>;
48                 compatible = "google,another-fdt-test";
49         };
50
51         base-gpios {
52                 compatible = "sandbox,gpio";
53                 gpio-bank-name = "a";
54                 num-gpios = <20>;
55         };
56
57         extra-gpios {
58                 compatible = "sandbox,gpio";
59                 gpio-bank-name = "b";
60                 num-gpios = <10>;
61         };
62 };