brcm2708: update to latest patches from RPi Foundation
[openwrt/staging/chunkeey.git] / target / linux / brcm2708 / patches-4.19 / 950-0195-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch
diff --git a/target/linux/brcm2708/patches-4.19/950-0195-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch b/target/linux/brcm2708/patches-4.19/950-0195-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch
new file mode 100644 (file)
index 0000000..b0613d2
--- /dev/null
@@ -0,0 +1,24 @@
+From 036c72ed4475afb757af568d40db0973a5dafcc8 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Tue, 27 Nov 2018 16:55:14 +0000
+Subject: [PATCH] ARM: dts: bcm283x: Set downshift-after for Pi 3B+
+
+Enable the auto-downshift feature on Raspberry Pi 3B+ so that a link
+can eventually be established using a cable with pairs C and/or D
+missing or broken in a 1000Mbps-capable port.
+
+Signed-off-by: Phil Elwell <phil@raspberrypi.org>
+---
+ arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
++++ b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
+@@ -31,6 +31,7 @@
+                                               reg = <1>;
+                                               microchip,eee-enabled;
+                                               microchip,tx-lpi-timer = <600>; /* non-aggressive*/
++                                              microchip,downshift-after = <2>;
+                                               microchip,led-modes = <
+                                                       LAN78XX_LINK_1000_ACTIVITY
+                                                       LAN78XX_LINK_10_100_ACTIVITY