Macronix Raw NAND Controller
Schema identifier ($id): "http://devicetree.org/schemas/mtd/mxic,multi-itfc-v009-nand-controller.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mason Yang <masonccyang@mxic.com.tw>"
The Macronix Multi-Interface Raw NAND Controller is a versatile flash memory controller for embedding in SoCs, capable of interfacing with various NAND devices. It requires dedicated clock inputs for core, data transmit, and delayed transmit paths along with register space and an interrupt line for operation.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):nand-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mxic,multi-itfc-v009-nand-controller"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ps"
Item 2
Exact value (
const):"send"
Item 3
Exact value (
const):"send_dly"
Required in this object (required): "compatible", "reg", "interrupts", "#address-cells", "#size-cells", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
nand-controller@43c30000 {
compatible = "mxic,multi-itfc-v009-nand-controller";
reg = <0x43c30000 0x10000>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 0x1d IRQ_TYPE_EDGE_RISING>;
clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 15>;
clock-names = "ps", "send", "send_dly";
nand@0 {
reg = <0>;
nand-ecc-mode = "soft";
nand-ecc-algo = "bch";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause