lantiq: kernel: xway-nand: Move ECC engine setting to new DT binding
[openwrt/staging/mkresin.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_avm_fritz7362sl.dts
index b1423e5dea4cc10665c9d8b4a61d627417ba4451..4d86bf5542d611e8dbe35d671faf6b400797514d 100644 (file)
@@ -46,7 +46,7 @@
 };
 
 &localbus {
-       flash@1 {
+       flash1: flash@1 {
                compatible = "lantiq,nand-xway";
                lantiq,cs1 = <1>;
                bank-width = <1>;
@@ -55,7 +55,7 @@
                pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
                pinctrl-names = "default";
 
-               nand-ecc-mode = "on-die";
+               nand-ecc-engine = <&flash1>;
 
                partitions {
                        compatible = "fixed-partitions";