Commit 9d9aa7ec authored by Pierre-Yves MORDRET's avatar Pierre-Yves MORDRET Committed by Wolfram Sang

dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7

Append optional bindings to update SYSCFG Fast Mode Plus bits if
Fast Mode Plus speed is selected.
Signed-off-by: default avatarPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent e79ba3b5
...@@ -26,6 +26,11 @@ Optional properties : ...@@ -26,6 +26,11 @@ Optional properties :
- i2c-scl-falling-time-ns : Only for STM32F7, I2C SCL Falling time for the board - i2c-scl-falling-time-ns : Only for STM32F7, I2C SCL Falling time for the board
(default: 10) (default: 10)
I2C Timings are derived from these 2 values I2C Timings are derived from these 2 values
- st,syscfg-fmp: Only for STM32F7, use to set Fast Mode Plus bit within SYSCFG
whether Fast Mode Plus speed is selected by slave.
1st cell : phandle to syscfg
2nd cell : register offset within SYSCFG
3rd cell : register bitmask for FMP bit
Example : Example :
...@@ -53,4 +58,5 @@ Example : ...@@ -53,4 +58,5 @@ Example :
clocks = <&rcc 1 CLK_I2C1>; clocks = <&rcc 1 CLK_I2C1>;
pinctrl-0 = <&i2c1_sda_pin>, <&i2c1_scl_pin>; pinctrl-0 = <&i2c1_sda_pin>, <&i2c1_scl_pin>;
pinctrl-names = "default"; pinctrl-names = "default";
st,syscfg-fmp = <&syscfg 0x4 0x1>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment