Debian Codegraph @

Documentation/devicetree/bindings/spi/fsl,espi.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/spi/fsl,espi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Freescale eSPI (Enhanced Serial Peripheral Interface) controller
8
9 maintainers:
10 - J. Neuschäfer <[email protected]>
11
12 properties:
13 compatible:
14 const: fsl,mpc8536-espi
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 maxItems: 1
21
22 fsl,espi-num-chipselects:
23 $ref: /schemas/types.yaml#/definitions/uint32
24 enum: [ 1, 4 ]
25 description: The number of the chipselect signals.
26
27 fsl,csbef:
28 $ref: /schemas/types.yaml#/definitions/uint32
29 minimum: 0
30 maximum: 15
31 description: Chip select assertion time in bits before frame starts
32
33 fsl,csaft:
34 $ref: /schemas/types.yaml#/definitions/uint32
35 minimum: 0
36 maximum: 15
37 description: Chip select negation time in bits after frame ends
38
39 required:
40 - compatible
41 - reg
42 - interrupts
43 - fsl,espi-num-chipselects
44
45 allOf:
46 - $ref: spi-controller.yaml#
47
48 unevaluatedProperties: false
49
50 examples:
51 - |
52 #include <dt-bindings/interrupt-controller/irq.h>
53
54 spi@110000 {
55 compatible = "fsl,mpc8536-espi";
56 reg = <0x110000 0x1000>;
57 #address-cells = <1>;
58 #size-cells = <0>;
59 interrupts = <53 IRQ_TYPE_EDGE_FALLING>;
60 fsl,espi-num-chipselects = <4>;
61 fsl,csbef = <1>;
62 fsl,csaft = <1>;
63 };
64
65 ...