Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.
1 SPI-GPIO devicetree bindings
2
3 Required properties:
4
5 - compatible: should be set to "spi-gpio"
6 - #address-cells: should be set to <0x1>
7 - ranges
8 - gpio-sck: GPIO spec for the SCK line to use
9 - gpio-miso: GPIO spec for the MISO line to use
10 - gpio-mosi: GPIO spec for the MOSI line to use
11 - cs-gpios: GPIOs to use for chipselect lines.
12 Not needed if num-chipselects = <0>.
13 - num-chipselects: Number of chipselect lines. Should be <0> if a single device
14 with no chip select is connected.
15
16 Example:
17
18 spi {
19 compatible = "spi-gpio";
20 #address-cells = <0x1>;
21 ranges;
22
23 gpio-sck = <&gpio 95 0>;
24 gpio-miso = <&gpio 98 0>;
25 gpio-mosi = <&gpio 97 0>;
26 cs-gpios = <&gpio 125 0>;
27 num-chipselects = <1>;
28
29 /* clients */
30 };
- [ spi ]
- adi,axi-spi-engine.txt
- brcm,bcm2835-aux-spi.txt
- brcm,bcm2835-spi.txt
- brcm,spi-bcm-qspi.txt
- efm32-spi.txt
- fsl-imx-cspi.txt
- fsl-spi.txt
- icpdas-lp8841-spi-rtc.txt
- jcore,spi.txt
- microchip,spi-pic32.txt
- mxs-spi.txt
- nvidia,tegra114-spi.txt
- nvidia,tegra20-sflash.txt
- nvidia,tegra20-slink.txt
- omap-spi.txt
- qcom,spi-qup.txt
- sh-hspi.txt
- sh-msiof.txt
- snps,dw-apb-ssi.txt
- spi-armada-3700.txt
- spi-ath79.txt
- spi-bcm63xx-hsspi.txt
- spi-bcm63xx.txt
- spi-bus.txt
- spi-cadence.txt
- spi-clps711x.txt
- spi-davinci.txt
- spi-dw.txt
- spi-fsl-dspi.txt
- spi-fsl-lpspi.txt
- spi-gpio.txt
- spi-img-spfi.txt
- spi-lantiq-ssc.txt
- spi-meson.txt
- spi-mt65xx.txt
- spi-octeon.txt
- spi-orion.txt
- spi-rockchip.txt
- spi-rspi.txt
- spi-samsung.txt
- spi-sc18is602.txt
- spi-sirf.txt
- spi-sprd-adi.txt
- spi-st-ssc.txt
- spi-stm32.txt
- spi-sun4i.txt
- spi-sun6i.txt
- spi-xilinx.txt
- spi-xlp.txt
- spi-xtensa-xtfpga.txt
- spi-zynqmp-qspi.txt
- spi_altera.txt
- spi_atmel.txt
- spi_oc_tiny.txt
- spi_pl022.txt
- sqi-pic32.txt
- ti_qspi.txt
-
-
- Information is copyright its respective author.
- All material is available from the Linux Kernel Source distributed under a GPL License.
- Hosted by mjmwired.net.