Lines Matching +full:spi +full:- +full:slave
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SPI Controller Generic Binding
10 - Mark Brown <broonie@kernel.org>
13 SPI busses can be described with a node for the SPI controller device
14 and a set of child nodes for each SPI slave on the bus. The system SPI
15 controller may be described for use in SPI master mode or in SPI slave mode,
20 pattern: "^spi(@.*|-[0-9a-f])*$"
22 "#address-cells":
25 "#size-cells":
28 cs-gpios:
32 increased automatically with max(cs-gpios, hardware chip selects).
35 cs-gpios looks like this
36 cs-gpios = <&gpio1 0 0>, <0>, <&gpio1 1 0>, <&gpio1 2 0>;
45 num-cs:
50 spi-slave:
53 The SPI controller acts as a slave, instead of a master.
56 - if:
59 - spi-slave
62 "#address-cells":
66 "#address-cells":
70 "^slave$":
76 Compatible of the SPI device.
79 - compatible
81 "^.*@[0-9a-f]+$":
87 Compatible of the SPI device.
95 spi-3wire:
98 The device requires 3-wire mode.
100 spi-cpha:
105 spi-cpol:
110 spi-cs-high:
115 spi-lsb-first:
120 spi-max-frequency:
123 Maximum SPI clocking speed of the device in Hz.
125 spi-rx-bus-width:
127 Bus width to the SPI bus used for read transfers.
132 spi-rx-delay-us:
136 spi-tx-bus-width:
138 Bus width to the SPI bus used for write transfers.
143 spi-tx-delay-us:
148 - compatible
149 - reg
154 - |
155 spi@f00 {
156 #address-cells = <1>;
157 #size-cells = <0>;
158 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
161 interrupt-parent = <&mpc5200_pic>;
163 ethernet-switch@0 {
165 spi-max-frequency = <1000000>;
171 spi-max-frequency = <100000>;