Intel LGM SoC NAND Controller
Schema identifier ($id): "http://devicetree.org/schemas/mtd/intel,lgm-ebunand.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):nand-controller.yaml
Maintainers (maintainers): "Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,lgm-ebunand"
reg — required here #
Maximum number of items (maxItems): 6
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ebunand"
Item 2
Exact value (
const):"hsnand"
Item 3
Exact value (
const):"nand_cs0"
Item 4
Exact value (
const):"nand_cs1"
Item 5
Exact value (
const):"addr_sel0"
Item 6
Exact value (
const):"addr_sel1"
clocks — required here #
Maximum number of items (maxItems): 1
dmas — required here #
Maximum number of items (maxItems): 2
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
Properties matching a name pattern (patternProperties) #
^nand@[a-f0-9]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): raw-nand-chip.yaml
Properties and child nodes (properties) #
reg — not listed as required here
Minimum value (minimum): 0
Maximum value (maximum): 1
nand-ecc-algo — not listed as required here
Exact value (const): "hw"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "dmas", "dma-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
nand-controller@e0f00000 {
compatible = "intel,lgm-ebunand";
reg = <0xe0f00000 0x100>,
<0xe1000000 0x300>,
<0xe1400000 0x8000>,
<0xe1c00000 0x1000>,
<0x17400000 0x4>,
<0x17c00000 0x4>;
reg-names = "ebunand", "hsnand", "nand_cs0", "nand_cs1",
"addr_sel0", "addr_sel1";
clocks = <&cgu0 125>;
dmas = <&dma0 8>, <&dma0 9>;
dma-names = "tx", "rx";
#address-cells = <1>;
#size-cells = <0>;
nand@0 {
reg = <0>;
nand-ecc-mode = "hw";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)