[PATCH 09/10] ARM: ux500: Apply a Device Tree node for the STMPE MFD

Lee Jones lee.jones at linaro.org
Fri Oct 5 11:31:45 EDT 2012


Here we apply the STMPE Multi-Functional Device's node to the
ST User Interface Board Device Tree file. It includes all of
the properties required for correct device initialsation.

Acked-by: Linus Walleij <linus.walleij at linaro.org>
Signed-off-by: Lee Jones <lee.jones at linaro.org>
---
 arch/arm/boot/dts/stuib.dtsi |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/stuib.dtsi b/arch/arm/boot/dts/stuib.dtsi
index 62f3ecd..b25663c 100644
--- a/arch/arm/boot/dts/stuib.dtsi
+++ b/arch/arm/boot/dts/stuib.dtsi
@@ -11,6 +11,19 @@
 
 / {
 	soc-u9500 {
+		i2c at 80004000 {
+			stmpe1601: stmpe1601 at 40 {
+				compatible = "st,stmpe1601";
+				reg = <0x40>;
+				interrupts = <26 0x4>;
+				interrupt-parent = <&gpio6>;
+				interrupt-controller;
+
+				i2c-client-wake;
+				st,autosleep-timeout = <1024>;
+			};
+		};
+
 		i2c at 80110000 {
 			bu21013_tp at 0x5c {
 				compatible = "rhom,bu21013_tp";
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list