]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - test/dm/test.dts
84895951550ffec7b1df26c4f2e782398f589ce5
[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                 compatible = "denx,u-boot-test-bus";
47                 reg = <3>;
48                 ping-expect = <4>;
49                 ping-add = <4>;
50                 c-test@5 {
51                         compatible = "denx,u-boot-fdt-test";
52                         reg = <5>;
53                         ping-expect = <5>;
54                         ping-add = <5>;
55                 };
56                 c-test@0 {
57                         compatible = "denx,u-boot-fdt-test";
58                         reg = <0>;
59                         ping-expect = <6>;
60                         ping-add = <6>;
61                 };
62                 c-test@1 {
63                         compatible = "denx,u-boot-fdt-test";
64                         reg = <1>;
65                         ping-expect = <7>;
66                         ping-add = <7>;
67                 };
68         };
69
70         d-test {
71                 reg = <3>;
72                 ping-expect = <6>;
73                 ping-add = <6>;
74                 compatible = "google,another-fdt-test";
75         };
76
77         e-test {
78                 reg = <3>;
79                 ping-expect = <6>;
80                 ping-add = <6>;
81                 compatible = "google,another-fdt-test";
82         };
83
84         base-gpios {
85                 compatible = "sandbox,gpio";
86                 gpio-bank-name = "a";
87                 num-gpios = <20>;
88         };
89
90         extra-gpios {
91                 compatible = "sandbox,gpio";
92                 gpio-bank-name = "b";
93                 num-gpios = <10>;
94         };
95 };