1// SPDX-License-Identifier: GPL-2.0 2 3/ { 4 aliases { 5 testcase-alias = &testcase; 6 }; 7 8 testcase: testcase-data { 9 security-password = "password"; 10 duplicate-name = "duplicate"; 11 12 duplicate-name { }; 13 14 phandle-tests { 15 provider0: provider0 { 16 #phandle-cells = <0>; 17 }; 18 19 provider1: provider1 { 20 #phandle-cells = <1>; 21 }; 22 23 provider2: provider2 { 24 #phandle-cells = <2>; 25 }; 26 27 provider3: provider3 { 28 #phandle-cells = <3>; 29 }; 30 31 provider4: provider4 { 32 #phandle-cells = <2>; 33 phandle-map = <0 1 &provider1 3>, 34 <4 0 &provider0>, 35 <16 5 &provider3 3 5 0>, 36 <200 8 &provider2 23 6>, 37 <19 0 &provider2 15 0>, 38 <2 3 &provider3 2 5 3>; 39 phandle-map-mask = <0xff 0xf>; 40 phandle-map-pass-thru = <0x0 0xf0>; 41 }; 42 43 consumer-a { 44 phandle-list = <&provider1 1>, 45 <&provider2 2 0>, 46 <0>, 47 <&provider3 4 4 3>, 48 <&provider2 5 100>, 49 <&provider0>, 50 <&provider1 7>; 51 phandle-list-names = "first", "second", "third"; 52 53 phandle-list-bad-phandle = <12345678 0 0>; 54 phandle-list-bad-args = <&provider2 1 0>, 55 <&provider3 0>; 56 empty-property; 57 string-property = "foobar"; 58 unterminated-string = [40 41 42 43]; 59 unterminated-string-list = "first", "second", [40 41 42 43]; 60 }; 61 62 consumer-b { 63 phandle-list = <&provider1 1>, 64 <&provider4 2 3>, 65 <0>, 66 <&provider4 4 0x100>, 67 <&provider4 0 0x61>, 68 <&provider0>, 69 <&provider4 19 0x20>; 70 phandle-list-bad-phandle = <12345678 0 0>; 71 phandle-list-bad-args = <&provider2 1 0>, 72 <&provider4 0>; 73 }; 74 }; 75 }; 76}; 77