dt-bindings: mtd: ingenic: Use standard ecc-engine property

The 'ingenic,bch-controller' property is now deprecated and the
'ecc-engine' property should be used instead.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
Paul Cercueil 2019-03-19 15:53:53 +01:00 committed by Miquel Raynal
parent 057c319a0f
commit badb37f160

View file

@ -14,7 +14,7 @@ Required NAND controller device properties:
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).
Optional NAND controller device properties: Optional NAND controller device properties:
- ingenic,bch-controller: To make use of the hardware ECC controller, this - ecc-engine: To make use of the hardware ECC controller, this
property must contain a phandle for the ECC controller node. The required property must contain a phandle for the ECC controller node. The required
properties for this node are described below. If this is not specified, properties for this node are described below. If this is not specified,
software ECC will be used instead. software ECC will be used instead.
@ -48,7 +48,7 @@ nemc: nemc@13410000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
ingenic,bch-controller = <&bch>; ecc-engine = <&bch>;
nand@1 { nand@1 {
reg = <1>; reg = <1>;