arm/dts: config GPIO58 input and pull down

As DVT1 HW design, milanf GPIO58 load to electric leakage. So need
to config GPIO58 to input and pull down. Don't need to use GPIO58
to control sgm7220 CC_EN pin.

Change-Id: I87c3e216630c7b928a48d96915c74df70be8dabf
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2113378
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
mahj8 2021-11-11 16:55:13 +08:00 • committed by panyq6
commit e30efff983

View file

@ -78,6 +78,25 @@
pins = "gpio48";
};
};
sgm7220_en_n: sgm7220_en_n {
mux {
pins = "gpio58";
function = "gpio";
};
config {
pins = "gpio58";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
};
};
&sgm7220 {
pinctrl-names = "default";
pinctrl-0 = <&sgm7220_int_n &sgm7220_en_n>;
};
&et528 {