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


Based on kernel version 6.15. Page generated on 2025-05-29 09:09 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/fsl,espi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale eSPI (Enhanced Serial Peripheral Interface) controller

maintainers:
  - J. Neuschäfer <j.ne@posteo.net>

properties:
  compatible:
    const: fsl,mpc8536-espi

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  fsl,espi-num-chipselects:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [ 1, 4 ]
    description: The number of the chipselect signals.

  fsl,csbef:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 0
    maximum: 15
    description: Chip select assertion time in bits before frame starts

  fsl,csaft:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 0
    maximum: 15
    description: Chip select negation time in bits after frame ends

required:
  - compatible
  - reg
  - interrupts
  - fsl,espi-num-chipselects

allOf:
  - $ref: spi-controller.yaml#

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
 
    spi@110000 {
        compatible = "fsl,mpc8536-espi";
        reg = <0x110000 0x1000>;
        #address-cells = <1>;
        #size-cells = <0>;
        interrupts = <53 IRQ_TYPE_EDGE_FALLING>;
        fsl,espi-num-chipselects = <4>;
        fsl,csbef = <1>;
        fsl,csaft = <1>;
    };

...