lantiq: fritz7312: set maximum speed to 100 mbit on 5.4
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 18 Jun 2020 09:48:58 +0000 (11:48 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 21 Jun 2020 19:30:36 +0000 (21:30 +0200)
The fritz 7312 does not support 1000 gbit. Advertising it makes it
worse. Some NIC will change to 1000 gibt and turn off and on again for
ever.

The previous patch in 36f628910b8b was only applied to the 4.19 file,
so let's just make it consistent with this patch.

Cc: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts

index aa825abd9f04d3a9247be1c0690b1a36d19c299d..0f635127f8598baa806fab8c82bd8c147b0f0ed5 100644 (file)
                phy0: ethernet-phy@0 {
                        reg = <0>;
                        reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
+                       max-speed = <100>;
                };
        };
 };