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