summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32f769-disco.dts
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@st.com>2018-02-27 14:47:10 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2018-02-27 15:01:44 +0100
commit4798836c206134731e6d8ec153f09b9b186acca3 (patch)
tree6232e246c747ae3f6d690c05073505e39488eca4 /arch/arm/boot/dts/stm32f769-disco.dts
parent02050da4a9a21e68131e3086a8a21b5bd806226d (diff)
downloadblackbird-obmc-linux-4798836c206134731e6d8ec153f09b9b186acca3.tar.gz
blackbird-obmc-linux-4798836c206134731e6d8ec153f09b9b186acca3.zip
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/stm32f769-disco.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 {
OpenPOWER on IntegriCloud