init dts for hawaii+ oled(hawao) device Change-Id: Idcaa74defa33596157765ede4e6092b211bfecd8 Reviewed-on: https://gerrit.mot.com/2123113 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-by: Xianhong Li <lixh8@lenovo.com> (cherry picked from commit 5692e70e0f18a86a7f5dc3b37858762356f94aba) Reviewed-on: https://gerrit.mot.com/2129460 Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
194 lines
3.6 KiB
Devicetree
194 lines
3.6 KiB
Devicetree
|
|
&tlmm {
|
|
|
|
fps {
|
|
|
|
fingerfp_rst_high: fingerfp_rst_high {
|
|
mux {
|
|
pins = "gpio3";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio3";
|
|
drive-strength = <8>;
|
|
output-high;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
fingerfp_rst_low: fingerfp_rst_low {
|
|
mux {
|
|
pins = "gpio3";
|
|
function = "gpio";
|
|
};
|
|
config {
|
|
pins = "gpio3";
|
|
drive-strength = <8>;
|
|
output-low;
|
|
bias-pull-down;
|
|
};
|
|
};
|
|
|
|
fingerfp_irq_active: fingerfp_irq_active {
|
|
mux {
|
|
pins = "gpio83";
|
|
function = "gpio";
|
|
};
|
|
config {
|
|
pins = "gpio83";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
input-enable;
|
|
};
|
|
};
|
|
|
|
fingerfp_vcc_high: fingerfp_vcc_high {
|
|
mux {
|
|
pins = "gpio54";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio54";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
output-high;
|
|
};
|
|
};
|
|
|
|
fingerfp_vcc_low: fingerfp_vcc_low {
|
|
mux {
|
|
pins = "gpio54";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio54";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
output-low;
|
|
};
|
|
};
|
|
|
|
|
|
pmx_fp_pwr_high {
|
|
fingerprint_pins_power_output1: fingerprint_pins_power_output1 {
|
|
mux {
|
|
pins = "gpio54";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio54";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
output-high;
|
|
};
|
|
};
|
|
};
|
|
|
|
pmx_fp_pwr_low {
|
|
fingerprint_pins_power_output0: fingerprint_pins_power_output0 {
|
|
mux {
|
|
pins = "gpio54";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio54";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
output-low;
|
|
};
|
|
};
|
|
};
|
|
|
|
pmx_fp_int_active {
|
|
|
|
fingerprint_pins_eint_as_int: fingerprint_pins_eint_as_int
|
|
{
|
|
mux {
|
|
pins = "gpio83";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio83";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
input-enable;
|
|
};
|
|
};
|
|
};
|
|
|
|
pmx_fp_reset_active {
|
|
fingerprint_pins_rst_output1: fingerprint_pins_rst_output1 {
|
|
mux {
|
|
pins = "gpio3";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio3";
|
|
drive-strength = <8>;
|
|
bias-disable;
|
|
output-high;
|
|
};
|
|
};
|
|
};
|
|
|
|
pmx_fp_reset_suspend {
|
|
fingerprint_pins_rst_output0: fingerprint_pins_rst_output0 {
|
|
mux {
|
|
pins = "gpio3";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio3";
|
|
drive-strength = <8>;
|
|
bias-disable;
|
|
output-low;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&soc {
|
|
|
|
et528: et528 {
|
|
status = "ok"
|
|
compatible = "fp-egistec";
|
|
fp-ctrl-power;
|
|
fp-gpio-vcc-enable;
|
|
egistec,gpio_irq = <&tlmm 83 0x00>;
|
|
egistec,gpio_reset = <&tlmm 3 0x00>;
|
|
egistec,gpio_vcc_en = <&tlmm 54 0x00>;
|
|
pinctrl-names = "egis_rst_high", "egis_rst_low", "egis_irq_active","egis_vcc_high","egis_vcc_low";
|
|
pinctrl-0 = <&fingerfp_rst_high>;
|
|
pinctrl-1 = <&fingerfp_rst_low>;
|
|
pinctrl-2 = <&fingerfp_irq_active>;
|
|
pinctrl-3 = <&fingerfp_vcc_high>;
|
|
pinctrl-4 = <&fingerfp_vcc_low>;
|
|
};
|
|
|
|
focalfp_ft9362 {
|
|
status = "ok"
|
|
compatible = "focaltech,fingerprint";
|
|
interrupt-parent = <&tlmm>;
|
|
interrupts = <83 0x0>;
|
|
fp,reset_gpio = <&tlmm 3 0>;
|
|
fp,irq_gpio = <&tlmm 83 0>;
|
|
fp,vdd_gpio = <&tlmm 54 0>;
|
|
|
|
pinctrl-names = "fpsensor_finger_power_high","fpsensor_finger_power_low","fpsensor_finger_rst_low","fpsensor_finger_rst_high","fpsensor_eint_as_int";
|
|
pinctrl-0 = <&fingerprint_pins_power_output1>;
|
|
pinctrl-1 = <&fingerprint_pins_power_output0>;
|
|
pinctrl-2 = <&fingerprint_pins_rst_output0>;
|
|
pinctrl-3 = <&fingerprint_pins_rst_output1>;
|
|
pinctrl-4 = <&fingerprint_pins_eint_as_int>;
|
|
};
|
|
};
|