mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Add compatible string fsl,imx51-nand, fsl,imx53-nand and fsl,imx35-nand. Add missinge properties dmas and dma-names. Change reg's maxItems to 2 because i.MX53 have addition NAND flash internal buffer space. Change ref to nand-controller-legacy.yaml allow legacy DT layout. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
66 lines
1.2 KiB
YAML
66 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mtd/mxc-nand.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale's mxc_nand
|
|
|
|
maintainers:
|
|
- Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
allOf:
|
|
- $ref: nand-controller-legacy.yaml
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- fsl,imx25-nand
|
|
- fsl,imx27-nand
|
|
- fsl,imx51-nand
|
|
- fsl,imx53-nand
|
|
- items:
|
|
- enum:
|
|
- fsl,imx35-nand
|
|
- const: fsl,imx25-nand
|
|
- items:
|
|
- enum:
|
|
- fsl,imx31-nand
|
|
- const: fsl,imx27-nand
|
|
reg:
|
|
minItems: 1
|
|
items:
|
|
- description: IP register space
|
|
- description: Nand flash internal buffer space
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
dmas:
|
|
maxItems: 1
|
|
|
|
dma-names:
|
|
items:
|
|
- const: rx-tx
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
nand-controller@d8000000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "fsl,imx27-nand";
|
|
reg = <0xd8000000 0x1000>;
|
|
interrupts = <29>;
|
|
};
|