Simon Glass | f17b967 | 2022-09-06 20:27:09 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Other devicetree file for running sandbox tests |
| 4 | * |
| 5 | * This used for tests which want to check they can access multiple device |
| 6 | * trees. This one is loaded and checks are made that it is actually visible. |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | / { |
| 12 | compatible = "sandbox-other"; |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <1>; |
| 15 | |
| 16 | node { |
| 17 | target = <&target 3 4>; |
| 18 | |
| 19 | subnode { |
| 20 | compatible = "sandbox-other2"; |
| 21 | str-prop = "other"; |
| 22 | }; |
| 23 | |
| 24 | subnode2 { |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | target: target { |
| 29 | compatible = "sandbox-other2"; |
| 30 | #gpio-cells = <2>; |
| 31 | str-prop = "other"; |
| 32 | reg = <0x8000 0x100>; |
| 33 | status = "disabled"; |
| 34 | }; |
| 35 | }; |