Commit 2670ee89 authored by Ulrich Hecht's avatar Ulrich Hecht Committed by Simon Horman

ARM: shmobile: ape6evm: Add keypad to the device tree

Signed-off-by: default avatarUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent b742257d
......@@ -11,6 +11,7 @@
/dts-v1/;
#include "r8a73a4.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
model = "APE6EVM";
......@@ -110,6 +111,46 @@ led6 {
label = "BBRESETOUT";
};
};
keyboard {
compatible = "gpio-keys";
zero-key {
gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
linux,code = <KEY_0>;
label = "S16";
};
menu-key {
gpios = <&pfc 325 GPIO_ACTIVE_LOW>;
linux,code = <KEY_MENU>;
label = "S17";
};
home-key {
gpios = <&pfc 326 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOME>;
label = "S18";
};
back-key {
gpios = <&pfc 327 GPIO_ACTIVE_LOW>;
linux,code = <KEY_BACK>;
label = "S19";
};
volup-key {
gpios = <&pfc 328 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
label = "S20";
};
voldown-key {
gpios = <&pfc 329 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
label = "S21";
};
};
};
&i2c5 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment