lantiq: fix network port GPIO settings for Fritzbox 3390
[openwrt/staging/stintel.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_avm_fritz3390.dts
index c4b92f9f910b9a7030f4ba7aedf71a8ff9bf9160..5a3f2e58369cd10e667ed6bf4ed0e4df3a0840c5 100644 (file)
 &gswip_mdio {
        phy0: ethernet-phy@0 {
                reg = <0x0>;
-               gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
+               gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
        };
 
        phy1: ethernet-phy@1 {
                reg = <0x1>;
-               gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
+               gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
        };
 
        phy11: ethernet-phy@11 {
 };
 
 &localbus {
-       flash@1 {
+       flash1: flash@1 {
                compatible = "lantiq,nand-xway";
                bank-width = <1>;
                reg = <1 0x0 0x2000000>;
                pinctrl-0 = <&nand_pins>;
                pinctrl-names = "default";
 
-               nand-ecc-mode = "on-die";
+               nand-ecc-engine = <&flash1>;
 
                partitions {
                        compatible = "fixed-partitions";