nordic,nrf-exmif

Vendor: Nordic Semiconductor

Description

These nodes are “mspi” bus nodes.

Nordic External Memory Interface (EXMIF)

Properties

Properties not inherited from the base binding file.

Name

Type

Details

aux-reg-enable

boolean

Activates auxiliary register access that is needed on some platforms.

fifo-depth

int

Number of items that can be stored in the TX FIFO. Range: 8-256.
If the RX FIFO depth is not specified separately in the rx-fifo-depth
property, this value specifies depth of both TX and RX FIFOs.

This property is required.

rx-fifo-depth

int

Number of items that can be stored in the RX FIFO. Range: 8-256.

tx-fifo-threshold

int

Number of entries in the TX FIFO above which the TX transfer is started.
Maximum value is the TX FIFO depth - 1.

rx-fifo-threshold

int

Number of entries in the RX FIFO above which the controller gets an RX
interrupt. Maximum value is the RX FIFO depth - 1.

clock-frequency

int

Clock frequency the MSPI peripheral is being driven at, in Hz.

op-mode

string

Indicate MSPI controller or peripheral mode of the controller.
The controller driver may use this during initialization.

Legal values: 'MSPI_CONTROLLER', 'MSPI_PERIPHERAL'

duplex

string

Indicate MSPI Duplex mode, full or half.
The controller driver may check this setting against its
capabilities.

Legal values: 'MSPI_HALF_DUPLEX', 'MSPI_FULL_DUPLEX'

dqs-support

boolean

Indicate whether the hardware supports DQS.
The controller driver may check this setting against its
capabilities.

software-multiperipheral

boolean

Indicate whether the controller driver enables support for
software managed multi peripheral feature.
At the minimum, the controller driver should use it to allow
or disallow calling mspi_dev_config with MSPI_DEVICE_CONFIG_NONE.

ce-gpios

phandle-array

An array of chip select GPIOs to use. Each element
in the array specifies a GPIO. The index in the array
corresponds to the child node that the CE gpio controls.

Example:

  mspi@... {
          ce-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>,
                        <&gpio1 10 GPIO_ACTIVE_LOW>,
                        ...;

          mspi-device@0 {
                  reg = <0>;
                  ...
          };
          mspi-device@1 {
                  reg = <1>;
                  ...
          };
          ...
  };

The child node "mspi-device@0" specifies a mspi device with
chip select controller gpio0, pin 23, and devicetree
GPIO flags GPIO_ACTIVE_LOW. Similarly, "mspi-device@1" has CE GPIO
controller gpio1, pin 10, and flags GPIO_ACTIVE_LOW. Additional
devices can be configured in the same way.

If unsure about the flags cell, GPIO_ACTIVE_LOW is generally a safe
choice for a typical "CEn" pin. GPIO_ACTIVE_HIGH may be used if
intervening hardware inverts the signal to the peripheral device or
the line itself is active high.

Regardless of whether the CE pin may need software control or MSPI
controller has dedicated CE pin, this field should be defined to
help manage multiple devices on the same MSPI controller.

pinctrl-0

phandles

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

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.

pinctrl-names

string-array

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