1 SPI-GPIO devicetree bindings
3 This represents a group of 3-n GPIO lines used for bit-banged SPI on dedicated
8 - compatible: should be set to "spi-gpio"
9 - #address-cells: should be set to <0x1>
11 - sck-gpios: GPIO spec for the SCK line to use
12 - miso-gpios: GPIO spec for the MISO line to use
13 - mosi-gpios: GPIO spec for the MOSI line to use
14 - cs-gpios: GPIOs to use for chipselect lines.
15 Not needed if num-chipselects = <0>.
16 - num-chipselects: Number of chipselect lines. Should be <0> if a single device
17 with no chip select is connected.
21 These legacy GPIO line bindings can alternatively be used to define the
22 GPIO lines used, they should not be used in new device trees.
24 - gpio-sck: GPIO spec for the SCK line to use
25 - gpio-miso: GPIO spec for the MISO line to use
26 - gpio-mosi: GPIO spec for the MOSI line to use
31 compatible = "spi-gpio";
32 #address-cells = <0x1>;
35 sck-gpios = <&gpio 95 0>;
36 miso-gpios = <&gpio 98 0>;
37 mosi-gpios = <&gpio 97 0>;
38 cs-gpios = <&gpio 125 0>;
39 num-chipselects = <1>;