zephyr/dts/bindings/flash_controller/nuvoton,npcx-fiu-qspi.yaml
Mulin Chao f34fff91bc driver: flash: npcx: introduce npcx flash driver
This CL attempts to implement npcx's flash driver instead of the
original one (npcx spi driver plus spi_nor flash driver).

Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2023-07-20 16:22:47 +02:00

41 lines
957 B
YAML

# Copyright (c) 2023 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: |
Properties defining the NPCX Quad-SPI peripheral of Flash Interface Unit (FIU).
A npcx quad-spi dt node would typically looks like:
&qspi_fiu0 {
status = "okay";
int_flash: w25q400@0 {
status = "okay";
reg = <0>;
...
};
ext_flash: w25q256@1 {
status = "okay";
reg = <1>;
...
};
};
`int_flash` and `ext_flash` are the devices accessed by this peripheral.
compatible: "nuvoton,npcx-fiu-qspi"
include: [base.yaml, pinctrl-device.yaml]
bus: qspi
properties:
reg:
required: true
clocks:
required: true
en-direct-access-2dev:
type: boolean
description: |
Two external SPI devices are supported for Direct Read Access (DRA) on QSPI bus.