mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Add a number of tests for dynamic objects/overlays. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
22 lines
281 B
Text
22 lines
281 B
Text
/*
|
|
* Copyright (c) 2016 Konsulko Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
test: test-node {
|
|
test-int-property = <42>;
|
|
test-str-property = "foo";
|
|
|
|
subtest: sub-test-node {
|
|
sub-test-property;
|
|
};
|
|
};
|
|
|
|
ref {
|
|
local-ref = <&test &subtest>;
|
|
};
|
|
};
|