summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@st.com>2018-02-27 16:47:10 +0300
committerAlexandre Torgue <alexandre.torgue@st.com>2018-02-27 17:01:44 +0300
commit4798836c206134731e6d8ec153f09b9b186acca3 (patch)
tree6232e246c747ae3f6d690c05073505e39488eca4 /arch/arm/boot/dts
parent02050da4a9a21e68131e3086a8a21b5bd806226d (diff)
downloadlinux-4798836c206134731e6d8ec153f09b9b186acca3.tar.xz
ARM: dts: stm32: Add push button to stm32f769 Discovery board
Add node for user push button. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/stm32f769-disco.dts12
1 files changed, 12 insertions, 0 deletions
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 = <KEY_HOME>;
+ gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&cec {