blob: 74d236b495be752d0075552030da03d3595f2f8d [file] [log] [blame]
Simon Glassb2c1cac2014-02-26 15:59:21 -07001/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";
Simon Glassa7bb08a2014-07-23 06:54:57 -060012 ping-expect = <0>;
Simon Glassb2c1cac2014-02-26 15:59:21 -070013 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";
Simon Glassa7bb08a2014-07-23 06:54:57 -060028 ping-expect = <3>;
Simon Glassb2c1cac2014-02-26 15:59:21 -070029 ping-add = <3>;
30 };
31
32 some-bus {
33 #address-cells = <1>;
34 #size-cells = <0>;
Simon Glassa7bb08a2014-07-23 06:54:57 -060035 ping-expect = <4>;
Simon Glassb2c1cac2014-02-26 15:59:21 -070036 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>;
Simon Glassa7bb08a2014-07-23 06:54:57 -060046 ping-expect = <6>;
Simon Glassb2c1cac2014-02-26 15:59:21 -070047 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};