]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: st: describe i2c2 / i2c8 on stm32mp257f-dk
authorAlain Volmat <alain.volmat@foss.st.com>
Tue, 24 Feb 2026 15:48:11 +0000 (16:48 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 25 Mar 2026 16:37:46 +0000 (17:37 +0100)
Add nodes for i2c2 and i2c8 available on stm32mp257f-dk board.

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

index 4135e7c0d9a359eec905fe2d8851719f37d66b86..220d977e9aa9f8731ab98c3b18c049a38cfb1d92 100644 (file)
        };
 };
 
+&i2c2 {
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&i2c2_pins_b>;
+       pinctrl-1 = <&i2c2_sleep_pins_b>;
+       i2c-scl-rising-time-ns = <108>;
+       i2c-scl-falling-time-ns = <12>;
+       clock-frequency = <400000>;
+       status = "okay";
+       /* spare dmas for other usage */
+       /delete-property/dmas;
+       /delete-property/dma-names;
+};
+
+&i2c8 {
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&i2c8_pins_a>;
+       pinctrl-1 = <&i2c8_sleep_pins_a>;
+       i2c-scl-rising-time-ns = <185>;
+       i2c-scl-falling-time-ns = <20>;
+       clock-frequency = <100000>;
+       status = "disabled";
+       /* spare dmas for other usage */
+       /delete-property/dmas;
+       /delete-property/dma-names;
+};
+
 &scmi_regu {
        scmi_vddio1: regulator@0 {
                regulator-min-microvolt = <1800000>;