diff options
author | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2021-04-15 12:10:25 +0200 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2021-06-01 12:09:20 +0200 |
commit | bf24b91f4baf7e421c770a1d9c7d381b10206ac9 (patch) | |
tree | 7c8a941d953566c3699d98d75bb9592b2b4e2ed3 /arch/arm/boot/dts/stm32429i-eval.dts | |
parent | ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin (diff) | |
download | linux-bf24b91f4baf7e421c770a1d9c7d381b10206ac9.tar.xz linux-bf24b91f4baf7e421c770a1d9c7d381b10206ac9.zip |
ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
Fix following warning observed with "make dtbs_check W=1" command.
It concerns f429 eval and disco boards, f769 disco board.
Warning (unit_address_vs_reg): /gpio_keys/button@0: node has a unit name,
but no reg or ranges property
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32429i-eval.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32429i-eval.dts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 7e10ae744c9d..9ac1ffe53413 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts @@ -119,17 +119,15 @@ }; }; - gpio_keys { + gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; autorepeat; - button@0 { + button-0 { label = "Wake up"; linux,code = <KEY_WAKEUP>; gpios = <&gpioa 0 0>; }; - button@1 { + button-1 { label = "Tamper"; linux,code = <KEY_RESTART>; gpios = <&gpioc 13 0>; |