aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch b/target/linux/brcm2708/patches-4.14/950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch
new file mode 100644
index 0000000000..baa533f9e6
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.14/950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch
@@ -0,0 +1,32 @@
+From 671286dda990f9ca489f6dfac760b3468ad00f55 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Tue, 27 Nov 2018 16:55:14 +0000
+Subject: [PATCH 444/454] 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 | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
++++ b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
+@@ -27,6 +27,15 @@
+ * led1 = 6:link10/100/activity
+ */
+ microchip,led-modes = <1 6>;
++
++ mdio {
++ #address-cells = <0x1>;
++ #size-cells = <0x0>;
++ eth_phy: ethernet-phy@1 {
++ reg = <1>;
++ microchip,downshift-after = <2>;
++ };
++ };
+ };
+ };
+ };