diff options
author | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2021-04-15 13:10:25 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2021-06-01 13:09:20 +0300 |
commit | bf24b91f4baf7e421c770a1d9c7d381b10206ac9 (patch) | |
tree | 7c8a941d953566c3699d98d75bb9592b2b4e2ed3 /arch/arm/boot/dts/stm32f769-disco.dts | |
parent | 0171b07373cc8c2815ca5fa79a7308fdefa54ca4 (diff) | |
download | linux-bf24b91f4baf7e421c770a1d9c7d381b10206ac9.tar.xz |
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/stm32f769-disco.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32f769-disco.dts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts index 0ce7fbc20fa4..be943b701980 100644 --- a/arch/arm/boot/dts/stm32f769-disco.dts +++ b/arch/arm/boot/dts/stm32f769-disco.dts @@ -75,12 +75,10 @@ }; }; - gpio_keys { + gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; autorepeat; - button@0 { + button-0 { label = "User"; linux,code = <KEY_HOME>; gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>; |