101 lines
2 KiB
Text
101 lines
2 KiB
Text
/* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
&tlmm {
|
|
|
|
fps {
|
|
rst_active: rst_active {
|
|
/* RESET */
|
|
mux {
|
|
pins = "gpio42";
|
|
function = "gpio";
|
|
};
|
|
config {
|
|
pins = "gpio42";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-disable;
|
|
output-low;
|
|
};
|
|
};
|
|
|
|
rst_suspend: rst_suspend{
|
|
/* RESET */
|
|
mux {
|
|
pins = "gpio42";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio42";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-pull-down; /* pull down */
|
|
output-high;
|
|
};
|
|
};
|
|
|
|
int_active: int_active {
|
|
/* INTERRUPT */
|
|
mux {
|
|
pins = "gpio40";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio40";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-pull-down; /* pull down */
|
|
input-enable;
|
|
};
|
|
};
|
|
|
|
int_suspend: int_suspend{
|
|
/* INTERRUPT */
|
|
mux {
|
|
pins = "gpio40";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio40";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-pull-down; /* pull down */
|
|
input-enable;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&L14B {
|
|
regulator-max-microvolt = <3300000>;
|
|
qcom,init-voltage = <3300000>;
|
|
status = "ok";
|
|
};
|
|
|
|
&soc {
|
|
qcom,qbt_handler {
|
|
status = "disabled";
|
|
};
|
|
|
|
fpc: fpc_fpc1020 {
|
|
compatible = "fpc,fpc1020";
|
|
status = "ok";
|
|
irq = <&tlmm 40 0>;
|
|
rst = <&tlmm 42 0>;
|
|
delay-ctrl-support;
|
|
rgltr-ctrl-support;
|
|
fp,vdd-supply=<&L14B>;
|
|
fp,voltage-range = <3300000 3300000>;
|
|
pinctrl-names = "default", "suspend";
|
|
pinctrl-0 = <&int_active &rst_active>;
|
|
pinctrl-1 = < &int_suspend &rst_suspend>;
|
|
};
|
|
};
|