Commit a07c63d3 authored by Paul Cercueil's avatar Paul Cercueil Committed by Miquel Raynal

dt-bindings: mtd: ingenic: Add compatible strings for JZ4740 and JZ4725B

Add compatible strings to probe the jz4780-nand and jz4780-bch drivers
from devicetree on the JZ4725B and JZ4740 SoCs from Ingenic.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 6d50e9b6
...@@ -6,7 +6,10 @@ memory-controllers/ingenic,jz4780-nemc.txt), and thus NAND device nodes must ...@@ -6,7 +6,10 @@ memory-controllers/ingenic,jz4780-nemc.txt), and thus NAND device nodes must
be children of the NEMC node. be children of the NEMC node.
Required NAND controller device properties: Required NAND controller device properties:
- compatible: Should be set to "ingenic,jz4780-nand". - compatible: Should be one of:
* ingenic,jz4740-nand
* ingenic,jz4725b-nand
* ingenic,jz4780-nand
- reg: For each bank with a NAND chip attached, should specify a bank number, - reg: For each bank with a NAND chip attached, should specify a bank number,
an offset of 0 and a size of 0x1000000 (i.e. the whole NEMC bank). an offset of 0 and a size of 0x1000000 (i.e. the whole NEMC bank).
...@@ -72,7 +75,10 @@ NAND devices. The following is a description of the device properties for a ...@@ -72,7 +75,10 @@ NAND devices. The following is a description of the device properties for a
BCH controller. BCH controller.
Required BCH properties: Required BCH properties:
- compatible: Should be set to "ingenic,jz4780-bch". - compatible: Should be one of:
* ingenic,jz4740-ecc
* ingenic,jz4725b-bch
* ingenic,jz4780-bch
- reg: Should specify the BCH controller registers location and length. - reg: Should specify the BCH controller registers location and length.
- clocks: Clock for the BCH controller. - clocks: Clock for the BCH controller.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment