brcm2708: add kernel 4.14 support
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.14 / 950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch
1 From 671286dda990f9ca489f6dfac760b3468ad00f55 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 27 Nov 2018 16:55:14 +0000
4 Subject: [PATCH 444/454] ARM: dts: bcm283x: Set downshift-after for Pi 3B+
5
6 Enable the auto-downshift feature on Raspberry Pi 3B+ so that a link
7 can eventually be established using a cable with pairs C and/or D
8 missing or broken in a 1000Mbps-capable port.
9
10 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
11 ---
12 arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi | 9 +++++++++
13 1 file changed, 9 insertions(+)
14
15 --- a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
16 +++ b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
17 @@ -27,6 +27,15 @@
18 * led1 = 6:link10/100/activity
19 */
20 microchip,led-modes = <1 6>;
21 +
22 + mdio {
23 + #address-cells = <0x1>;
24 + #size-cells = <0x0>;
25 + eth_phy: ethernet-phy@1 {
26 + reg = <1>;
27 + microchip,downshift-after = <2>;
28 + };
29 + };
30 };
31 };
32 };