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