ARM: dts: stm32: add pin map for i2c3 controller on stm32f7
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 4 Jul 2023 17:34:06 +0000 (19:34 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 11 Jul 2023 10:47:58 +0000 (12:47 +0200)
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>
arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi

index 9f65403295ca059fc917e1c575a32b77cab96a56..c8dfda7bd04fcc3b80a79d6e45a3825f063c5ad4 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 */