]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Repair I2C2 operation on AV96
authorMarek Vasut <marex@denx.de>
Tue, 26 May 2020 02:30:22 +0000 (04:30 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 28 May 2020 06:52:04 +0000 (08:52 +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: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts

index 1b0579c8abddb4ce6b727d9f1c7a5d62b2b8a3e2..7f2e4b98a723305093bcac015675ed0630973d7a 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";