arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1
authorAlain Volmat <alain.volmat@foss.st.com>
Fri, 15 Dec 2023 17:06:13 +0000 (18:06 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 25 Apr 2024 13:00:30 +0000 (15:00 +0200)
Add properties for i2c2 and i2c8 available on the stm32mp257f-ev1.
i2c2 is enabled since several devices are attached to it while
i2c8 is kept disabled since only used via the gpio expansion connector.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts

index b2d3afb157585e6b4a28f40db0cc55058eddf1e0..0ea8e69bfb3d369f9928661f40bd06be57a2192e 100644 (file)
        status = "okay";
 };
 
+&i2c2 {
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&i2c2_pins_a>;
+       pinctrl-1 = <&i2c2_sleep_pins_a>;
+       i2c-scl-rising-time-ns = <100>;
+       i2c-scl-falling-time-ns = <13>;
+       clock-frequency = <400000>;
+       status = "okay";
+};
+
+&i2c8 {
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&i2c8_pins_a>;
+       pinctrl-1 = <&i2c8_sleep_pins_a>;
+       i2c-scl-rising-time-ns = <57>;
+       i2c-scl-falling-time-ns = <7>;
+       clock-frequency = <400000>;
+       status = "disabled";
+};
+
 &sdmmc1 {
        pinctrl-names = "default", "opendrain", "sleep";
        pinctrl-0 = <&sdmmc1_b4_pins_a>;