Message ID | 20200322184008.3115163-1-marex@denx.de (mailing list archive) |
---|---|
State | Mainlined |
Commit | a49e244797f92bc32286cdbb7ab6621bca1c553b |
Headers | show |
Series | ARM: dts: stm32: Enable I2C2 on DHCOM PDK2 carrier board | expand |
Hi Marek On 3/22/20 7:40 PM, Marek Vasut wrote: > The I2C2 is routed out to header X21, enable it to make it available. > Add a comment to I2C5, which is routed to header X22 right next to it. > > Signed-off-by: Marek Vasut <marex@denx.de> > Cc: Alexandre Torgue <alexandre.torgue@st.com> > Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> > Cc: Patrice Chotard <patrice.chotard@st.com> > Cc: Patrick Delaunay <patrick.delaunay@st.com> > Cc: linux-stm32@st-md-mailman.stormreply.com > To: linux-arm-kernel@lists.infradead.org > --- Applied on stm32-next. Thanks. Alex > arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts > index 093cf9605807..3589d81441b1 100644 > --- a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts > +++ b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts > @@ -97,7 +97,19 @@ phy0: ethernet-phy@1 { > }; > }; > > -&i2c5 { > +&i2c2 { /* Header X22 */ > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c2_pins_a>; > + i2c-scl-rising-time-ns = <185>; > + i2c-scl-falling-time-ns = <20>; > + status = "okay"; > + /* spare dmas for other usage */ > + /delete-property/dmas; > + /delete-property/dma-names; > + status = "okay"; > +}; > + > +&i2c5 { /* Header X21 */ > pinctrl-names = "default"; > pinctrl-0 = <&i2c5_pins_a>; > i2c-scl-rising-time-ns = <185>; >
diff --git a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts index 093cf9605807..3589d81441b1 100644 --- a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts +++ b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts @@ -97,7 +97,19 @@ phy0: ethernet-phy@1 { }; }; -&i2c5 { +&i2c2 { /* Header X22 */ + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins_a>; + i2c-scl-rising-time-ns = <185>; + i2c-scl-falling-time-ns = <20>; + status = "okay"; + /* spare dmas for other usage */ + /delete-property/dmas; + /delete-property/dma-names; + status = "okay"; +}; + +&i2c5 { /* Header X21 */ pinctrl-names = "default"; pinctrl-0 = <&i2c5_pins_a>; i2c-scl-rising-time-ns = <185>;
The I2C2 is routed out to header X21, enable it to make it available. Add a comment to I2C5, which is routed to header X22 right next to it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org --- arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)