layerscape: Fix build in dtb
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 302-dts-0095-arm64-dts-fsl-ls1028a-Specify-that-the-Felix-port-4-.patch
1 From 5934fa0a0708b551211f63b8d91676df346e9821 Mon Sep 17 00:00:00 2001
2 From: Vladimir Oltean <vladimir.oltean@nxp.com>
3 Date: Fri, 29 Nov 2019 03:13:00 +0200
4 Subject: [PATCH] arm64: dts: fsl: ls1028a: Specify that the Felix port 4 runs
5 at 2.5Gbps
6
7 This is just an informative change, because all Felix MACs inside the
8 LS1028A are hardwired in gigabit mode anyway.
9
10 Only PHYLINK is able to understand fixed-link speeds higher than 1 Gbps.
11 With PHYLIB, fixed-link interfaces are emulated as C22 PHYs by the swphy
12 driver, and C22 does not specify settings for speeds higher than
13 gigabit.
14
15 This patch brings no functional change except for the messages printed
16 during driver initialization.
17
18 Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
19 ---
20 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
24 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
25 @@ -805,7 +805,7 @@
26 phy-mode = "gmii";
27
28 fixed-link {
29 - speed = <1000>;
30 + speed = <2500>;
31 full-duplex;
32 };
33 };