]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: stm32: Add I2C1 support for STM32F746 eval board
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Mon, 16 Oct 2017 11:58:57 +0000 (13:58 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Mon, 16 Oct 2017 11:59:55 +0000 (13:59 +0200)
This patch adds I2C1 support for STM32F746 eval board

Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32746g-eval.dts

index 69a957963fa8c96d1586bdd2a8d7df2732d42904..f83858eabfc260b9e2ce8fae258c1b3705ab7a3a 100644 (file)
@@ -93,6 +93,14 @@ &crc {
        status = "okay";
 };
 
+&i2c1 {
+       pinctrl-0 = <&i2c1_pins_b>;
+       pinctrl-names = "default";
+       i2c-scl-rising-time-ns = <185>;
+       i2c-scl-falling-time-ns = <20>;
+       status = "okay";
+};
+
 &rtc {
        status = "okay";
 };