2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-06-19 04:09:06 +00:00
|
|
|
/*
|
|
|
|
* Test device tree file for dtoc
|
|
|
|
*
|
|
|
|
* Copyright 2017 Google, Inc
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/ {
|
|
|
|
phandle: phandle-target {
|
2017-08-29 20:15:59 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "target";
|
|
|
|
intval = <0>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
phandle_1: phandle2-target {
|
2017-06-19 04:09:06 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "target";
|
|
|
|
intval = <1>;
|
2017-08-29 20:15:59 +00:00
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
|
|
|
phandle_2: phandle3-target {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "target";
|
|
|
|
intval = <2>;
|
|
|
|
#clock-cells = <2>;
|
2017-06-19 04:09:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phandle-source {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "source";
|
2017-08-29 20:15:59 +00:00
|
|
|
clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
|
2017-06-19 04:09:06 +00:00
|
|
|
};
|
2018-07-06 16:27:31 +00:00
|
|
|
|
|
|
|
phandle-source2 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "source";
|
|
|
|
clocks = <&phandle>;
|
|
|
|
};
|
2017-06-19 04:09:06 +00:00
|
|
|
};
|