boards: dts: Fix dtc warning in stm32 board dts files

This change aims at fixing 'unit_address_vs_reg' warning in
STM32 based boards.
This warning pops up when a node name is made up with an address
(node_name@xx) but does not contain a reg property.
This case was encountered for led nodes for instance,
where a reg property has no meaning.
Fix this by changing node_name@xx to node_name_xx which removes the
 guilty '@xx' syntax but preserves node_name uniqueness.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2018-09-18 19:45:43 +02:00 committed by Anas Nashif
commit 7b0ce85242
39 changed files with 87 additions and 88 deletions

View file

@ -19,7 +19,7 @@
leds {
compatible = "gpio-leds";
green_led_2: led@0 {
green_led_2: led_2 {
gpios = <&gpiod 13 GPIO_INT_ACTIVE_HIGH>;
label = "User LD2";
};