From: Benjamin Gaignard Date: Tue, 27 Feb 2018 13:47:10 +0000 (+0100) Subject: ARM: dts: stm32: Add push button to stm32f769 Discovery board X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4798836c206134731e6d8ec153f09b9b186acca3;p=openwrt%2Fstaging%2Fblogic.git ARM: dts: stm32: Add push button to stm32f769 Discovery board Add node for user push button. Signed-off-by: Benjamin Gaignard Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts index ecaeb603788b..afbd7692ed0c 100644 --- a/arch/arm/boot/dts/stm32f769-disco.dts +++ b/arch/arm/boot/dts/stm32f769-disco.dts @@ -73,6 +73,18 @@ gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>; }; }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + autorepeat; + button@0 { + label = "User"; + linux,code = ; + gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>; + }; + }; }; &cec {