1# Copyright (c) 2019 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    Properties defining the interface for the Nordic QSPI peripheral.
6
7    The reg property describes two register blocks: one for the memory
8    corresponding to the QSPI peripheral registers, and another for
9    the memory mapped XIP area:
10
11        qspi: qspi@2b000 {
12                compatible = "nordic,nrf-qspi";
13                reg = <0x2b000 0x1000>, <0x10000000 0x10000000>;
14                reg-names = "qspi", "qspi_mm";
15                ...
16        };
17
18    Above, the register block with base address 0x2b000 and name
19    "qspi" are the QSPI peripheral registers. The register block with
20    base address 0x10000000 and name "qspi_mm" is the XIP area.
21
22compatible: "nordic,nrf-qspi"
23
24include: [flash-controller.yaml, pinctrl-device.yaml]
25
26bus: qspi
27
28properties:
29  "#address-cells":
30    required: true
31    const: 1
32
33  "#size-cells":
34    required: true
35    const: 0
36
37  interrupts:
38    required: true
39
40  pinctrl-0:
41    required: true
42
43  pinctrl-names:
44    required: true
45