WIP: device tree MVP

This commit is contained in:
Daniel Agar
2022-01-06 17:20:17 -05:00
parent 07d75d85cf
commit 1f39b42525
1395 changed files with 68755 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Copyright (c) 2018, qianfan Zhao
# SPDX-License-Identifier: Apache-2.0
description: Atmel SAM SPI controller
compatible: "atmel,sam-spi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
pinctrl-0:
type: phandles
required: true
description: |
PIO pin configuration for the various SPI signals that includes
MISO, MOSI, SPCK, and possibly various chip selects signals. We
expect that the phandles will reference pinctrl nodes. These
nodes will have a nodelabel that matches the Atmel SoC HAL defines
and be of the form p<port><pin><periph>_<inst>_<signal>.
For example the SPI on SAME7x would be
pinctrl-0 = <&pd20b_spi0_miso &pd21b_spi0_mosi &pd22b_spi0_spck>;
+45
View File
@@ -0,0 +1,45 @@
# Copyright (c) 2018, Google LLC.
# SPDX-License-Identifier: Apache-2.0
description: Atmel SAM0 SERCOM SPI controller
compatible: "atmel,sam0-spi"
include: spi-controller.yaml
properties:
reg:
required: true
clocks:
required: true
clock-names:
required: true
dipo:
type: int
required: true
description: Data In Pinout
dopo:
type: int
required: true
description: Data Out Pinout
dmas:
description: |
Optional TX & RX dma specifiers. Each specifier will have a phandle
reference to the dmac controller, the channel number, and peripheral
trigger source.
For example dmas for TX, RX on SERCOM3
dmas = <&dmac 0 0xb>, <&dmac 1 0xa>;
dma-names:
description: |
Required if the dmas property exists. This should be "tx" and "rx"
to match the dmas property.
For example
dma-names = "tx", "rx";
+34
View File
@@ -0,0 +1,34 @@
# Copyright (c) 2021, ATL Electronics
# SPDX-License-Identifier: Apache-2.0
description: Cypress SBC[SPI]
compatible: "cypress,psoc6-spi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
pinctrl-0:
type: phandles
description: |
Port pin configuration for the various SPI signals that includes
MISO, MOSI, SCK, and possibly various chip selects signals. We
expect that the phandles will reference pinctrl nodes. These
nodes will have a nodelabel that matches the Cypress SoC HAL defines
and be of the form p<port>_<pin>_<periph><inst>_<signal>.
For example the SPI on PSoC-63 Pioneer Kit would be
pinctrl-0 = <&p12_0_spi6_mosi &p12_1_spi6_miso &p12_2_spi6_clk &p12_3_spi6_sel0>;
required: true
+79
View File
@@ -0,0 +1,79 @@
description: ESP32 SPI
compatible: "espressif,esp32-spi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: false
miso-pin:
type: int
description: MISO pin
required: true
mosi-pin:
type: int
description: MOSI pin
required: true
sclk-pin:
type: int
description: SPI generated clock pin
required: true
csel-pin:
type: int
description: chip select pin
required: true
use-iomux:
type: boolean
required: false
description: |
Support IO muxing for the target SPI peripheral pins
Some SPI interfaces are not allowed to mux its pins
half-duplex:
type: boolean
required: false
description: |
Enable half-duplex communication mode.
Transmit data before receiving it, instead of simultaneously
dummy-comp:
type: boolean
required: false
description: Enable dummy SPI compensation cycles
sio:
type: boolean
required: false
description: |
Enable 3-wire mode
Use MOSI for both sending and receiving data
dma:
type: boolean
required: false
description: Enable SPI DMA support
clk-as-cs:
type: boolean
required: false
description: |
Support to toggle the CS while the clock toggles
Output clock on CS line if CS is active
positive-cs:
type: boolean
required: false
description: Make CS positive during a transaction instead of negative
+15
View File
@@ -0,0 +1,15 @@
# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
description: IT8XXX2 SPI
compatible: "ite,it8xxx2-sspi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
+12
View File
@@ -0,0 +1,12 @@
# Copyright (c) 2019 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
description: LiteX SPI
compatible: "litex,spi"
include: spi-controller.yaml
properties:
reg:
required: true
@@ -0,0 +1,106 @@
# Copyright (c) 2018, Google LLC.
# Copyright (c) 2021, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0
description: Microchip XEC QMSPI controller with local DMA
compatible: "microchip,xec-qmspi-ldma"
include: spi-controller.yaml
properties:
reg:
required: true
girqs:
type: array
required: true
description: |
An array of integers encoding each interrupt signal connection.
This information includes the aggregated GIRQ number, GIRQ bit
position, aggregated GIRQ NVIC connection, and direct NVIC
connection of the GIRQ bit.
pcrs:
type: array
required: true
description: |
A two entry integer array containing the QMSPI PCR sleep register
index and bit position.
lines:
type: int
required: false
description: |
QMSPI data lines 1, 2, or 4. 1 data line is full-duplex
MOSI and MISO or half-duplex on MOSI only. Lines set to 2
or 4 indicate dual or quad I/O modes. Defaults to 1.
port-sel:
type: int
required: false
description: |
SPI Port 0, 1, or 2. Port 0 is the shared SPI, port 1 is
the private SPI, and port 2 is the internal SPI port for
chip configurations with an embedded SPI flash. Defaults
to port 0 (shared SPI port).
chip-select:
type: int
required: false
description: |
Use QMSPI CS0# or CS1#. Port 0 supports both chip selects.
Ports 1 and 2 implement CS0# only. Defaults to CS0#.
dcsckon:
type: int
required: false
description: |
Delay in QMSPI main clocks from CS# assertion to first clock edge.
If not present use hardware default value. Refer to chip documention
for QMSPI input clock frequency.
dckcsoff:
type: int
required: false
description: |
Delay in QMSPI main clocks from last clock edge to CS# de-assertion.
If not presetn use hardware default value. Refer to chip documention
for QMSPI input clock frequency.
dldh:
type: int
required: false
description: |
Delay in QMSPI main clocks from CS# de-assertion to driving HOLD#
and WP#. If not present use hardware default value. Refer to chip
documention for QMSPI input clock frequency.
dcsda:
type: int
required: false
description: |
Delay in QMSPI main clocks from CS# de-assertion to CS# assertion.
If not present use hardware default value. Refer to chip documention
for QMSPI input clock frequency.
cs1-freq:
type: int
required: false
description: |
Allows different frequencies for CS#0 and CS1# devices. This applies
to ports implementing CS1#.
tctradj:
type: int
required: false
description: |
An optional signed 8-bit value for adjusting the QMSPI control signal
timing tap.
tsckadj:
type: int
required: false
description: |
An optional signed 8-bit value for adjusting the QMSPI clock signal
timing tap.
+57
View File
@@ -0,0 +1,57 @@
# Copyright (c) 2018, Google LLC.
# SPDX-License-Identifier: Apache-2.0
description: Microchip XEC QMSPI controller
compatible: "microchip,xec-qmspi"
include: spi-controller.yaml
properties:
reg:
required: true
port_sel:
type: int
required: true
description: SPI Port 0 or 1.
rxdma:
type: int
required: true
description: Receive DMA channel
txdma:
type: int
required: true
description: Transmit DMA channel
lines:
type: int
required: true
description: QMSPI lines 1, 2, or 4
chip_select:
type: int
required: true
description: Use QMSPI CS0# or CS1#
dcsckon:
type: int
required: true
description: Delay in system clocks from CS# assertion to first clock edge
dckcsoff:
type: int
required: true
description: Delay in system clocks from last clock edge to CS# de-assertion
dldh:
type: int
required: true
description: Delay in system clocks from CS# de-assertion to driving HOLD# and WP#
dcsda:
type: int
required: true
description: Delay in system clocks from CS# de-assertion to CS# assertion
@@ -0,0 +1,43 @@
# Copyright (c) 2018 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
# Common fields for Nordic nRF family SPI peripherals
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
sck-pin:
type: int
required: true
description: |
The SCK pin to use.
For pins P0.0 through P0.31, use the pin number. For example,
to use P0.16 for SCK, set:
sck-pin = <16>;
For pins P1.0 through P1.31, add 32 to the pin number. For
example, to use P1.2 for SCK, set:
sck-pin = <34>; /* 32 + 2 */
mosi-pin:
type: int
required: true
description: |
The MOSI pin to use. The pin numbering scheme is the same as
the sck-pin property's.
miso-pin:
type: int
required: true
description: |
The MISO pin to use. The pin numbering scheme is the same as
the sck-pin property's.
+19
View File
@@ -0,0 +1,19 @@
# Copyright (c) 2019 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Nordic nRF family SPI (SPI master)
compatible: "nordic,nrf-spi"
include: nordic,nrf-spi-common.yaml
properties:
miso-pull-up:
type: boolean
required: false
description: Enable pull-up on MISO line
miso-pull-down:
type: boolean
required: false
description: Enable pull-down on MISO line
+27
View File
@@ -0,0 +1,27 @@
# Copyright (c) 2019 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Nordic nRF family SPIM (SPI master with EasyDMA)
compatible: "nordic,nrf-spim"
include: nordic,nrf-spi-common.yaml
properties:
miso-pull-up:
type: boolean
required: false
description: Enable pull-up on MISO line
miso-pull-down:
type: boolean
required: false
description: Enable pull-down on MISO line
anomaly-58-workaround:
type: boolean
required: false
description: |
Enables the workaround for the nRF52832 SoC SPIM PAN 58 anomaly.
Must be used in conjunction with
CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y
+23
View File
@@ -0,0 +1,23 @@
# Copyright (c) 2019 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Nordic nRF family SPIS (SPI slave with EasyDMA)
compatible: "nordic,nrf-spis"
include: nordic,nrf-spi-common.yaml
properties:
csn-pin:
type: int
required: true
description: |
The CSN pin to use. The pin numbering scheme is the same as
the sck-pin property's.
def-char:
type: int
required: true
description: |
Default character. Character clocked out when the slave was not
provided with buffers and is ignoring the transaction.
@@ -0,0 +1,16 @@
# Copyright (c) 2021 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NPCX-SPI-FIU controller node
compatible: "nuvoton,npcx-spi-fiu"
include: [spi-controller.yaml]
properties:
reg:
required: true
clocks:
required: true
label:
required: true
+74
View File
@@ -0,0 +1,74 @@
# Copyright (c) 2018, NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP FlexSPI controller
compatible: "nxp,imx-flexspi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
ahb-bufferable:
type: boolean
required: false
description: |
Enable AHB bufferable write access by setting register field
AHBCR[BUFFERABLEEN].
ahb-cacheable:
type: boolean
required: false
description: |
Enable AHB cacheable read access by setting register field
AHBCR[CACHEABLEEN].
ahb-prefetch:
type: boolean
required: false
description: |
Enable AHB read prefetch by setting register field AHBCR[PREFETCHEN].
ahb-read-addr-opt:
type: boolean
required: false
description: |
Remove burst start address alignment limitation by setting register
field AHBCR[READADDROPT].
combination-mode:
type: boolean
required: false
description: |
Combine port A and port B data pins to support octal mode access by
setting register field MCR0[COMBINATIONEN].
sck-differential-clock:
type: boolean
required: false
description: |
Enable/disable SCKB pad use as SCKA differential clock output,
when enabled, Port B flash access is not available.
rx-clock-source:
type: int
required: false
default: 0
enum:
- 0 # Loopback internally
- 1 # Loopback from DQS pad
- 2 # Loopback from SCK pad
- 3 # External input from DQS pad
description: |
Source clock for flash read. See the RXCLKSRC field in register MCR0.
The default corresponds to the reset value of the register field.
child-binding:
description: NXP FlexSPI port
include: nxp,imx-flexspi-device.yaml
+39
View File
@@ -0,0 +1,39 @@
# Copyright (c) 2018, NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP i.MX LPSPI controller
compatible: "nxp,imx-lpspi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
clocks:
required: true
pcs-sck-delay:
type: int
required: false
description: |
Delay in nanoseconds from the chip select assert to the first clock
edge. If not set, the minimum supported delay is used.
sck-pcs-delay:
type: int
required: false
description: |
Delay in nanoseconds from the last clock edge to the chip select
deassert. If not set, the minimum supported delay is used.
transfer-delay:
type: int
required: false
description: |
Delay in nanoseconds from the chip select deassert to the next chip
select assert. If not set, the minimum supported delay is used.
+95
View File
@@ -0,0 +1,95 @@
# Copyright (c) 2018, NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP Kinetis DSPI controller
compatible: "nxp,kinetis-dspi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
clocks:
required: true
pcs-sck-delay:
type: int
required: false
description: |
Delay in nanoseconds from the chip select assert to the first clock
edge. If not set, the minimum supported delay is used.
sck-pcs-delay:
type: int
required: false
description: |
Delay in nanoseconds from the last clock edge to the chip select
deassert. If not set, the minimum supported delay is used.
transfer-delay:
type: int
required: false
description: |
Delay in nanoseconds from the chip select deassert to the next chip
select assert. If not set, the minimum supported delay is used.
pinctrl-0:
type: phandles
required: true
nxp,rx-tx-chn-share:
type: boolean
required: false
description: If the edma channel shared with tx and rx
ctar:
type: int
required: false
description: |
ctar register selection range form 0-1 for master mode, 0 for slave mode
sample-point:
type: int
required: false
description: |
Controls when the DSPI master samples SIN in the Modified Transfer Format.
This field is valid only when the CPHA bit in the CTAR register is 0.
continuous-sck:
type: boolean
required: false
description: |
continuous SCK enable. Note that the continuous SCK is only
supported for CPHA = 1.
rx-fifo-overwrite:
type: boolean
required: false
description: |
receive FIFO overflow overwrite enable. If ROOE = 0, the incoming
data is ignored and the data from the transfer that generated the overflow
is also ignored. If ROOE = 1, the incoming data is shifted to the
shift register.
modified-timing-format:
type: boolean
required: false
description: |
Enables a modified transfer format to be used if true.
tx-fifo-size:
type: int
required: false
description: |
tx fifo size
rx-fifo-size:
type: int
required: false
description: |
rx fifo size
+38
View File
@@ -0,0 +1,38 @@
# Copyright (c) 2019, NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP LPC SPI controller
compatible: "nxp,lpc-spi"
include: [spi-controller.yaml, "nxp,lpc-flexcomm.yaml"]
properties:
pre-delay:
type: int
required: false
description: |
Delay in nanoseconds inserted between chip select assert to the first
clock edge. If not set, no additional delay is inserted.
post-delay:
type: int
required: false
description: |
Delay in nanoseconds inserted between the last clock edge to the chip
select deassert. If not set, no additional delay is inserted.
frame-delay:
type: int
required: false
description: |
Delay in nanoseconds inserted between data frames when chip select is
asserted and the EOF flag is set. If not set, no additional delay is
inserted.
transfer-delay:
type: int
required: false
description: |
Delay in nanoseconds inserted between transfers when chip select is
deasserted. If not set, no additional delay is inserted.
@@ -0,0 +1,12 @@
# Copyright (c) 2019 Western Digital Corporation or its affiliates
# SPDX-License-Identifier: Apache-2.0
description: OpenCores Simple SPI controller
compatible: "opencores,spi-simple"
include: spi-controller.yaml
properties:
reg:
required: true
@@ -0,0 +1,15 @@
# Copyright (c) 2019, Karsten Koenig <karsten.koenig.030@gmail.com>
# SPDX-License-Identifier: Apache-2.0
description: OpenISA LPSPI controller
compatible: "openisa,rv32m1-lpspi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
+12
View File
@@ -0,0 +1,12 @@
# Copyright (c) 2018, SiFive Inc.
# SPDX-License-Identifier: Apache-2.0
description: Sifive SPI controller
compatible: "sifive,spi0"
include: spi-controller.yaml
properties:
reg:
required: true
@@ -0,0 +1,35 @@
description: GECKO USART SPI
compatible: "silabs,gecko-spi-usart"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
peripheral-id:
type: int
required: true
description: peripheral ID
# Note: Not all SoC series support setting individual pin location. If this
# is a case all location-* properties need to have identical value.
location-rx:
type: array
required: true
description: RX pin configuration defined as <location port pin>
location-tx:
type: array
required: true
description: TX pin configuration defined as <location port pin>
location-clk:
type: array
required: true
description: CLK pin configuration defined as <location port pin>
+15
View File
@@ -0,0 +1,15 @@
# Copyright (c) 2018 Synopsys, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
description: Synopsys DesignWare SPI node
compatible: "snps,designware-spi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
+63
View File
@@ -0,0 +1,63 @@
# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
# Common fields for SPI controllers
include: base.yaml
bus: spi
properties:
clock-frequency:
type: int
required: false
description: |
Clock frequency the SPI peripheral is being driven at, in Hz.
"#address-cells":
required: true
const: 1
"#size-cells":
required: true
const: 0
label:
required: true
cs-gpios:
type: phandle-array
required: false
description: |
An array of chip select GPIOs to use. Each element
in the array specifies a GPIO. The index in the array
corresponds to the child node that the CS gpio controls.
Example:
spi@... {
cs-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>,
<&gpio1 10 GPIO_ACTIVE_LOW>,
...;
spi-device@0 {
reg = <0>;
...
};
spi-device@1 {
reg = <1>;
...
};
...
};
The child node "spi-device@0" specifies a SPI device with
chip select controller gpio0, pin 23, and devicetree
GPIO flags GPIO_ACTIVE_LOW. Similarly, "spi-device@1" has CS GPIO
controller gpio1, pin 10, and flags GPIO_ACTIVE_LOW. Additional
devices can be configured in the same way.
If unsure about the flags cell, GPIO_ACTIVE_LOW is generally a safe
choice for a typical "CSn" pin. GPIO_ACTIVE_HIGH may be used if
intervening hardware inverts the signal to the peripheral device or
the line itself is active high.
If this property is not defined, no chip select GPIOs are set.
SPI controllers with dedicated CS pins do not need to define
the cs-gpios property.
+45
View File
@@ -0,0 +1,45 @@
# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
# Common fields for SPI devices
include: [base.yaml, power.yaml]
on-bus: spi
properties:
reg:
required: true
spi-max-frequency:
type: int
required: true
description: Maximum clock frequency of device's SPI interface in Hz
label:
required: true
duplex:
type: int
required: false
description: |
Duplex mode, full or half. By default it's always full duplex thus 0
as this is, by far, the most common mode.
Use the macros not the actual enum value, here is the concordance
list (see dt-bindings/spi/spi.h)
0 SPI_FULL_DUPLEX
2048 SPI_HALF_DUPLEX
enum:
- 0
- 2048
frame-format:
type: int
default: 0
required: false
description: |
Motorola or TI frame format. By default it's always Motorola's,
thus 0 as this is, by far, the most common format.
Use the macros not the actual enum value, here is the concordance
list (see dt-bindings/spi/spi.h)
0 SPI_FRAME_FORMAT_MOTOROLA
32768 SPI_FRAME_FORMAT_TI
enum:
- 0
- 32768
+19
View File
@@ -0,0 +1,19 @@
# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
# Common fields for STM32 SPI peripherals.
include: [spi-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
interrupts:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
+8
View File
@@ -0,0 +1,8 @@
# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
description: STM32 SPI controller with embedded Rx and Tx FIFOs
compatible: "st,stm32-spi-fifo"
include: st,stm32-spi-common.yaml
+22
View File
@@ -0,0 +1,22 @@
# Copyright (c) 2021 Fabio Baltieri
# SPDX-License-Identifier: Apache-2.0
description: STM32 SUBGHZ SPI controller
compatible: "st,stm32-spi-subghz"
include:
include:
- name: st,stm32-spi-common.yaml
property-blocklist:
- pinctrl-0
- pinctrl-names
properties:
use-subghzspi-nss:
type: boolean
required: true
description: |
Control the SUBGHZPI NSS line using the PWR HAL functions. This is for
the special purpose SUBGHZSPI interface found in the STM32WL series.
+8
View File
@@ -0,0 +1,8 @@
# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
description: STM32 SPI controller
compatible: "st,stm32-spi"
include: st,stm32-spi-common.yaml
+56
View File
@@ -0,0 +1,56 @@
# Copyright (c) 2021, Telink Semiconductor
# SPDX-License-Identifier: Apache-2.0
description: Telink B91 SPI
include: spi-controller.yaml
compatible: "telink,b91-spi"
properties:
reg:
required: true
peripheral-id:
type: string
required: true
enum:
- "PSPI_MODULE"
- "HSPI_MODULE"
pinctrl-0:
type: phandles
required: true
cs0-pin:
type: string
required: true
enum:
- "0"
- "PSPI_CSN_PC4"
- "PSPI_CSN_PC0"
- "PSPI_CSN_PD0"
- "HSPI_CSN_PA1"
- "HSPI_CSN_PB6"
cs1-pin:
type: string
required: false
enum:
- "0"
- "PSPI_CSN_PC4"
- "PSPI_CSN_PC0"
- "PSPI_CSN_PD0"
- "HSPI_CSN_PA1"
- "HSPI_CSN_PB6"
cs2-pin:
type: string
required: false
enum:
- "0"
- "PSPI_CSN_PC4"
- "PSPI_CSN_PC0"
- "PSPI_CSN_PD0"
- "HSPI_CSN_PA1"
- "HSPI_CSN_PB6"
@@ -0,0 +1,32 @@
# Copyright (c) 2019 Brett Witherspoon
# SPDX-License-Identifier: Apache-2.0
description: TI SimpleLink CC13xx / CC26xx SPI node
compatible: "ti,cc13xx-cc26xx-spi"
include: spi-controller.yaml
properties:
reg:
required: true
sck-pin:
type: int
required: true
description: SCK pin
mosi-pin:
type: int
required: true
description: MOSI pin
miso-pin:
type: int
required: true
description: MISO pin
cs-pin:
type: int
required: false
description: CS pin
+39
View File
@@ -0,0 +1,39 @@
# Copyright (c) 2020 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
description: Xilinx AXI Quad SPI IP node
compatible: "xlnx,xps-spi-2.00.a"
include: spi-controller.yaml
# Property names correspond to a subset of those generated by
# https://github.com/Xilinx/device-tree-xlnx
properties:
reg:
required: true
interrupts:
required: true
xlnx,num-ss-bits:
type: int
required: true
enum:
- 1
- 2
- 3
- 4
description: |
Number of slave select bits implemented
xlnx,num-transfer-bits:
type: int
required: true
enum:
- 8
- 16
- 32
description: |
Number of bits per transfer
+29
View File
@@ -0,0 +1,29 @@
# Copyright 2021 Marc Reilly, Creative Product Design
# SPDX-License-Identifier: Apache-2.0
description: Zephyr SPI Bitbang driver
compatible: "zephyr,spi-bitbang"
include: spi-controller.yaml
properties:
clk-gpios:
type: phandle-array
required: true
description: |
Clock gpio info
mosi-gpios:
type: phandle-array
required: false
description: |
MOSI gpio info. Output pin for Master Out Slave In.
If this is not provided then the driver will transmit 0s
miso-gpios:
type: phandle-array
required: false
description: |
MISO gpio info. Input pin for Master In Slave Out.
If this is not provided the driver will read 0s
@@ -0,0 +1,12 @@
# Copyright 2020 Google LLC
# SPDX-License-Identifier: Apache-2.0
description: Zephyr SPI Emulation controller
compatible: "zephyr,spi-emul-controller"
include: spi-controller.yaml
properties:
reg:
required: true