Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / drivers / of / unittest-data / tests-phandle.dtsi
blob3c2f09e56b612eacc2bff9059f895cb63ab15c6a
1 // SPDX-License-Identifier: GPL-2.0
3 / {
4         aliases {
5                 testcase-alias = &testcase;
6         };
8         testcase: testcase-data {
9                 security-password = "password";
10                 duplicate-name = "duplicate";
11                 duplicate-name { };
12                 phandle-tests {
13                         provider0: provider0 {
14                                 #phandle-cells = <0>;
15                         };
17                         provider1: provider1 {
18                                 #phandle-cells = <1>;
19                         };
21                         provider2: provider2 {
22                                 #phandle-cells = <2>;
23                         };
25                         provider3: provider3 {
26                                 #phandle-cells = <3>;
27                         };
29                         consumer-a {
30                                 phandle-list =  <&provider1 1>,
31                                                 <&provider2 2 0>,
32                                                 <0>,
33                                                 <&provider3 4 4 3>,
34                                                 <&provider2 5 100>,
35                                                 <&provider0>,
36                                                 <&provider1 7>;
37                                 phandle-list-names = "first", "second", "third";
39                                 phandle-list-bad-phandle = <12345678 0 0>;
40                                 phandle-list-bad-args = <&provider2 1 0>,
41                                                         <&provider3 0>;
42                                 empty-property;
43                                 string-property = "foobar";
44                                 unterminated-string = [40 41 42 43];
45                                 unterminated-string-list = "first", "second", [40 41 42 43];
46                         };
47                 };
48         };