mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 00:20:44 +09:00
8fed2eb20c
Update this function to return more detail about a property that contains phandles. This will allow (in a future commit) more accurate handling of these properties. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Kever Yang <kever.yang@rock-chips.com>
25 lines
361 B
Plaintext
25 lines
361 B
Plaintext
/*
|
|
* Test device tree file for dtoc
|
|
*
|
|
* Copyright 2017 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
phandle: phandle-target {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "target";
|
|
intval = <1>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
phandle-source {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "source";
|
|
clocks = <&phandle 1>;
|
|
};
|
|
};
|