boards/arm: Fix button dts syntax for stm32 based boards
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 button 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:
parent
58542d8d6c
commit
de24cd69de
33 changed files with 33 additions and 33 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 2 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpiob 2 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "Key";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "Key";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "Key";
|
||||
gpios = <&gpioc 9 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpiob 9 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "Key";
|
||||
gpios = <&gpioa 2 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "Key";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "Key";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_HIGH>;
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioi 11 GPIO_INT_ACTIVE_HIGH>;
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button: button@0 {
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_INT_ACTIVE_HIGH>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue