]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: add pin map for i2c3 controller on stm32f7
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 3 Sep 2023 20:48:44 +0000 (22:48 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 4 Oct 2023 11:26:02 +0000 (13:26 +0200)
commit 0637e66f8250c61f75042131fcb7f88ead2ad436 Linux upstream.

Add pin configurations for using i2c3 controller on stm32f7.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32f7-pinctrl.dtsi

index 000278ec2c58fe9482bb4a084b94f92a612f7af4..607fe42f4f46fdb714af0f93656cce1bacf43412 100644 (file)
                                };
                        };
 
+                       i2c3_pins_a: i2c3-0 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('H', 8, AF4)>, /* I2C3_SDA */
+                                                <STM32_PINMUX('H', 7, AF4)>; /* I2C3_SCL */
+                                       bias-disable;
+                                       drive-open-drain;
+                                       slew-rate = <0>;
+                               };
+                       };
+
                        usbotg_hs_pins_a: usbotg-hs-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('H', 4, AF10)>, /* OTG_HS_ULPI_NXT */