1*7ec844a2SAlain Volmat# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*7ec844a2SAlain Volmat%YAML 1.2
3*7ec844a2SAlain Volmat---
4*7ec844a2SAlain Volmat$id: http://devicetree.org/schemas/spi/st,ssc-spi.yaml#
5*7ec844a2SAlain Volmat$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7ec844a2SAlain Volmat
7*7ec844a2SAlain Volmattitle: STMicroelectronics SSC SPI Controller
8*7ec844a2SAlain Volmat
9*7ec844a2SAlain Volmatdescription: |
10*7ec844a2SAlain Volmat  The STMicroelectronics SSC SPI controller can be found on STi platforms
11*7ec844a2SAlain Volmat  and it used to communicate with external devices using the
12*7ec844a2SAlain Volmat  Serial Peripheral Interface.
13*7ec844a2SAlain Volmat
14*7ec844a2SAlain Volmatmaintainers:
15*7ec844a2SAlain Volmat  - Patrice Chotard <patrice.chotard@foss.st.com>
16*7ec844a2SAlain Volmat
17*7ec844a2SAlain VolmatallOf:
18*7ec844a2SAlain Volmat  - $ref: spi-controller.yaml#
19*7ec844a2SAlain Volmat
20*7ec844a2SAlain Volmatproperties:
21*7ec844a2SAlain Volmat  compatible:
22*7ec844a2SAlain Volmat    const: st,comms-ssc4-spi
23*7ec844a2SAlain Volmat
24*7ec844a2SAlain Volmat  reg:
25*7ec844a2SAlain Volmat    maxItems: 1
26*7ec844a2SAlain Volmat
27*7ec844a2SAlain Volmat  clocks:
28*7ec844a2SAlain Volmat    maxItems: 1
29*7ec844a2SAlain Volmat
30*7ec844a2SAlain Volmat  clock-names:
31*7ec844a2SAlain Volmat    const: ssc
32*7ec844a2SAlain Volmat
33*7ec844a2SAlain Volmat  interrupts:
34*7ec844a2SAlain Volmat    maxItems: 1
35*7ec844a2SAlain Volmat
36*7ec844a2SAlain Volmatrequired:
37*7ec844a2SAlain Volmat  - compatible
38*7ec844a2SAlain Volmat  - reg
39*7ec844a2SAlain Volmat  - clocks
40*7ec844a2SAlain Volmat  - clock-names
41*7ec844a2SAlain Volmat  - interrupts
42*7ec844a2SAlain Volmat
43*7ec844a2SAlain VolmatunevaluatedProperties: false
44*7ec844a2SAlain Volmat
45*7ec844a2SAlain Volmatexamples:
46*7ec844a2SAlain Volmat  - |
47*7ec844a2SAlain Volmat    #include <dt-bindings/interrupt-controller/arm-gic.h>
48*7ec844a2SAlain Volmat    #include <dt-bindings/clock/stih407-clks.h>
49*7ec844a2SAlain Volmat    spi@9840000 {
50*7ec844a2SAlain Volmat      compatible = "st,comms-ssc4-spi";
51*7ec844a2SAlain Volmat      reg = <0x9840000 0x110>;
52*7ec844a2SAlain Volmat      interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
53*7ec844a2SAlain Volmat      clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
54*7ec844a2SAlain Volmat      clock-names = "ssc";
55*7ec844a2SAlain Volmat      pinctrl-0 = <&pinctrl_spi0_default>;
56*7ec844a2SAlain Volmat      pinctrl-names = "default";
57*7ec844a2SAlain Volmat      #address-cells = <1>;
58*7ec844a2SAlain Volmat      #size-cells = <0>;
59*7ec844a2SAlain Volmat    };
60*7ec844a2SAlain Volmat
61*7ec844a2SAlain Volmat...
62