Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 /plugin/;
0004 
0005 /*
0006  * &electric_1/motor-1 and &spin_ctrl_1 are the same node:
0007  *   /testcase-data-2/substation@100/motor-1
0008  *
0009  * Thus the new node "controller" in each fragment will
0010  * result in an attempt to add the same node twice.
0011  * This will result in an error and the overlay apply
0012  * will fail.
0013  */
0014 
0015 &electric_1 {
0016 
0017         motor-1 {
0018                 controller {
0019                         power_bus = < 0x1 0x2 >;
0020                 };
0021         };
0022 };
0023 
0024 &spin_ctrl_1 {
0025                 controller {
0026                         power_bus_emergency = < 0x101 0x102 >;
0027                 };
0028 };