aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-08-25 14:46:10 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-07-23 09:23:16 +0200
commit4e6d3bb89db59e668d5791a5edc5379c437d8148 (patch)
tree4825d189c5a3b7b0e0a1cce8959c2024eaf3ebba
parentf4a111048752278c6d988fa5435b9bf03611b554 (diff)
downloadlinux-stericsson-stmpe.tar.gz
ARM: dts: ux500: set pull-up on STUIB STMPE IRQ linestmpe
Set up the STMPE IRQ line to be in pull-up mode. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/boot/dts/ste-href-stuib.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-href-stuib.dtsi b/arch/arm/boot/dts/ste-href-stuib.dtsi
index e6c4301c92ea..99c65fc5f8f5 100644
--- a/arch/arm/boot/dts/ste-href-stuib.dtsi
+++ b/arch/arm/boot/dts/ste-href-stuib.dtsi
@@ -78,6 +78,8 @@
interrupt-controller;
vcc-supply = <&db8500_vsmps2_reg>;
vio-supply = <&db8500_vsmps2_reg>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&stmpe_stuib_mode>;
wakeup-source;
st,autosleep-timeout = <1024>;
@@ -147,6 +149,15 @@
};
pinctrl {
+ /* Pull up this GPIO pin */
+ stmpe {
+ stmpe_stuib_mode: stmpe_stuib {
+ stuib_cfg {
+ ste,pins = "GPIO218_AH11";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
prox {
prox_stuib_mode: prox_stuib {
stuib_cfg {