Lines Matching +full:i2c +full:- +full:fast +full:- +full:mode
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/i2c/st,stm32-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: I2C controller embedded in STMicroelectronics STM32 I2C platform
10 - Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
14 - if:
19 - st,stm32f7-i2c
20 - st,stm32mp15-i2c
23 i2c-scl-rising-time-ns:
26 i2c-scl-falling-time-ns:
29 st,syscfg-fmp:
30 description: Use to set Fast Mode Plus bit within SYSCFG when
31 Fast Mode Plus speed is selected by slave.
34 $ref: "/schemas/types.yaml#/definitions/phandle-array"
39 - if:
44 - st,stm32f4-i2c
47 clock-frequency:
53 - st,stm32f4-i2c
54 - st,stm32f7-i2c
55 - st,stm32mp15-i2c
62 - description: interrupt ID for I2C event
63 - description: interrupt ID for I2C error
73 - description: RX DMA Channel phandle
74 - description: TX DMA Channel phandle
76 dma-names:
78 - const: rx
79 - const: tx
81 clock-frequency:
82 description: Desired I2C bus clock frequency in Hz. If not specified,
91 - compatible
92 - reg
93 - interrupts
94 - resets
95 - clocks
100 - |
101 #include <dt-bindings/mfd/stm32f7-rcc.h>
102 #include <dt-bindings/clock/stm32fx-clock.h>
103 //Example 1 (with st,stm32f4-i2c compatible)
104 i2c@40005400 {
105 compatible = "st,stm32f4-i2c";
106 #address-cells = <1>;
107 #size-cells = <0>;
115 //Example 2 (with st,stm32f7-i2c compatible)
116 i2c@40005800 {
117 compatible = "st,stm32f7-i2c";
118 #address-cells = <1>;
119 #size-cells = <0>;
127 //Example 3 (with st,stm32mp15-i2c compatible on stm32mp)
128 #include <dt-bindings/interrupt-controller/arm-gic.h>
129 #include <dt-bindings/clock/stm32mp1-clks.h>
130 #include <dt-bindings/reset/stm32mp1-resets.h>
131 i2c@40013000 {
132 compatible = "st,stm32mp15-i2c";
133 #address-cells = <1>;
134 #size-cells = <0>;
140 i2c-scl-rising-time-ns = <185>;
141 i2c-scl-falling-time-ns = <20>;
142 st,syscfg-fmp = <&syscfg 0x4 0x2>;