Lines Matching +full:stm32 +full:- +full:rcc
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/st,stm32-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 SPI Controller
10 The STM32 SPI controller is used to communicate with external devices using
11 the Serial Peripheral Interface. It supports full-duplex, half-duplex and
13 from 4 to 32-bit data size.
16 - Erwan Leray <erwan.leray@foss.st.com>
17 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
20 - $ref: spi-controller.yaml#
21 - if:
25 const: st,stm32f4-spi
29 st,spi-midi-ns: false
33 dma-names:
35 - const: rx
36 - const: tx
38 - if:
42 const: st,stm32mp25-spi
49 dma-names:
51 - const: rx
52 - const: tx
57 - st,stm32f4-spi
58 - st,stm32f7-spi
59 - st,stm32h7-spi
60 - st,stm32mp25-spi
77 the STM32 DMA bindings Documentation/devicetree/bindings/dma/stm32/st,*dma.yaml
80 - description: rx DMA channel
81 - description: tx DMA channel
82 - description: rxm2m MDMA channel
84 dma-names:
87 - const: rx
88 - const: tx
89 - const: rxm2m
99 access-controllers:
104 - compatible
105 - reg
106 - clocks
107 - interrupts
112 - |
113 #include <dt-bindings/interrupt-controller/arm-gic.h>
114 #include <dt-bindings/clock/stm32mp1-clks.h>
115 #include <dt-bindings/reset/stm32mp1-resets.h>
117 #address-cells = <1>;
118 #size-cells = <0>;
119 compatible = "st,stm32h7-spi";
122 clocks = <&rcc SPI2_K>;
123 resets = <&rcc SPI2_R>;
126 dma-names = "rx", "tx";
127 cs-gpios = <&gpioa 11 0>;