arm64: dts: qcom: msm8998-oneplus-common: Add NFC
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / qcom / msm8998-oneplus-common.dtsi
index 9823d48..dbaea36 100644 (file)
        };
 };
 
+&blsp1_i2c6 {
+       status = "okay";
+
+       nfc@28 {
+               compatible = "nxp,nxp-nci-i2c";
+               reg = <0x28>;
+
+               interrupt-parent = <&tlmm>;
+               interrupts = <92 IRQ_TYPE_LEVEL_HIGH>;
+
+               enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&nfc_int_active &nfc_enable_active>;
+       };
+};
+
 &blsp1_uart3 {
        status = "okay";
 
                drive-strength = <8>;
                bias-pull-up;
        };
+
+       nfc_int_active: nfc-int-active {
+               pins = "gpio92";
+               function = "gpio";
+               drive-strength = <6>;
+               bias-pull-up;
+       };
+
+       nfc_enable_active: nfc-enable-active {
+               pins = "gpio12", "gpio116";
+               function = "gpio";
+               drive-strength = <6>;
+               bias-pull-up;
+       };
 };
 
 &ufshc {