1* SPI (Serial Peripheral Interface) 2 3Required properties: 4- cell-index : QE SPI subblock index. 5 0: QE subblock SPI1 6 1: QE subblock SPI2 7- compatible : should be "fsl,spi" or "aeroflexgaisler,spictrl". 8- mode : the SPI operation mode, it can be "cpu" or "cpu-qe". 9- reg : Offset and length of the register set for the device 10- interrupts : <a b> where a is the interrupt number and b is a 11 field that represents an encoding of the sense and level 12 information for the interrupt. This should be encoded based on 13 the information in section 2) depending on the type of interrupt 14 controller you have. 15- clock-frequency : input clock frequency to non FSL_SOC cores 16 17Optional properties: 18- gpios : specifies the gpio pins to be used for chipselects. 19 The gpios will be referred to as reg = <index> in the SPI child nodes. 20 If unspecified, a single SPI device without a chip select can be used. 21 22Example: 23 spi@4c0 { 24 cell-index = <0>; 25 compatible = "fsl,spi"; 26 reg = <4c0 40>; 27 interrupts = <82 0>; 28 interrupt-parent = <700>; 29 mode = "cpu"; 30 gpios = <&gpio 18 1 // device reg=<0> 31 &gpio 19 1>; // device reg=<1> 32 }; 33 34 35* eSPI (Enhanced Serial Peripheral Interface) 36 37Required properties: 38- compatible : should be "fsl,mpc8536-espi". 39- reg : Offset and length of the register set for the device. 40- interrupts : should contain eSPI interrupt, the device has one interrupt. 41- fsl,espi-num-chipselects : the number of the chipselect signals. 42 43Optional properties: 44- fsl,csbef: chip select assertion time in bits before frame starts 45- fsl,csaft: chip select negation time in bits after frame ends 46 47Example: 48 spi@110000 { 49 #address-cells = <1>; 50 #size-cells = <0>; 51 compatible = "fsl,mpc8536-espi"; 52 reg = <0x110000 0x1000>; 53 interrupts = <53 0x2>; 54 interrupt-parent = <&mpic>; 55 fsl,espi-num-chipselects = <4>; 56 fsl,csbef = <1>; 57 fsl,csaft = <1>; 58 }; 59