kernel: bump 5.4 to 5.4.109
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 302-dts-0109-arm64-dts-ls1028a-rdb-Enable-SGMII-AN-for-the-QSGMII.patch
1 From 57c0539d99fed2252364b431de004f9110ac3d3f Mon Sep 17 00:00:00 2001
2 From: Vladimir Oltean <vladimir.oltean@nxp.com>
3 Date: Fri, 6 Dec 2019 13:59:05 +0200
4 Subject: [PATCH] arm64: dts: ls1028a-rdb: Enable SGMII AN for the QSGMII
5 switch ports
6
7 This enables monitoring of link status and AN. It should also physically
8 enable SGMII AN with the VSC8514 PHY, but in practice that is still
9 hardcoded as "on" in the PHY driver, at the moment. So since Felix
10 actually disables SGMII AN when this DT property is absent, this would
11 result in an in-band AN mismatch between the MAC and the PHY. So this
12 property is required for the moment for this MAC/PHY combination.
13
14 Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
15 ---
16 arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 ++++
17 1 file changed, 4 insertions(+)
18
19 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
20 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
21 @@ -236,21 +236,25 @@
22 &switch_port0 {
23 phy-handle = <&qsgmii_phy1>;
24 phy-connection-type = "qsgmii";
25 + managed = "in-band-status";
26 };
27
28 &switch_port1 {
29 phy-handle = <&qsgmii_phy2>;
30 phy-connection-type = "qsgmii";
31 + managed = "in-band-status";
32 };
33
34 &switch_port2 {
35 phy-handle = <&qsgmii_phy3>;
36 phy-connection-type = "qsgmii";
37 + managed = "in-band-status";
38 };
39
40 &switch_port3 {
41 phy-handle = <&qsgmii_phy4>;
42 phy-connection-type = "qsgmii";
43 + managed = "in-band-status";
44 };
45
46 &sai4 {