boards: dts: Fix dtc warning in board dts files
This patch is equivalent to 7b0ce85242
,
but applied to buttons. 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
3f5a4f1df5
commit
25e7316ea7
12 changed files with 24 additions and 24 deletions
|
@ -47,11 +47,11 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button_0: button@0 {
|
||||
user_button_0: button_0 {
|
||||
label = "User SW0";
|
||||
gpios = <&gpioa 16 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
user_button_1: button@1 {
|
||||
user_button_1: button_1 {
|
||||
label = "User SW1";
|
||||
gpios = <&gpioa 17 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue