DTS/milanf: config fg rt9426a dts

add fg rt9426a dts
i2c with se8_i2c
intr gpio with GPIO8

Change-Id: I8e2a99fbd914115e15504eb5cdc3cf94780d9a5e
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2041271
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liuyc20 2021-08-13 18:06:55 +08:00 • committed by panyq6
commit ecf33c9f20
2 changed files with 5 additions and 4 deletions

View file

@ -12,6 +12,7 @@
#include "blair-milanf-common-overlay.dtsi"
#include "blair-nopmi-moto-common-overlay.dtsi"
#include "tcpc_config.dtsi"
#include "rt9426a.dtsi"
&usb0 {
qcom,force-adb-enable;

View file

@ -1,11 +1,11 @@
#include <dt-bindings/interrupt-controller/irq.h>
&qupv3_se0_i2c {
&qupv3_se8_i2c {
rt9426a@55 {
compatible = "richtek,rt9426a";
reg = <0x55>;
status = "okay";
interrupts-extended = <&tlmm 14 IRQ_TYPE_LEVEL_LOW>;
interrupts-extended = <&tlmm 8 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&rt9426a_alert>;
rt,dtsi_version = <01 709>;
@ -95,12 +95,12 @@
&tlmm {
rt9426a_alert: rt9426a_alert {
mux {
pins = "gpio14";
pins = "gpio8";
function = "gpio";
};
config {
pins = "gpio14";
pins = "gpio8";
drive-strength = <2>;
bias-pull-up;
};