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:
parent
dc2acd6b94
commit
fdae117b45
18 changed files with 54 additions and 54 deletions
|
@ -31,15 +31,15 @@
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
red_led: led@0 {
|
||||
red_led: led_0 {
|
||||
gpios = <&gpiob 18 0>;
|
||||
label = "User LD1";
|
||||
};
|
||||
green_led: led@1 {
|
||||
green_led: led_1 {
|
||||
gpios = <&gpiob 19 0>;
|
||||
label = "User LD2";
|
||||
};
|
||||
blue_led: led@2 {
|
||||
blue_led: led_2 {
|
||||
gpios = <&gpiod 1 0>;
|
||||
label = "User LD3";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue