~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to dtc/tests/test_tree1_merge_labelled.dts

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/dts-v1/;
 
2
 
 
3
/memreserve/ 0xdeadbeef00000000 0x100000;
 
4
/memreserve/ 123456789 010000;
 
5
 
 
6
/ {
 
7
        compatible = "test_tree1";
 
8
        prop-int = <0xdeadbeef>;
 
9
        prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>;
 
10
        prop-str = "hello world";
 
11
        #address-cells = <1>;
 
12
        #size-cells = <0>;
 
13
 
 
14
        subnode@1 {
 
15
                compatible = "subnode1";
 
16
                reg = <1>;
 
17
                prop-int = [deadbeef];
 
18
 
 
19
                subsubnode {
 
20
                        compatible = "subsubnode1", "subsubnode";
 
21
                        prop-int = <0xdeadbeef>;
 
22
                };
 
23
 
 
24
                ss1 {
 
25
                };
 
26
        };
 
27
 
 
28
        subnode@2 {
 
29
                reg = <2>;
 
30
                linux,phandle = <0x2000>;
 
31
                prop-int = <123456789>;
 
32
                #address-cells = <1>;
 
33
                #size-cells = <0>;
 
34
 
 
35
                ssn0: subsubnode@0 {
 
36
                        reg = <0>;
 
37
                        phandle = <0x2001>;
 
38
                        prop-int = <0xbad>;
 
39
                };
 
40
 
 
41
                ss2 {
 
42
                };
 
43
        };
 
44
};
 
45
 
 
46
&ssn0 {
 
47
        compatible = "subsubnode2", "subsubnode";
 
48
        prop-int = <0726746425>;
 
49
};