nxp,semc-sdram

Description

NXP SEMC SDRAM device

Properties

Properties not inherited from the base binding file.

Name

Type

Details

cs

int

SEMC SDRAM chip-select number. The SEMC controller supports up to four
chip-selects, so several SDRAM nodes (one per enabled chip-select) can
be attached to the same controller.

This property is required.

Legal values: 0, 1, 2, 3

clk-frequency

int

SEMC clock frequency in Hz used to derive SDRAM timing.

This property is required.

port-size

int

SDRAM data bus width in bits.

This property is required.

Legal values: 8, 16, 32

burst-length

int

SDRAM burst length.

This property is required.

Legal values: 1, 2, 4, 8

column-bits

int

SDRAM column address bit width.

This property is required.

Legal values: 8, 9, 10, 11, 12

cas-latency

int

CAS latency in clock cycles.

This property is required.

Legal values: 1, 2, 3

t-precharge-to-act-ns

int

Precharge to activate wait time in nanoseconds (tRP).

This property is required.

Maximum value: 255

t-act-to-readwrite-ns

int

Activate to read/write wait time in nanoseconds (tRCD).

This property is required.

Maximum value: 255

t-refresh-recovery-ns

int

Refresh recovery time in nanoseconds (max of tRFC, tXSR).

This property is required.

Maximum value: 255

t-write-recovery-ns

int

Write recovery time in nanoseconds (tWR).

This property is required.

Maximum value: 255

t-cke-off-ns

int

CKE off minimum time in nanoseconds.

This property is required.

Maximum value: 255

t-act-to-precharge-ns

int

Activate to precharge time in nanoseconds (tRAS).

This property is required.

Maximum value: 255

t-self-ref-recovery-ns

int

Self refresh recovery time in nanoseconds (tXSR).

This property is required.

Maximum value: 255

t-refresh-to-refresh-ns

int

Refresh to refresh wait time in nanoseconds (tRFC).

This property is required.

Maximum value: 255

t-act-to-act-ns

int

Activate to activate wait time in nanoseconds (tRRD).

This property is required.

Maximum value: 255

refresh-period-ns-per-row

int

Refresh period in nanoseconds per row, e.g. 64 ms / 8192 rows for a
64 ms refresh period.

This property is required.

t-prescale-period-ns

int

Prescaler timer period in nanoseconds. When 0, this value is derived
as 160 * (1000000000 / clk-frequency), matching the MCUX SDK example.

Default value: 0

refresh-urgent-threshold

int

Refresh urgent threshold. When 0, this value is set to the value of
refresh-period-ns-per-row.

Default value: 0

refresh-burst-length

int

Refresh burst length.

Default value: 1

delay-chain

int

DQS delay chain value used to compensate timing when DQS is faster than
read data. Selects 1 to 32 delay cells, with 1 selecting the minimum
delay. Only used on SoCs with SEMC delay chain control.

Default value: 1

Legal values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32

auto-refresh-times

int

Additional auto refresh cycles run after mode register programming.

Default value: 8