xref: /freebsd/sys/contrib/device-tree/Bindings/mtd/mxc-nand.yaml (revision 0a36787e4c1fa0cf77dcf83be0867178476e372b)
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 binding
8
9maintainers:
10  - Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
11
12allOf:
13  - $ref: "nand-controller.yaml"
14
15properties:
16  compatible:
17    const: fsl,imx27-nand
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28  - interrupts
29
30unevaluatedProperties: false
31
32examples:
33  - |
34    nand-controller@d8000000 {
35        #address-cells = <1>;
36        #size-cells = <0>;
37        compatible = "fsl,imx27-nand";
38        reg = <0xd8000000 0x1000>;
39        interrupts = <29>;
40        nand-bus-width = <8>;
41        nand-ecc-mode = "hw";
42    };
43