1# Copyright 2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  QSPI NOR flash connected to the NXP S32 QSPI bus.
6
7compatible: "nxp,s32-qspi-nor"
8
9include: "nxp,s32-qspi-device.yaml"
10
11properties:
12  has-32k-erase:
13    type: boolean
14    description: |
15      Set if the memory device supports 32 KiBy block erase operation.
16
17  readoc:
18    type: string
19    enum:
20      - "1-1-1"   # 0x0B
21      - "1-1-2"   # 0x3B
22      - "1-2-2"   # 0xBB
23      - "1-1-4"   # 0x6B
24      - "1-4-4"   # 0xEB
25    description: |
26      Specify the number of data lines and opcode used for reading.
27      If not provided, 1-1-1 will be selected.
28
29  writeoc:
30    type: string
31    enum:
32      - "1-1-1"   # 0x02
33      - "1-1-2"   # 0xA2
34      - "1-1-4"   # 0x32
35      - "1-4-4"   # 0x38
36    description: |
37      Specify the number of data lines and opcode used for writing.
38      If not provided, 1-1-1 will be selected.
39