1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/spi/spi-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SPI-GPIO devicetree bindings
10 - Rob Herring <robh@kernel.org>
13 This represents a group of 3-n GPIO lines used for bit-banged SPI on
17 - $ref: "/schemas/spi/spi-controller.yaml#"
24 description: GPIO spec for the SCK line to use
28 description: GPIO spec for the MISO line to use
32 description: GPIO spec for the MOSI line to use
36 description: GPIOs to use for chipselect lines.
37 Not needed if num-chipselects = <0>.
42 description: Number of chipselect lines. Should be <0> if a single device
43 with no chip select is connected.
44 $ref: "/schemas/types.yaml#/definitions/uint32"
46 # Deprecated properties
56 unevaluatedProperties: false
61 compatible = "spi-gpio";
62 #address-cells = <0x1>;
65 sck-gpios = <&gpio 95 0>;
66 miso-gpios = <&gpio 98 0>;
67 mosi-gpios = <&gpio 97 0>;
68 cs-gpios = <&gpio 125 0>;
69 num-chipselects = <1>;