layerscape: add patches-5.4
[openwrt/staging/wigyori.git] / target / linux / layerscape / patches-5.4 / 302-dts-0111-arm64-dts-fsl-ls1028a-rdb-fix-QSGMII-PHY-node-names.patch
diff --git a/target/linux/layerscape/patches-5.4/302-dts-0111-arm64-dts-fsl-ls1028a-rdb-fix-QSGMII-PHY-node-names.patch b/target/linux/layerscape/patches-5.4/302-dts-0111-arm64-dts-fsl-ls1028a-rdb-fix-QSGMII-PHY-node-names.patch
new file mode 100644 (file)
index 0000000..dbea8ab
--- /dev/null
@@ -0,0 +1,38 @@
+From 85252792bc07b398582e8dacf6ec6d09a5075195 Mon Sep 17 00:00:00 2001
+From: Alex Marginean <alexandru.marginean@nxp.com>
+Date: Tue, 7 Jan 2020 15:15:29 +0200
+Subject: [PATCH] arm64: dts: fsl-ls1028a-rdb: fix QSGMII PHY node names
+
+Use ethernet-phy@ADDR, previously the numbers were wrong.
+
+Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
+---
+ arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
++++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
+@@ -215,19 +215,19 @@
+ };
+ &enetc_mdio_pf3 {
+-      qsgmii_phy1: ethernet-phy@4 {
++      qsgmii_phy1: ethernet-phy@10 {
+               reg = <0x10>;
+       };
+-      qsgmii_phy2: ethernet-phy@5 {
++      qsgmii_phy2: ethernet-phy@11 {
+               reg = <0x11>;
+       };
+-      qsgmii_phy3: ethernet-phy@6 {
++      qsgmii_phy3: ethernet-phy@12 {
+               reg = <0x12>;
+       };
+-      qsgmii_phy4: ethernet-phy@7 {
++      qsgmii_phy4: ethernet-phy@13 {
+               reg = <0x13>;
+       };
+ };