ARM: dts: stm32: Repair I2C2 operation on AV96
authorMarek Vasut <marex@denx.de>
Wed, 29 Apr 2020 16:37:33 +0000 (18:37 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Thu, 7 May 2020 12:48:06 +0000 (14:48 +0200)
The I2C2 uses different pinmux on AV96, use correct pinmux and
also add comments about the I2C being present on the "low-speed"
expansion connector X6.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
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/stm32mp157a-avenger96.dts

index 271f38acfeb9e0edf18a88a9a36d4b942fd791d1..438c2f70813e9a55046cc464c6a80682000795c1 100644 (file)
        };
 };
 
-&i2c1 {
+&i2c1 {        /* X6 I2C1 */
        pinctrl-names = "default";
        pinctrl-0 = <&i2c1_pins_b>;
        i2c-scl-rising-time-ns = <185>;
        /delete-property/dma-names;
 };
 
-&i2c2 {
+&i2c2 {        /* X6 I2C2 */
        pinctrl-names = "default";
-       pinctrl-0 = <&i2c2_pins_b1 &i2c2_pins_b2>;
+       pinctrl-0 = <&i2c2_pins_c>;
        i2c-scl-rising-time-ns = <185>;
        i2c-scl-falling-time-ns = <20>;
        status = "okay";