Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/of/unittest-data/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 502 B image not shown  

Quelle  overlay_bad_add_dup_node.dtso   Sprache: unbekannt

 
Spracherkennung für: .dtso vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

// 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>;
 };
};

[ Dauer der Verarbeitung: 0.29 Sekunden  ]