]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp157c-ed1
authorAlain Volmat <alain.volmat@st.com>
Fri, 13 Mar 2020 11:46:29 +0000 (12:46 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 13 Mar 2020 11:47:21 +0000 (12:47 +0100)
On this board, the I2C4 bus has only a single slave (pmic) which
supports I2C Fast Mode hence setting bus frequency to 400 KHz.

Signed-off-by: Alain Volmat <alain.volmat@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c-ed1.dts

index c84f14b1737197369746f7a0a68e6b3d0a40141a..d5f36572840312e755f58bf258393b4984979170 100644 (file)
        pinctrl-0 = <&i2c4_pins_a>;
        i2c-scl-rising-time-ns = <185>;
        i2c-scl-falling-time-ns = <20>;
+       clock-frequency = <400000>;
        status = "okay";
        /* spare dmas for other usage */
        /delete-property/dmas;