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