Simon Glass | 9d2eb92 | 2017-06-18 22:09:06 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Test device tree file for dtoc |
| 3 | * |
| 4 | * Copyright 2017 Google, Inc |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | / { |
| 12 | spl-test { |
| 13 | u-boot,dm-pre-reloc; |
| 14 | compatible = "sandbox,spl-test"; |
| 15 | boolval; |
| 16 | intval = <1>; |
| 17 | intarray = <2 3 4>; |
| 18 | byteval = [05]; |
| 19 | bytearray = [06]; |
| 20 | longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11]; |
| 21 | stringval = "message"; |
| 22 | stringarray = "multi-word", "message"; |
| 23 | }; |
| 24 | |
| 25 | spl-test2 { |
| 26 | u-boot,dm-pre-reloc; |
| 27 | compatible = "sandbox,spl-test"; |
| 28 | intval = <3>; |
| 29 | intarray = <5>; |
| 30 | byteval = [08]; |
| 31 | bytearray = [01 23 34]; |
| 32 | longbytearray = [09 0a 0b 0c]; |
| 33 | stringval = "message2"; |
| 34 | stringarray = "another", "multi-word", "message"; |
| 35 | }; |
| 36 | |
| 37 | spl-test3 { |
| 38 | u-boot,dm-pre-reloc; |
| 39 | compatible = "sandbox,spl-test"; |
| 40 | stringarray = "one"; |
| 41 | }; |
| 42 | |
| 43 | spl-test4 { |
| 44 | u-boot,dm-pre-reloc; |
| 45 | compatible = "sandbox,spl-test.2"; |
| 46 | }; |
| 47 | |
| 48 | }; |