ce0fe083d4062eec02145105b44691741337667d
[sfrench/cifs-2.6.git] / drivers / of / testcase-data / tests-phandle.dtsi
1
2 / {
3         aliases {
4                 testcase-alias = &testcase;
5         };
6
7         testcase: testcase-data {
8                 security-password = "password";
9                 duplicate-name = "duplicate";
10                 duplicate-name { };
11                 phandle-tests {
12                         provider0: provider0 {
13                                 #phandle-cells = <0>;
14                         };
15
16                         provider1: provider1 {
17                                 #phandle-cells = <1>;
18                         };
19
20                         provider2: provider2 {
21                                 #phandle-cells = <2>;
22                         };
23
24                         provider3: provider3 {
25                                 #phandle-cells = <3>;
26                         };
27
28                         consumer-a {
29                                 phandle-list =  <&provider1 1>,
30                                                 <&provider2 2 0>,
31                                                 <0>,
32                                                 <&provider3 4 4 3>,
33                                                 <&provider2 5 100>,
34                                                 <&provider0>,
35                                                 <&provider1 7>;
36                                 phandle-list-names = "first", "second", "third";
37
38                                 phandle-list-bad-phandle = <12345678 0 0>;
39                                 phandle-list-bad-args = <&provider2 1 0>,
40                                                         <&provider3 0>;
41                                 empty-property;
42                                 unterminated-string = [40 41 42 43];
43                         };
44                 };
45         };
46 };