STMicroelectronics SPI FSM Serial NOR Flash Controller

Schema identifier ($id): "http://devicetree.org/schemas/mtd/st,spi-fsm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Angus Clark <angus.clark@st.com>"

The STMicroelectronics Fast Sequence Mode (FSM) controller is a dedicated hardware accelerator integrated in older STiH4xx/STiDxxx set-top box SoCs (such as STiH407, STiH416, STiD127). It connects directly to a single external serial flash device used as the primary boot device. The FSM executes hard-coded or configurable instruction sequences in hardware, providing low-latency reads suitable for execute-in-place (XIP) boot and high read bandwidth.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,spi-fsm"

reg — required here #

Maximum number of items (maxItems): 1

reg-names — required here #

Exact value (const): "spi-fsm"

interrupts — required here #

Maximum number of items (maxItems): 1

st,syscfg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the system configuration registers used for boot-device selection.

st,boot-device-reg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Offset of the boot-device register within the st,syscfg node.

st,boot-device-spi — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Expected boot-device value when booting from this SPI controller.

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "pinctrl-0"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
spifsm@fe902000 {
    compatible = "st,spi-fsm";
    reg = <0xfe902000 0x1000>;
    reg-names = "spi-fsm";
    interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
    pinctrl-0 = <&pinctrl_fsm>;
    st,syscfg = <&syscfg_rear>;
    st,boot-device-reg = <0x958>;
    st,boot-device-spi = <0x1a>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page