1f69f15a3SAnson Huang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2f69f15a3SAnson Huang%YAML 1.2
3f69f15a3SAnson Huang---
4f69f15a3SAnson Huang$id: http://devicetree.org/schemas/mtd/mxc-nand.yaml#
5f69f15a3SAnson Huang$schema: http://devicetree.org/meta-schemas/core.yaml#
6f69f15a3SAnson Huang
7f69f15a3SAnson Huangtitle:  Freescale's mxc_nand binding
8f69f15a3SAnson Huang
9f69f15a3SAnson Huangmaintainers:
10f69f15a3SAnson Huang  - Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
11f69f15a3SAnson Huang
12f69f15a3SAnson HuangallOf:
13f69f15a3SAnson Huang  - $ref: "nand-controller.yaml"
14f69f15a3SAnson Huang
15f69f15a3SAnson Huangproperties:
16f69f15a3SAnson Huang  compatible:
17f69f15a3SAnson Huang    const: fsl,imx27-nand
18f69f15a3SAnson Huang
19f69f15a3SAnson Huang  reg:
20f69f15a3SAnson Huang    maxItems: 1
21f69f15a3SAnson Huang
22f69f15a3SAnson Huang  interrupts:
23f69f15a3SAnson Huang    maxItems: 1
24f69f15a3SAnson Huang
25f69f15a3SAnson Huangrequired:
26f69f15a3SAnson Huang  - compatible
27f69f15a3SAnson Huang  - reg
28f69f15a3SAnson Huang  - interrupts
29f69f15a3SAnson Huang
30f69f15a3SAnson HuangunevaluatedProperties: false
31f69f15a3SAnson Huang
32f69f15a3SAnson Huangexamples:
33f69f15a3SAnson Huang  - |
34f69f15a3SAnson Huang    nand-controller@d8000000 {
35f69f15a3SAnson Huang        #address-cells = <1>;
36f69f15a3SAnson Huang        #size-cells = <0>;
37f69f15a3SAnson Huang        compatible = "fsl,imx27-nand";
38f69f15a3SAnson Huang        reg = <0xd8000000 0x1000>;
39f69f15a3SAnson Huang        interrupts = <29>;
40f69f15a3SAnson Huang        nand-bus-width = <8>;
41f69f15a3SAnson Huang        nand-ecc-mode = "hw";
42f69f15a3SAnson Huang    };
43