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

« back to all changes in this revision

Viewing changes to dtc/tests/subnode_iterate.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
/ {
 
4
        #address-cells = <1>;
 
5
        #size-cells = <0>;
 
6
 
 
7
        test1 {
 
8
                subnodes = <2>;
 
9
                linux,phandle = <0x1>;
 
10
                #address-cells = <1>;
 
11
                #size-cells = <0>;
 
12
                PowerPC,970@0 {
 
13
                        name = "PowerPC,970";
 
14
                        device_type = "cpu";
 
15
                        reg = <0x00000000>;
 
16
                        clock-frequency = <1600000000>;
 
17
                        timebase-frequency = <33333333>;
 
18
                        linux,boot-cpu;
 
19
                        i-cache-size = <65536>;
 
20
                        d-cache-size = <32768>;
 
21
                        another-sub-node {
 
22
                                should-be-ignored;
 
23
                                yet-another {
 
24
                                        should-also-be-ignored;
 
25
                                };
 
26
                        };
 
27
                };
 
28
 
 
29
                PowerPC,970@1 {
 
30
                        name = "PowerPC,970";
 
31
                        device_type = "cpu";
 
32
                        reg = <0x00000001>;
 
33
                        clock-frequency = <1600000000>;
 
34
                        timebase-frequency = <33333333>;
 
35
                        i-cache-size = <65536>;
 
36
                        d-cache-size = <32768>;
 
37
                };
 
38
        };
 
39
 
 
40
        test2 {
 
41
                subnodes = <0>;
 
42
        };
 
43
};
 
44