mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
arm64/dt: fogo: bring up sn220E nfc
Bring up NXP SN220E nfc controller. Change-Id: I2c3ca42610aaf4868c38a7ce8f754d7ac1097677 Signed-off-by: wuwl10 <wuwl10@lenovo.com> Reviewed-on: https://gerrit.mot.com/2676492 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Hujun Liao <liaohj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a9f1fb7c6a
commit
93dc71a454
1 changed files with 14 additions and 17 deletions
|
|
@ -92,12 +92,12 @@
|
|||
|
||||
nfc_enable_suspend: nfc_enable_suspend {
|
||||
mux {
|
||||
pins = "gpio48";
|
||||
pins = "gpio6";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio48";
|
||||
pins = "gpio6";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
|
|
@ -281,24 +281,21 @@
|
|||
|
||||
&qupv3_se7_i2c {
|
||||
status = "ok"
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
sec-nfc@27 {
|
||||
compatible = "sec-nfc";
|
||||
reg = <0x27>;
|
||||
sec-nfc,ven-gpio = <&tlmm 48 0x00>;
|
||||
sec-nfc,firm-gpio = <&tlmm 135 0x00>;
|
||||
sec-nfc,irq-gpio = <&tlmm 9 0x00>;
|
||||
sec-nfc,clk_req-gpio = <&tlmm 7 0x00>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
nq@28 {
|
||||
compatible = "qcom,sn-nci";
|
||||
reg = <0x28>;
|
||||
qcom,sn-irq = <&tlmm 9 0x00>;
|
||||
qcom,sn-ven = <&tlmm 6 0x00>;
|
||||
qcom,sn-clkreq = <&tlmm 7 0x00>;
|
||||
qcom,sn-vdd-1p8-supply = <&L9A>;
|
||||
qcom,sn-vdd-1p8-voltage = <1800000 1800000>;
|
||||
qcom,sn-vdd-1p8-current = <157000>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <9 0>;
|
||||
interrupt-names = "nfc_irq";
|
||||
pinctrl-names = "nfc_active", "nfc_suspend";
|
||||
pinctrl-0 = <&nfc_int_active &nfc_enable_active
|
||||
&nfc_clk_req_active>;
|
||||
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend
|
||||
&nfc_clk_req_suspend>;
|
||||
clock-names = "OSC_NFC";
|
||||
pinctrl-0 = <&nfc_int_active &nfc_enable_active>;
|
||||
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue