1# Copyright (c) 2018, Google LLC.
2# SPDX-License-Identifier: Apache-2.0
3
4description: Microchip XEC QMSPI controller
5
6compatible: "microchip,xec-qmspi"
7
8include: [spi-controller.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  port_sel:
15    type: int
16    required: true
17    description: SPI Port 0 or 1.
18
19  pinctrl-0:
20    required: true
21
22  pinctrl-names:
23    required: true
24
25  rxdma:
26    type: int
27    required: true
28    description: Receive DMA channel
29
30  txdma:
31    type: int
32    required: true
33    description: Transmit DMA channel
34
35  lines:
36    type: int
37    required: true
38    description: QMSPI lines 1, 2, or 4
39
40  chip_select:
41    type: int
42    required: true
43    description: Use QMSPI CS0# or CS1#
44
45  dcsckon:
46    type: int
47    required: true
48    description: Delay in system clocks from CS# assertion to first clock edge
49
50  dckcsoff:
51    type: int
52    required: true
53    description: Delay in system clocks from last clock edge to CS# de-assertion
54
55  dldh:
56    type: int
57    required: true
58    description: Delay in system clocks from CS# de-assertion to driving HOLD# and WP#
59
60  dcsda:
61    type: int
62    required: true
63    description: Delay in system clocks from CS# de-assertion to CS# assertion
64