summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2014-01-11 22:16:58 +0100
committerBenoit Cousson <bcousson@baylibre.com>2014-03-02 18:34:39 +0100
commitfbbf006a456f30ba151ca04de63c14dbcd0192db (patch)
tree32b697f9f9e4ea740c03994a4f155f73e726249e /arch/arm/boot
parent25c40a888a82cdb742fd956c4a65a60c023bdd50 (diff)
downloadlwn-fbbf006a456f30ba151ca04de63c14dbcd0192db.tar.gz
lwn-fbbf006a456f30ba151ca04de63c14dbcd0192db.zip
ARM: dts: TWL4030: Add keypad node
Add keypad node to twl4030, so that board DTS files can just add the keymap. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/twl4030.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
index 4217096ee677..86cfc7d15ca7 100644
--- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -145,4 +145,11 @@
compatible = "ti,twl4030-pwrbutton";
interrupts = <8>;
};
+
+ twl_keypad: keypad {
+ compatible = "ti,twl4030-keypad";
+ interrupts = <1>;
+ keypad,num-rows = <8>;
+ keypad,num-columns = <8>;
+ };
};