st,stm32-ospi-psram

Vendor: STMicroelectronics

Note

An implementation of a driver matching this compatible is available in drivers/memc/memc_stm32_ospi_psram.c.

Description

STM32 OSPI PSRAM Controller

STM32 OSPI PSRAM memory controller.
Provides a communication interface allowing the microcontroller
to communicate with an external PSRAM memory via the OSPI peripheral.
The PSRAM can be configured as memory mapped and allows read/write
operations like an internal device.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

size

int

Memory size in bits

This property is required.

max-frequency

int

Maximum clock frequency of device's OSPI interface in Hz

This property is required.

fixed-latency

boolean

Read latency — fixed when set, variable otherwise.

drive-strength

int

Drive strength code:
- 0: Full
- 1: Half
- 2: 1/4
- 3: 1/8

Legal values: 0, 1, 2, 3

read-latency

int

Read latency code
- 0: LCx2 3 / Fmax 66 MHz
- 1: LCx2 4 / Fmax 104 MHz
- 2: LCx2 5 / Fmax 133 MHz
- 3: LCx2 6 / Fmax 133 MHz
- 4: LCx2 7 / Fmax 133 MHz
- 5: LCx2 8 / Fmax 133 MHz

Default value: 5

Legal values: 0, 1, 2, 3, 4, 5

write-latency

int

Write latency code:
- 0: LC 3 / Fmax 66 MHz
- 1: LC 4 / Fmax 104 MHz
- 2: LC 5 / Fmax 133 MHz
- 3: LC 6 / Fmax 133 MHz
- 4: LC 7 / Fmax 133 MHz
- 5: LC 8 / Fmax 133 MHz

Default value: 2

Legal values: 0, 1, 2, 3, 4, 5

adaptive-refresh-rate

int

- 0: Fast Refresh
- 1: Enables Slow Refresh when temperature allows

Legal values: 0, 1

pasr

int

Partial Array Self-Refresh coverage:
- 0: Full array
- 1: Bottom 1/2 array
- 2: Bottom 1/4 array
- 3: Bottom 1/8 array
- 4: None
- 5: Top 1/2 array
- 6: Top 1/4 array
- 7: Top 1/8 array

Legal values: 0, 1, 2, 3, 4, 5, 6, 7

rbx

boolean

If not enabled, reads stay within page (row) boundary.
If enabled, allows reads cross page (row) boundary.

burst-length

int

Burst length:
0: 16 Byte/Word Wrap
1: 32 Byte/Word Wrap
2: 64 Byte/Word Wrap
3: 1K Word Wrap

Default value: 1

Legal values: 0, 1, 2, 3

burst-type-hybrid-wrap

boolean

If not enabled, burst-length sets the burst address space in which the
device will continually wrap within.
If enabled, the device will burst through the initial wrapped burst length
once, then continue to burst incrementally up to maximum column address
(1K) before wrapping around within the entire column address space.