boards: dts: Fix dtc warning in board dts files

This patch is equivalent to 7b0ce85242,
but applied to more boards. As stated in the previous commit message:

This change aims at fixing 'unit_address_vs_reg' warning in arm 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: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-10-02 16:36:43 +02:00 committed by Kumar Gala
commit fdae117b45
18 changed files with 54 additions and 54 deletions

View file

@ -19,11 +19,11 @@
leds {
compatible = "gpio-leds";
green_led_0: led@0 {
green_led_0: led_0 {
gpios = <&gpioc 13 GPIO_INT_ACTIVE_HIGH>;
label = "USR0 LED";
};
green_led_1: led@1 {
green_led_1: led_1 {
gpios = <&gpiob 2 GPIO_INT_ACTIVE_HIGH>;
label = "USR1 LED";
};