ARM: dts: stm32: Enable I2C2 on DHCOM PDK2 carrier board
authorMarek Vasut <marex@denx.de>
Sun, 22 Mar 2020 18:40:08 +0000 (19:40 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Mon, 20 Apr 2020 10:15:23 +0000 (12:15 +0200)
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>
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts

index 06ea8c1..13b1586 100644 (file)
        };
 };
 
-&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>;