From db7c8ec8e5de0f6bc1947772ad856acd111fd2fa Mon Sep 17 00:00:00 2001 From: Melody Olvera Date: Tue, 2 Aug 2022 10:49:04 -0700 Subject: [PATCH] ARM: dts: msm: Add bindings for IO expander for cinder Add bindings for IO expander for cinder SoCs. Change-Id: Ic8a53f805288c087de587cfdf7c45967019cb0c9 --- qcom/cinder-idp.dtsi | 28 ++++++++++++++++++++++++++++ qcom/cinder-x100.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/qcom/cinder-idp.dtsi b/qcom/cinder-idp.dtsi index 9075fe33..0420f3ff 100644 --- a/qcom/cinder-idp.dtsi +++ b/qcom/cinder-idp.dtsi @@ -54,3 +54,31 @@ }; }; }; + +&qupv3_se5_i2c { + clock-frequency = <400000>; + status = "ok"; + + exp0: gpio@21 { + compatible = "ti,tca6408"; + reg = <0x21>; + vcc-supply = <&L15A>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&qupv3_se6_i2c { + clock-frequency = <400000>; + status = "ok"; + + exp1: gpio@20 { + compatible = "ti,tca6408"; + reg = <0x20>; + interrupt-parent = <&intc>; + interrupts = ; + vcc-supply = <&L15A>; + gpio-controller; + #gpio-cells = <2>; + }; +}; diff --git a/qcom/cinder-x100.dtsi b/qcom/cinder-x100.dtsi index 37a75554..42a2c2af 100644 --- a/qcom/cinder-x100.dtsi +++ b/qcom/cinder-x100.dtsi @@ -42,3 +42,31 @@ }; }; }; + +&qupv3_se5_i2c { + clock-frequency = <400000>; + status = "ok"; + + exp0: gpio@21 { + compatible = "ti,tca6408"; + reg = <0x21>; + vcc-supply = <&L15A>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&qupv3_se6_i2c { + clock-frequency = <400000>; + status = "ok"; + + exp1: gpio@20 { + compatible = "ti,tca6408"; + reg = <0x20>; + interrupt-parent = <&intc>; + interrupts = ; + vcc-supply = <&L15A>; + gpio-controller; + #gpio-cells = <2>; + }; +};