Skip to contentSkip to conversation

ARM: dts: stm32: Add pin map for I2C3 controller on stm32f4

PATCH Superseded [email protected] 1 participant 1 message May 7, 2020

Subsystems (2)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 ARM: dts: stm32: Add pin map for I2C3 controller on stm32f4

From: dillon min <[email protected]>

This patch adds the pin configuration for I2C3 controller on stm32f4.

---
 arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/stm32f4-pinctrl.dtsi +12 -0
index 392fa14..051f336 100644
@@ -316,6 +316,18 @@
 				};
 			};
 
+			i2c3_pins: i2c3-0 {
+				pins {
+					pinmux = <STM32_PINMUX('C', 9, AF4)>,
+						/* I2C3_SDA */
+						 <STM32_PINMUX('A', 8, AF4)>;
+						/* I2C3_SCL */
+					bias-disable;
+					drive-open-drain;
+					slew-rate = <3>;
+				};
+			};
+
 			dcmi_pins: dcmi-0 {
 				pins {
 					pinmux = <STM32_PINMUX('A', 4, AF13)>, /* DCMI_HSYNC */
Signature · 1 line
2.7.4