File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
arch/arm64/boot/dts/mediatek Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
/dts-v1/;
8
+ #include <dt-bindings/gpio/gpio.h>
8
9
#include "mt6795.dtsi"
9
10
10
11
/ {
100
101
pinctrl-0 = <&i2c3_pins>;
101
102
status = "okay";
102
103
104
+ pn547: nfc@28 {
105
+ compatible = "nxp,pn544-i2c";
106
+ reg = <0x28>;
107
+ interrupts-extended = <&pio 3 IRQ_TYPE_EDGE_RISING>;
108
+ pinctrl-names = "default";
109
+ pinctrl-0 = <&nfc_pins>;
110
+ enable-gpios = <&pio 149 GPIO_ACTIVE_HIGH>;
111
+ firmware-gpios = <&pio 94 GPIO_ACTIVE_HIGH>;
112
+ };
113
+
103
114
proximity@48 {
104
115
compatible = "sensortek,stk3310";
105
116
reg = <0x48>;
110
121
};
111
122
112
123
&pio {
124
+ nfc_pins: nfc-pins {
125
+ pins-irq {
126
+ pinmux = <PINMUX_GPIO3__FUNC_GPIO3>;
127
+ bias-pull-down;
128
+ input-enable;
129
+ };
130
+
131
+ pins-fw-ven {
132
+ pinmux = <PINMUX_GPIO94__FUNC_GPIO94>,
133
+ <PINMUX_GPIO149__FUNC_GPIO149>;
134
+ };
135
+ };
136
+
113
137
ts_pins: touchscreen-pins {
114
138
pins-irq {
115
139
pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
You can’t perform that action at this time.
0 commit comments