linux-stable/drivers/of/unittest-data/overlay_bad_add_dup_node.dtso
Geert Uytterhoeven 58ec916803 of: unittest-data: Fix whitespace - angular brackets
No space after opening or before closing angular bracket.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/af37e6e73f16d0240a2a1696e21d1d6a3c423ba4.1690533838.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
2023-08-23 20:04:17 -05:00

27 lines
502 B
Text

// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
/plugin/;
/*
* &electric_1/motor-1 and &spin_ctrl_1 are the same node:
* /testcase-data-2/substation@100/motor-1
*
* Thus the new node "controller" in each fragment will
* result in an attempt to add the same node twice.
* This will result in an error and the overlay apply
* will fail.
*/
&electric_1 {
motor-1 {
controller {
power_bus = <0x1 0x2>;
};
};
};
&spin_ctrl_1 {
controller {
power_bus_emergency = <0x101 0x102>;
};
};