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