Skip to content

Commit 3b2a422

Browse files
nxpfranklimiquelraynal
authored andcommitted
dt-bindings: mtd: mxc-nand: add missing compatible string and ref to nand-controller-legacy.yaml
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>
1 parent 17de8a6 commit 3b2a422

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

Documentation/devicetree/bindings/mtd/mxc-nand.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,43 @@ maintainers:
1010
- Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
1111

1212
allOf:
13-
- $ref: nand-controller.yaml
13+
- $ref: nand-controller-legacy.yaml
1414

1515
properties:
1616
compatible:
1717
oneOf:
1818
- enum:
1919
- fsl,imx25-nand
2020
- fsl,imx27-nand
21+
- fsl,imx51-nand
22+
- fsl,imx53-nand
23+
- items:
24+
- enum:
25+
- fsl,imx35-nand
26+
- const: fsl,imx25-nand
2127
- items:
2228
- enum:
2329
- fsl,imx31-nand
2430
- const: fsl,imx27-nand
2531
reg:
26-
maxItems: 1
32+
minItems: 1
33+
items:
34+
- description: IP register space
35+
- description: Nand flash internal buffer space
2736

2837
interrupts:
2938
maxItems: 1
3039

3140
clocks:
3241
maxItems: 1
3342

43+
dmas:
44+
maxItems: 1
45+
46+
dma-names:
47+
items:
48+
- const: rx-tx
49+
3450
required:
3551
- compatible
3652
- reg

0 commit comments

Comments
 (0)