mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
arm64: dts: qcom: sdm845-google-common: Enable NFC
Enable NFC controller NXP PN557. Signed-off-by: David Heidelberg <david@ixit.cz> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260403-oneplus-nfc-v3-5-fbdce57d63c1@ixit.cz Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
f585772843
commit
10f91b0dfa
|
|
@ -391,6 +391,23 @@ &gpu_zap_shader {
|
|||
firmware-name = "qcom/sdm845/Google/blueline/a630_zap.mbn";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
|
||||
nfc@28 {
|
||||
compatible = "nxp,pn557", "nxp,nxp-nci-i2c";
|
||||
reg = <0x28>;
|
||||
|
||||
interrupts-extended = <&tlmm 63 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
enable-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
|
||||
firmware-gpios = <&tlmm 79 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
pinctrl-0 = <&nfc_int_default &nfc_enable_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
/* Bottom spkr (right) CS35L36 @ 40 */
|
||||
|
||||
|
|
@ -459,6 +476,20 @@ &tlmm {
|
|||
gpio-reserved-ranges = < 0 4>, /* SPI (Intel MNH Pixel Visual Core) */
|
||||
<81 4>; /* SPI (most likely Fingerprint Cards FPC1075) */
|
||||
|
||||
nfc_int_default: nfc-int-default-state {
|
||||
pins = "gpio63";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
nfc_enable_default: nfc-enable-default-state {
|
||||
pins = "gpio25", "gpio79";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
touchscreen_reset: ts-reset-state {
|
||||
pins = "gpio99";
|
||||
function = "gpio";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user