]> git.sur5r.net Git - u-boot/blob - test/dm/test.dts
cd18a3107b321427b3d1fce0df0c46d6a63e42a3
[u-boot] / 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         aliases {
10                 console = &uart0;
11         };
12
13         uart0: serial {
14                 compatible = "sandbox,serial";
15                 u-boot,dm-pre-reloc;
16         };
17
18         a-test {
19                 reg = <0>;
20                 compatible = "denx,u-boot-fdt-test";
21                 ping-expect = <0>;
22                 ping-add = <0>;
23                 u-boot,dm-pre-reloc;
24         };
25
26         junk {
27                 reg = <1>;
28                 compatible = "not,compatible";
29         };
30
31         no-compatible {
32                 reg = <2>;
33         };
34
35         b-test {
36                 reg = <3>;
37                 compatible = "denx,u-boot-fdt-test";
38                 ping-expect = <3>;
39                 ping-add = <3>;
40         };
41
42         some-bus {
43                 #address-cells = <1>;
44                 #size-cells = <0>;
45                 ping-expect = <4>;
46                 ping-add = <4>;
47                 c-test {
48                         compatible = "denx,u-boot-fdt-test";
49                         reg = <5>;
50                         ping-add = <5>;
51                 };
52         };
53
54         d-test {
55                 reg = <6>;
56                 ping-expect = <6>;
57                 ping-add = <6>;
58                 compatible = "google,another-fdt-test";
59         };
60
61         base-gpios {
62                 compatible = "sandbox,gpio";
63                 gpio-bank-name = "a";
64                 num-gpios = <20>;
65         };
66
67         extra-gpios {
68                 compatible = "sandbox,gpio";
69                 gpio-bank-name = "b";
70                 num-gpios = <10>;
71         };
72 };