STMicroelectronics SPEAr600 Serial Memory Interface (SMI) Controller
Schema identifier ($id): "http://devicetree.org/schemas/mtd/st,spear600-smi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Richard Weinberger <richard@nod.at>"
The SPEAr600 Serial Memory Interface (SMI) is a dedicated serial flash controller supporting up to four chip selects for serial NOR flashes connected in parallel. The controller is memory-mapped and the attached flash devices appear in the CPU address space.The driver (drivers/mtd/devices/spear_smi.c) probes the attached flashes dynamically by sending commands (e.g., RDID) to each bank. Flash sub nodes describe the memory range and optional per-flash properties.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,spear600-smi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 1
clock-rate — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Functional clock rate of the SMI controller in Hz.
Properties matching a name pattern (patternProperties) #
^flash@.*$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/mtd/mtd.yaml#
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
st,smi-fast-mode — not listed as required here
Value type (type): "boolean"
Indicates that the attached flash supports fast read mode.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "reg"
Required in this object (required): "compatible", "reg", "clock-rate", "#address-cells", "#size-cells"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
flash@fc000000 {
compatible = "st,spear600-smi";
#address-cells = <1>;
#size-cells = <1>;
reg = <0xfc000000 0x1000>;
interrupt-parent = <&vic1>;
interrupts = <12>;
clock-rate = <50000000>; /* 50 MHz */
flash@fc000000 {
reg = <0xfc000000 0x1000>;
st,smi-fast-mode;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)