blob: df03743ace534cca46fdc4e797694db31d40e412 [file] [log] [blame]
Patrice Chotard4fadcaf2017-08-09 14:45:27 +02001* I2C controller embedded in STMicroelectronis STM32 platforms
2
3Required properties :
4- compatible : Must be "st,stm32f7-i2c"
5- reg : Offset and length of the register set for the device
6- resets: Must contain the phandle to the reset controller
7- clocks: Must contain the input clock of the I2C instance
8- A pinctrl state named "default" must be defined to set pins in mode of
9 operation for I2C transfer
10- #address-cells = <1>;
11- #size-cells = <0>;
12
13Optional properties :
14- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
15 the default 100 kHz frequency will be used. As only Normal, Fast and Fast+
16 modes are implemented, possible values are 100000, 400000 and 1000000.
17
18Example :
19
20 i2c1: i2c@40005400 {
21 compatible = "st,stm32f7-i2c";
22 reg = <0x40005400 0x400>;
23 resets = <&rcc 181>;
24 clocks = <&clk_pclk1>;
25 pinctrl-names = "default";
26 pinctrl-0 = <&pinctrl_i2c1>;
27 clock-frequency = <400000>;
28 #address-cells = <1>;
29 #size-cells = <0>;
30 };