summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-10-12 23:19:14 +0200
committerSebastian Reichel <sre@debian.org>2013-10-12 23:53:24 +0200
commit4a5994d2046f87d099a5da2b6feceec44eaa7186 (patch)
tree36a7bd356c173e1ea91071ebd210471b0a90f0f4
parent79bd97fd88d05f563d41042fa0d1593acfc0d523 (diff)
downloadlinux-4a5994d2046f87d099a5da2b6feceec44eaa7186.tar.bz2
DTS: ARM: 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>
-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 ae6a17aed9ee..773c94c4d73f 100644
--- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -97,4 +97,11 @@
compatible = "ti,twl4030-pwmled";
#pwm-cells = <2>;
};
+
+ twl_keypad: keypad {
+ compatible = "ti,twl4030-keypad";
+ interrupts = <1>;
+ keypad,num-rows = <8>;
+ keypad,num-columns = <8>;
+ };
};