diff options
Diffstat (limited to 'dtc/tests/overlay_base_manual_symbols.dts')
-rw-r--r-- | dtc/tests/overlay_base_manual_symbols.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dtc/tests/overlay_base_manual_symbols.dts b/dtc/tests/overlay_base_manual_symbols.dts new file mode 100644 index 000000000..7e4d17dcb --- /dev/null +++ b/dtc/tests/overlay_base_manual_symbols.dts @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2016 NextThing Co + * Copyright (c) 2016 Free Electrons + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +/dts-v1/; + +/ { + test: test-node { + phandle = <&test>; /* Force phandle generation */ + test-int-property = <42>; + test-str-property = "foo"; + + subtest: sub-test-node { + sub-test-property; + }; + }; + __symbols__ { + test = &test; + }; +}; + + |