Create common source code to use for supporting HyperFlash. Rename 'FLASH_NXP_S32_QSPI_NOR_SFDP_RUNTIME' to 'FLASH_NXP_S32_QSPI_SFDP_RUNTIME' as a common kconfig. Add the 'max-program-buffer-size' property to use for setting memory pageSize, instead of using 'CONFIG_FLASH_NXP_S32_QSPI_LAYOUT_PAGE_SIZE' for setting. Add the 'write-block-size' propertyto use for setting the number of bytes used in write operations, it also uses to instead of the 'memory-alignment' property. Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
28 lines
602 B
YAML
28 lines
602 B
YAML
# Copyright 2023-2024 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
QSPI memory device supporting xSPI or Hyperbus.
|
|
|
|
compatible: "nxp,s32-qspi-device"
|
|
|
|
include: [base.yaml, "jedec,jesd216.yaml"]
|
|
|
|
on-bus: qspi
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
max-program-buffer-size:
|
|
type: int
|
|
required: true
|
|
description: |
|
|
The maximum of programming page buffer size of the flash memory device,
|
|
as specified in the flash memory device datasheet.
|
|
|
|
write-block-size:
|
|
type: int
|
|
required: true
|
|
description: |
|
|
The number of bytes used in write operations.
|