};
&localbus {
- flash@1 {
+ flash1: flash@1 {
compatible = "lantiq,nand-xway";
lantiq,cs1 = <1>;
bank-width = <1>;
pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
pinctrl-names = "default";
- nand-ecc-mode = "on-die";
+ nand-ecc-engine = <&flash1>;
partitions {
compatible = "fixed-partitions";