Add two bindings
test-bindings/multidir.yaml
test-bindings-2/multidir.yaml
and a new test-multidir.dts with two nodes that use them.
Verify that the two bindings were found by checking the
Device.binding_path attribute for the two device nodes.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
20 lines
294 B
Plaintext
20 lines
294 B
Plaintext
/*
|
|
* Copyright (c) 2019, Nordic Semiconductor
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
// Used by testedtlib.py. Dedicated file for testing having multiple binding
|
|
// directories.
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
in-dir-1 {
|
|
compatible = "in-dir-1";
|
|
};
|
|
in-dir-2 {
|
|
compatible = "in-dir-2";
|
|
};
|
|
};
|