]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: st: add i2c2 pinmux nodes in stm32mp25-pinctrl.dtsi
authorAlain Volmat <alain.volmat@foss.st.com>
Tue, 24 Feb 2026 15:48:09 +0000 (16:48 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 25 Mar 2026 16:37:45 +0000 (17:37 +0100)
Add a 2nd set of i2c2 pinmux nodes (i2c2_pins_b/i2c2_sleep_pins_b)
in stm32mp25-pinctrl.dtsi in order to be used on the stm32mp257f-dk

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/20260224-stm32-i2c-dt-updates-v1-6-347cf6fca7d1@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi

index c34cd33cd855fb28b65a39b59b49e089345ce9a6..2f853f3fae6d84756300f19da32d6cb0297d9e20 100644 (file)
                };
        };
 
+       i2c2_pins_b: i2c2-1 {
+               pins {
+                       pinmux = <STM32_PINMUX('F', 2, AF9)>, /* I2C2_SCL */
+                                <STM32_PINMUX('F', 0, AF9)>; /* I2C2_SDA */
+                       bias-disable;
+                       drive-open-drain;
+                       slew-rate = <0>;
+               };
+       };
+
+       i2c2_sleep_pins_b: i2c2-sleep-1 {
+               pins {
+                       pinmux = <STM32_PINMUX('F', 2, ANALOG)>, /* I2C2_SCL */
+                                <STM32_PINMUX('F', 0, ANALOG)>; /* I2C2_SDA */
+               };
+       };
+
        ospi_port1_clk_pins_a: ospi-port1-clk-0 {
                pins {
                        pinmux = <STM32_PINMUX('D', 0, AF10)>; /* OSPI1_CLK */