1# Copyright (c) 2019 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: Nordic nRF family SPIM (SPI master with EasyDMA)
5
6compatible: "nordic,nrf-spim"
7
8include: ["nordic,nrf-spi-common.yaml", "memory-region.yaml"]
9
10properties:
11  anomaly-58-workaround:
12    type: boolean
13    description: |
14      Enables the workaround for the nRF52832 SoC SPIM PAN 58 anomaly.
15      Must be used in conjunction with
16      CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y
17
18  rx-delay-supported:
19    type: boolean
20    description: |
21      Indicates if the SPIM instance has the capability of delaying MISO
22      sampling. This property needs to be defined at SoC level DTS files.
23
24  rx-delay:
25    type: int
26    enum:
27      - 0
28      - 1
29      - 2
30      - 3
31      - 4
32      - 5
33      - 6
34      - 7
35    description: |
36      Number of 64 MHz clock cycles (15.625 ns) delay from the sampling edge
37      of SCK (leading or trailing, depending on the CPHA setting used) until
38      the input serial data on MISO is actually sampled. This property does
39      not have any effect if the rx-delay-supported property is not set.
40