lantiq: kernel: xway-nand: Move ECC engine setting to new DT binding
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_avm_fritz7362sl.dts
index c26908642cfe4ad2ac96548382c916a11944992f..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";
                #address-cells = <2>;
        };
 };
+
+&eth0 {
+       nvmem-cells = <&macaddr_urlader_a91>;
+       nvmem-cell-names = "mac-address";
+       mac-address-increment = <(-2)>;
+};
+
+&urlader {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_urlader_a91: macaddr@a91 {
+               reg = <0xa91 0x6>;
+       };
+};