Simon Glass | c079192 | 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 | phandle: phandle-target { |
| 13 | u-boot,dm-pre-reloc; |
| 14 | compatible = "target"; |
Simon Glass | 634eba4 | 2017-08-29 14:15:59 -0600 | [diff] [blame] | 15 | intval = <0>; |
| 16 | #clock-cells = <0>; |
| 17 | }; |
| 18 | |
| 19 | phandle_1: phandle2-target { |
| 20 | u-boot,dm-pre-reloc; |
| 21 | compatible = "target"; |
Simon Glass | c079192 | 2017-06-18 22:09:06 -0600 | [diff] [blame] | 22 | intval = <1>; |
Simon Glass | 634eba4 | 2017-08-29 14:15:59 -0600 | [diff] [blame] | 23 | #clock-cells = <1>; |
| 24 | }; |
| 25 | phandle_2: phandle3-target { |
| 26 | u-boot,dm-pre-reloc; |
| 27 | compatible = "target"; |
| 28 | intval = <2>; |
| 29 | #clock-cells = <2>; |
Simon Glass | c079192 | 2017-06-18 22:09:06 -0600 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | phandle-source { |
| 33 | u-boot,dm-pre-reloc; |
| 34 | compatible = "source"; |
Simon Glass | 634eba4 | 2017-08-29 14:15:59 -0600 | [diff] [blame] | 35 | clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>; |
Simon Glass | c079192 | 2017-06-18 22:09:06 -0600 | [diff] [blame] | 36 | }; |
| 37 | }; |