nxp,espi

Description

These nodes are “espi” bus nodes.

NXP MCX A series eSPI target controller.

The peripheral has up to 5 configurable I/O ports.
Each port is described by a child node whose reg property gives
the hardware port index (0-4).

Properties

Top level properties

These property descriptions apply to “nxp,espi” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

ram-base-addr

int

SRAM base address used by the eSPI hardware for mailbox and
OOB DMA buffers. Must be naturally aligned and accessible
by the eSPI bus-master engine.

This property is required.

map-base0-addr

int

Upper 16-bit base address for ports that select BASE0
addressing via the PnADDR register. Combined with the
port's io-addr to form the full host-side address.

Default value: 0

map-base1-addr

int

Upper 16-bit base address for ports that select BASE1
addressing via the PnADDR register. Combined with the
port's io-addr to form the full host-side address.

Default value: 0

max-oob-payload-size

int

Maximum OOB channel payload size in bytes advertised to the host
through the ESPICAP.OOBMX capability field. This is a capability
ceiling: the host can only negotiate a value less than or equal to
this. The default matches the hardware/HAL reset capability.

Default value: 64

Legal values: 64, 128, 256

max-flash-payload-size

int

Maximum flash channel payload size in bytes advertised to the host
through the ESPICAP.FLASHMX capability field. This is a capability
ceiling: the host can only negotiate a value less than or equal to
this. The default matches the hardware/HAL reset capability.

Default value: 64

Legal values: 64, 128, 256, 512

max-peripheral-payload-size

int

Maximum peripheral channel payload size in bytes advertised to the host
through the ESPICAP.MEMMX capability field. This is a capability
ceiling: the host can only negotiate a value less than or equal to
this. The default matches the hardware/HAL reset capability.

Default value: 64

Legal values: 64, 128, 256

max-taf-read-req-size

int

Maximum target read request size in bytes advertised to the host
through the ESPICAP.TRGT_REQ_SIZE_SUPP capability field. This is a
capability ceiling: the host can only negotiate a value less than or
equal to this. The default matches the hardware/HAL reset capability.

Default value: 64

Legal values: 64, 128, 256, 512, 1024, 2048, 4096

taf-erase-size

int

Target-Attached-Flash minimum erase sector size in kilobytes advertised
to the host through the ESPICAP.SAFERA capability field. The default
matches the hardware/HAL reset capability.

Default value: 2

Legal values: 2, 4, 8, 16

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

Child node properties

Name

Type

Details

reg

int

Hardware port index. The driver maps each child node to the hardware
port at that index in declaration order, so child nodes must cover
every index from 0 up to the highest used port without gaps.
Use port-type = <0x0> as a placeholder for any index in that range
that requires no active function.

This property is required.

See Important properties for more information.

port-type

int

Port function type. The hardware port slot number equals the position
of this child node in the sorted child list, so all indices from 0 to
the highest active port must be present.
  0x0 = Unconfigured
  0x1 = ACPI Endpoint
  0x2 = ACPI Index-Data
  0x4 = Bus Master Memory
  0x5 = Bus Master Flash
  0x8 = Mailbox Shared
  0x9 = Mailbox Single
  0xA = Mailbox Split
  0xB = Mailbox OOB Split
  0xC = Mailbox OEM

This property is required.

Legal values: 0x0, 0x1, 0x2, 0x4, 0x5, 0x8, 0x9, 0xa, 0xb, 0xc

io-addr

int

Host-side I/O address offset for this port.

Default value: 0

ram-offset

int

Byte offset from ram-base-addr for this port's DMA buffer.

Default value: 0

ram-size

int

RAM buffer size in bytes for this port's DMA buffer.

Default value: 4

Legal values: 4, 8, 16, 32, 64, 128, 256, 512

idx-offset

int

Index register offset for ACPI Index-Data ports.

Default value: 0