dts: flash: npcx: add property for SPI device size
This commit adds two properties. One is used to set size of the low flash device and the other is used to select the low flash device. Then, the eSPI TAF request can access between two flash devices base on this setting. Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
This commit is contained in:
parent
31855964f1
commit
54a714a61d
2 changed files with 18 additions and 0 deletions
|
@ -47,3 +47,17 @@ properties:
|
|||
- "NPCX_RD_MODE_NORMAL" # Direct read access by command code 03h
|
||||
- "NPCX_RD_MODE_FAST" # Direct read access by command code 0bh
|
||||
- "NPCX_RD_MODE_FAST_DUAL" # Direct read access by command code bbh
|
||||
spi-dev-size:
|
||||
type: string
|
||||
description: |
|
||||
Select the size of the address space allocated for SPI device. This affects
|
||||
the address space for any direct flash access.
|
||||
enum:
|
||||
- "NPCX_SPI_DEV_SIZE_1M"
|
||||
- "NPCX_SPI_DEV_SIZE_2M"
|
||||
- "NPCX_SPI_DEV_SIZE_4M"
|
||||
- "NPCX_SPI_DEV_SIZE_8M"
|
||||
- "NPCX_SPI_DEV_SIZE_16M"
|
||||
- "NPCX_SPI_DEV_SIZE_32M"
|
||||
- "NPCX_SPI_DEV_SIZE_64M"
|
||||
- "NPCX_SPI_DEV_SIZE_128M"
|
||||
|
|
|
@ -38,3 +38,7 @@ properties:
|
|||
type: boolean
|
||||
description: |
|
||||
Two external SPI devices are supported for Direct Read Access (DRA) on QSPI bus.
|
||||
flash-dev-inv:
|
||||
type: boolean
|
||||
description: |
|
||||
Inverse the device connected to the base address.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue