ARM: dts: ux500: set pull-up on STUIB STMPE IRQ line
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Aug 2014 12:46:10 +0000 (14:46 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Jul 2019 07:24:10 +0000 (09:24 +0200)
Set up the STMPE IRQ line to be in pull-up mode.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-href-stuib.dtsi

index b17998f4f7cad6762559943792303845075e6392..e32d0c36feb8f9ce1341a2efe84d6d43d4d9d978 100644 (file)
@@ -38,6 +38,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>;
                };
 
                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 {