diff options
author | Marek Vasut <marex@denx.de> | 2020-03-22 19:40:08 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2020-04-20 12:15:23 +0200 |
commit | a49e244797f92bc32286cdbb7ab6621bca1c553b (patch) | |
tree | d13f0e1db47c3dd048cbeb8218e7665df6a6c4a4 /arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts | |
parent | bc1aa0919284679c71853577f3003d8aa1ff9720 (diff) | |
download | lwn-a49e244797f92bc32286cdbb7ab6621bca1c553b.tar.gz lwn-a49e244797f92bc32286cdbb7ab6621bca1c553b.zip |
ARM: dts: stm32: Enable I2C2 on DHCOM PDK2 carrier board
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
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts index 06ea8c1a7c56..13b1586d4a8f 100644 --- a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts +++ b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts @@ -96,7 +96,19 @@ }; }; -&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>; |