Lines Matching +full:stm32h7 +full:- +full:spi
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 bindings
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
34 - st,stm32f4-spi
35 - st,stm32h7-spi
52 the STM32 DMA bindings Documentation/devicetree/bindings/dma/st,stm32-dma.yaml.
54 - description: rx DMA channel
55 - description: tx DMA channel
57 dma-names:
59 - const: rx
60 - const: tx
63 "^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-f]+$":
65 # SPI slave nodes must be children of the SPI master node and can
68 st,spi-midi-ns:
70 Only for STM32H7, (Master Inter-Data Idleness) minimum time
74 - compatible
75 - reg
76 - clocks
77 - interrupts
82 - |
83 #include <dt-bindings/interrupt-controller/arm-gic.h>
84 #include <dt-bindings/clock/stm32mp1-clks.h>
85 #include <dt-bindings/reset/stm32mp1-resets.h>
86 spi@4000b000 {
87 #address-cells = <1>;
88 #size-cells = <0>;
89 compatible = "st,stm32h7-spi";
96 dma-names = "rx", "tx";
97 cs-gpios = <&gpioa 11 0>;