Lines Matching +full:stm32mp15 +full:- +full:i2c

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@foss.st.com>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
14 - if:
19 - st,stm32f7-i2c
20 - st,stm32mp13-i2c
21 - st,stm32mp15-i2c
22 - st,stm32mp25-i2c
25 i2c-scl-rising-time-ns:
28 i2c-scl-falling-time-ns:
32 st,syscfg-fmp: false
34 - if:
39 - st,stm32f4-i2c
42 clock-frequency:
45 - if:
50 - st,stm32f4-i2c
51 - st,stm32f7-i2c
52 - st,stm32mp13-i2c
53 - st,stm32mp15-i2c
59 interrupt-names:
66 interrupt-names:
72 - st,stm32f4-i2c
73 - st,stm32f7-i2c
74 - st,stm32mp13-i2c
75 - st,stm32mp15-i2c
76 - st,stm32mp25-i2c
83 - description: interrupt ID for I2C event
84 - description: interrupt ID for I2C error
87 interrupt-names:
89 - const: event
90 - const: error
101 - description: RX DMA Channel phandle
102 - description: TX DMA Channel phandle
104 dma-names:
106 - const: rx
107 - const: tx
109 clock-frequency:
110 description: Desired I2C bus clock frequency in Hz. If not specified,
118 st,syscfg-fmp:
121 $ref: /schemas/types.yaml#/definitions/phandle-array
123 - items:
124 - description: phandle to syscfg
125 - description: register offset within syscfg
126 - description: register bitmask for FMP bit
128 wakeup-source: true
130 access-controllers:
135 - compatible
136 - reg
137 - interrupts
138 - resets
139 - clocks
144 - |
145 #include <dt-bindings/mfd/stm32f7-rcc.h>
146 #include <dt-bindings/clock/stm32fx-clock.h>
147 //Example 1 (with st,stm32f4-i2c compatible)
148 i2c@40005400 {
149 compatible = "st,stm32f4-i2c";
155 #address-cells = <1>;
156 #size-cells = <0>;
159 - |
160 #include <dt-bindings/mfd/stm32f7-rcc.h>
161 #include <dt-bindings/clock/stm32fx-clock.h>
162 //Example 2 (with st,stm32f7-i2c compatible)
163 i2c@40005800 {
164 compatible = "st,stm32f7-i2c";
170 #address-cells = <1>;
171 #size-cells = <0>;
174 - |
175 #include <dt-bindings/mfd/stm32f7-rcc.h>
176 #include <dt-bindings/clock/stm32fx-clock.h>
177 //Example 3 (with st,stm32mp15-i2c compatible on stm32mp)
178 #include <dt-bindings/interrupt-controller/arm-gic.h>
179 #include <dt-bindings/clock/stm32mp1-clks.h>
180 #include <dt-bindings/reset/stm32mp1-resets.h>
181 i2c@40013000 {
182 compatible = "st,stm32mp15-i2c";
188 i2c-scl-rising-time-ns = <185>;
189 i2c-scl-falling-time-ns = <20>;
190 st,syscfg-fmp = <&syscfg 0x4 0x2>;
191 #address-cells = <1>;
192 #size-cells = <0>;