1# Copyright (c) 2023 Intel Corporation
2#
3# SPDX-License-Identifier: Apache-2.0
4
5description: Intel Penwell SPI
6
7compatible: "intel,penwell-spi"
8
9include: [spi-controller.yaml, pcie-device.yaml]
10
11properties:
12  interrupts:
13    required: true
14
15  cs-gpios:
16    required: true
17
18  pw,cs-mode:
19    type: int
20    required: true
21    description: |
22      Chip select configuration. possible values:
23      0: Hardware
24      1: Software
25      2: GPIO
26
27  pw,cs-output:
28    type: int
29    required: true
30    description: |
31      Use GSPI chip select CS0 or CS1. GSPI 0, 1 & 2 instance supports both chip selects.
32      It can be configured with this DTS property. By default, CS0 is set.
33      Chip select output possible values:
34      0: CS0
35      1: CS1
36
37  pw,fifo-depth:
38    type: int
39    required: true
40    description: SPI controller with embedded Tx and Rx FIFOs.
41