Kernel-4.18.0-80.el8_fsl-spi

  • SPI (Serial Peripheral Interface)

Required properties:

Optional properties:

  • gpios : specifies the gpio pins to be used for chipselects.
    The gpios will be referred to as reg = in the SPI child nodes.
    If unspecified, a single SPI device without a chip select can be used.

Example:
spi@4c0 {
cell-index = <0>;
compatible = “fsl,spi”;
reg = <4c0 40>;
interrupts = <82 0>;
interrupt-parent = <700>;
mode = “cpu”;
gpios = <&gpio 18 1 // device reg=<0>
&gpio 19 1>; // device reg=<1>
};

  • eSPI (Enhanced Serial Peripheral Interface)

Required properties:

  • compatible : should be “fsl,mpc8536-espi”.
  • reg : Offset and length of the register set for the device.
  • interrupts : should contain eSPI interrupt, the device has one interrupt.
  • fsl,espi-num-chipselects : the number of the chipselect signals.

Optional properties:

  • fsl,csbef: chip select assertion time in bits before frame starts
  • fsl,csaft: chip select negation time in bits after frame ends

Example:
spi@110000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = “fsl,mpc8536-espi”;
reg = <0x110000 0x1000>;
interrupts = <53 0x2>;
interrupt-parent = <&mpic>;
fsl,espi-num-chipselects = <4>;
fsl,csbef = <1>;
fsl,csaft = <1>;
};