# pull-up-ph4.patch -rw-r--r-- 842 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-dontbeevil.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-dontbeevil.dts
index b55c29f16311..ee0047e1cdea 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-dontbeevil.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-dontbeevil.dts
@@ -62,6 +62,16 @@
                stdout-path = "serial0:115200n8";
        };
 
+       soc {
+               pio: pinctrl@1c20800 {
+                       touch_intr_pin: touch_intr_pin {
+                               pins = "PH4";
+                               bias-pull-up;
+                               function = "irq";
+                       };
+               };
+       };
+
        i2c-csi {
                compatible = "i2c-gpio";
                sda-gpios = <&pio 4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; /* CSI0-SDA: PE13 */