File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
arch/arm64/boot/dts/mediatek Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 71
71
pinctrl-names = "default";
72
72
pinctrl-0 = <&i2c2_pins>;
73
73
status = "okay";
74
+
75
+ touchscreen@20 {
76
+ compatible = "syna,rmi4-i2c";
77
+ reg = <0x20>;
78
+ #address-cells = <1>;
79
+ #size-cells = <0>;
80
+ interrupts-extended = <&pio 6 IRQ_TYPE_EDGE_FALLING>;
81
+ pinctrl-names = "default";
82
+ pinctrl-0 = <&ts_pins>;
83
+ syna,startup-delay-ms = <160>;
84
+ syna,reset-delay-ms = <90>;
85
+
86
+ rmi4-f01@1 {
87
+ reg = <0x1>;
88
+ syna,nosleep-mode = <1>;
89
+ };
90
+
91
+ rmi4-f12@12 {
92
+ reg = <0x12>;
93
+ syna,sensor-type = <1>;
94
+ };
95
+ };
74
96
};
75
97
76
98
&i2c3 {
80
102
};
81
103
82
104
&pio {
105
+ ts_pins: touchscreen-pins {
106
+ pins-irq {
107
+ pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
108
+ bias-pull-up;
109
+ input-enable;
110
+ };
111
+
112
+ pins-rst {
113
+ pinmux = <PINMUX_GPIO102__FUNC_GPIO102>;
114
+ output-high;
115
+ };
116
+ };
117
+
83
118
i2c0_pins: i2c0-pins {
84
119
pins-bus {
85
120
pinmux = <PINMUX_GPIO45__FUNC_SDA0>,
You can’t perform that action at this time.
0 commit comments