Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -6,7 +6,10 @@ memory-controllers/ingenic,jz4780-nemc.txt), and thus NAND device nodes must
be children of the NEMC node.

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,
  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
BCH controller.

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.
- clocks: Clock for the BCH controller.