devon: st21nfc bring up (4)
device tree setting for devon nfc. disable pm8008 dtsi. Change-Id: I981dbd97e5055c279a4c878c9acc513389e7abd7 Signed-off-by: longc101 <longc101@motorola.com> Reviewed-on: https://gerrit.mot.com/2213606 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-by: Zhenghai Pan <panzh2@lenovo.com> (cherry picked from commit 3a584c1ec41d36ca2ac7474c3357f9f171ce3507) Reviewed-on: https://gerrit.mot.com/2217608 Reviewed-by: Wang Wang <wangwang1@lenovo.com>
This commit is contained in:
1 parent
8843c66645
commit
ab1eb8e884
1 file changed
+82
@@ -32,6 +32,66 @@
|
||||
|
||||
|
||||
nfc {
|
||||
nfc_enable_active: nfc_enable_active {
|
||||
/* active state */
|
||||
mux {
|
||||
/* 69: Enable */
|
||||
pins = "gpio69";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio69";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_enable_suspend: nfc_enable_suspend{
|
||||
/* sleep state */
|
||||
mux {
|
||||
/* 69: Enable */
|
||||
pins = "gpio69";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio69";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_int_active: nfc_int_active {
|
||||
/* active state */
|
||||
mux {
|
||||
/* GPIO 70 NFC Read Interrupt */
|
||||
pins = "gpio70";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio70";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_int_suspend: nfc_int_suspend {
|
||||
/* sleep state */
|
||||
mux {
|
||||
/* GPIO 70 NFC Read Interrupt */
|
||||
pins = "gpio70";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio70";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_clk_req_active {
|
||||
/* active state */
|
||||
mux {
|
||||
@@ -70,6 +130,7 @@
|
||||
status = "okay";
|
||||
pinctrl-0 = <&qupv3_se1_i2c_act>;
|
||||
pinctrl-1 = <&qupv3_se1_i2c_sle>;
|
||||
/*
|
||||
sec-nfc@27 {
|
||||
compatible = "sec-nfc";
|
||||
reg = <0x27>;
|
||||
@@ -85,6 +146,27 @@
|
||||
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend &nfc_clk_req_suspend>;
|
||||
clock-names = "OSC_NFC";
|
||||
|
||||
}; */
|
||||
st21nfc@08 {
|
||||
compatible = "st,st21nfc";
|
||||
status = "ok"
|
||||
reg = <0x08>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <70 0>;
|
||||
st,reset_gpio = <&tlmm 69 0x00>;
|
||||
st,irq_gpio = <&tlmm 70 0x00>;
|
||||
st,clkreq_gpio = <&tlmm 71 0x00>;
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
||||
&pm8008_8 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pm8008_9 {
|
||||
status = "disabled";
|
||||
};
|
||||
Reference in new issue
Block a user