[openwrt/openwrt] lantiq: rename gphy firmware

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 20 10:27:32 PST 2018


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/627a28eb09c0aa3471466850dfde6a063481a4f6

commit 627a28eb09c0aa3471466850dfde6a063481a4f6
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sun Dec 31 11:48:15 2017 +0100

    lantiq: rename gphy firmware
    
    Rename the gphy firmware to match the name requested by kernel 4.14 and
    update the devicetree source files to use the new name.
    
    Update the u-boot lantiq Makefile to be compatible with the new names as
    well.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 package/boot/uboot-lantiq/Makefile                      |  10 +++++-----
 target/linux/lantiq/dts/ARV7519RW22.dts                 |   4 ++--
 target/linux/lantiq/dts/ASL56026.dts                    |   4 ++--
 target/linux/lantiq/dts/BTHOMEHUBV5A.dts                |   4 ++--
 target/linux/lantiq/dts/DM200.dts                       |   2 +-
 target/linux/lantiq/dts/EASY80920.dtsi                  |   4 ++--
 target/linux/lantiq/dts/FRITZ3370.dts                   |   2 +-
 target/linux/lantiq/dts/FRITZ7360SL.dts                 |   2 +-
 target/linux/lantiq/dts/P2812HNUFX.dtsi                 |   4 ++--
 target/linux/lantiq/dts/TDW89X0.dtsi                    |   2 +-
 target/linux/lantiq/dts/VG3503J.dts                     |   4 ++--
 target/linux/lantiq/dts/VGV7510KW22.dtsi                |   4 ++--
 target/linux/lantiq/dts/VGV7519.dtsi                    |   4 ++--
 target/linux/lantiq/dts/VR200v.dts                      |   2 +-
 target/linux/lantiq/dts/WBMR300.dts                     |   2 +-
 .../{vr9_phy11g_a1x.bin => xrx200_phy11g_a14.bin}       | Bin
 .../{vr9_phy11g_a2x.bin => xrx200_phy11g_a22.bin}       | Bin
 .../{vr9_phy22f_a1x.bin => xrx200_phy22f_a14.bin}       | Bin
 .../{vr9_phy22f_a2x.bin => xrx200_phy22f_a22.bin}       | Bin
 .../0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch    |  16 ++++++++--------
 20 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/package/boot/uboot-lantiq/Makefile b/package/boot/uboot-lantiq/Makefile
index 5493737..55038fd 100644
--- a/package/boot/uboot-lantiq/Makefile
+++ b/package/boot/uboot-lantiq/Makefile
@@ -353,17 +353,17 @@ UBOOT_TARGETS:= \
 
 define CompressVR9Firmware
 	$(STAGING_DIR_HOST)/bin/lzma e \
-		$(FIRMWARE_LANTIQ_SOURCE)/vr9_phy$(1)_a$(2)x.bin \
+		$(FIRMWARE_LANTIQ_SOURCE)/xrx200_phy$(1)_a$(2)$(3).bin \
 		$(PKG_BUILD_DIR)/arch/mips/cpu/mips32/vrx200/fw_phy$(1)_a$(2)x.blob
 endef
 
 define Build/Prepare
 	$(call Build/Prepare/Default)
 	mkdir -p $(PKG_BUILD_DIR)/arch/mips/cpu/mips32/vrx200/
-	$(call CompressVR9Firmware,11g,1)
-	$(call CompressVR9Firmware,11g,2)
-	$(call CompressVR9Firmware,22f,1)
-	$(call CompressVR9Firmware,22f,2)
+	$(call CompressVR9Firmware,11g,1,4)
+	$(call CompressVR9Firmware,11g,2,2)
+	$(call CompressVR9Firmware,22f,1,4)
+	$(call CompressVR9Firmware,22f,2,2)
 endef
 
 UBOOT_MAKE_FLAGS :=
diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts
index 9e2ae9d..0bdc150 100644
--- a/target/linux/lantiq/dts/ARV7519RW22.dts
+++ b/target/linux/lantiq/dts/ARV7519RW22.dts
@@ -99,8 +99,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy22f_a1x.bin";	/*VR9 1.1*/
-		firmware2 = "lantiq/vr9_phy22f_a2x.bin";	/*VR9 1.2*/
+		firmware1 = "lantiq/xrx200_phy22f_a14.bin";	/*VR9 1.1*/
+		firmware2 = "lantiq/xrx200_phy22f_a22.bin";	/*VR9 1.2*/
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/ASL56026.dts b/target/linux/lantiq/dts/ASL56026.dts
index 293a3e2..2037f40 100644
--- a/target/linux/lantiq/dts/ASL56026.dts
+++ b/target/linux/lantiq/dts/ASL56026.dts
@@ -77,8 +77,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy22f_a1x.bin";	/*VR9 1.1*/
-		firmware2 = "lantiq/vr9_phy22f_a2x.bin";	/*VR9 1.2*/
+		firmware1 = "lantiq/xrx200_phy22f_a14.bin";	/*VR9 1.1*/
+		firmware2 = "lantiq/xrx200_phy22f_a22.bin";	/*VR9 1.2*/
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index 4bdeddc..2f75074 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -118,8 +118,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy11g_a1x.bin";	/*VR9 1.1*/
-		firmware2 = "lantiq/vr9_phy11g_a2x.bin";	/*VR9 1.2*/
+		firmware1 = "lantiq/xrx200_phy11g_a14.bin";	/*VR9 1.1*/
+		firmware2 = "lantiq/xrx200_phy11g_a22.bin";	/*VR9 1.2*/
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/DM200.dts b/target/linux/lantiq/dts/DM200.dts
index eef4084..3c8a2a1 100644
--- a/target/linux/lantiq/dts/DM200.dts
+++ b/target/linux/lantiq/dts/DM200.dts
@@ -56,7 +56,7 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware = "lantiq/vr9_phy22f_a2x.bin";
+		firmware = "lantiq/xrx200_phy22f_a22.bin";
 		phys = [ 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi
index 3565842..b19b971 100644
--- a/target/linux/lantiq/dts/EASY80920.dtsi
+++ b/target/linux/lantiq/dts/EASY80920.dtsi
@@ -106,8 +106,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy11g_a1x.bin";
-		firmware2 = "lantiq/vr9_phy11g_a2x.bin";
+		firmware1 = "lantiq/xrx200_phy11g_a14.bin";
+		firmware2 = "lantiq/xrx200_phy11g_a22.bin";
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts
index 76f7f87..ef3655d 100644
--- a/target/linux/lantiq/dts/FRITZ3370.dts
+++ b/target/linux/lantiq/dts/FRITZ3370.dts
@@ -121,7 +121,7 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware = "lantiq/vr9_phy11g_a1x.bin";
+		firmware = "lantiq/xrx200_phy11g_a14.bin";
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/FRITZ7360SL.dts b/target/linux/lantiq/dts/FRITZ7360SL.dts
index cf82451..b164871 100644
--- a/target/linux/lantiq/dts/FRITZ7360SL.dts
+++ b/target/linux/lantiq/dts/FRITZ7360SL.dts
@@ -98,7 +98,7 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware = "lantiq/vr9_phy11g_a2x.bin";
+		firmware = "lantiq/xrx200_phy11g_a22.bin";
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index 9429d5c..ec3bd10 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -131,8 +131,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy11g_a1x.bin";	/*VR9 1.1*/
-		firmware2 = "lantiq/vr9_phy11g_a2x.bin";	/*VR9 1.2*/
+		firmware1 = "lantiq/xrx200_phy11g_a14.bin";	/*VR9 1.1*/
+		firmware2 = "lantiq/xrx200_phy11g_a22.bin";	/*VR9 1.2*/
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi
index 79bcfc1..a629d92 100644
--- a/target/linux/lantiq/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/dts/TDW89X0.dtsi
@@ -82,7 +82,7 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware = "lantiq/vr9_phy11g_a2x.bin";
+		firmware = "lantiq/xrx200_phy11g_a22.bin";
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/VG3503J.dts b/target/linux/lantiq/dts/VG3503J.dts
index cb0d5dd..8a73de9 100644
--- a/target/linux/lantiq/dts/VG3503J.dts
+++ b/target/linux/lantiq/dts/VG3503J.dts
@@ -81,8 +81,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy11g_a1x.bin";	/*VR9 1.1*/
-		firmware2 = "lantiq/vr9_phy11g_a2x.bin";	/*VR9 1.2*/
+		firmware1 = "lantiq/xrx200_phy11g_a14.bin";	/*VR9 1.1*/
+		firmware2 = "lantiq/xrx200_phy11g_a22.bin";	/*VR9 1.2*/
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi
index 2d8e528..fb4486a 100644
--- a/target/linux/lantiq/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi
@@ -93,8 +93,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy22f_a1x.bin";	/*VR9 1.1*/
-		firmware2 = "lantiq/vr9_phy22f_a2x.bin";	/*VR9 1.2*/
+		firmware1 = "lantiq/xrx200_phy22f_a14.bin";	/*VR9 1.1*/
+		firmware2 = "lantiq/xrx200_phy22f_a22.bin";	/*VR9 1.2*/
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi
index edff93c..e807b52 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -119,8 +119,8 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware1 = "lantiq/vr9_phy11g_a1x.bin";	/*VR9 1.1*/
-		firmware2 = "lantiq/vr9_phy11g_a2x.bin";	/*VR9 1.2*/
+		firmware1 = "lantiq/xrx200_phy11g_a14.bin";	/*VR9 1.1*/
+		firmware2 = "lantiq/xrx200_phy11g_a22.bin";	/*VR9 1.2*/
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/VR200v.dts b/target/linux/lantiq/dts/VR200v.dts
index b063d75..6eccc5b 100644
--- a/target/linux/lantiq/dts/VR200v.dts
+++ b/target/linux/lantiq/dts/VR200v.dts
@@ -88,7 +88,7 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware = "lantiq/vr9_phy11g_a2x.bin";
+		firmware = "lantiq/xrx200_phy11g_a22.bin";
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/dts/WBMR300.dts b/target/linux/lantiq/dts/WBMR300.dts
index de2be58..2ecfe4b 100644
--- a/target/linux/lantiq/dts/WBMR300.dts
+++ b/target/linux/lantiq/dts/WBMR300.dts
@@ -76,7 +76,7 @@
 
 	gphy-xrx200 {
 		compatible = "lantiq,phy-xrx200";
-		firmware = "lantiq/vr9_phy22f_a2x.bin";
+		firmware = "lantiq/xrx200_phy22f_a22.bin";
 		phys = [ 00 01 ];
 	};
 
diff --git a/target/linux/lantiq/files/firmware/lantiq/vr9_phy11g_a1x.bin b/target/linux/lantiq/files/firmware/lantiq/xrx200_phy11g_a14.bin
similarity index 100%
rename from target/linux/lantiq/files/firmware/lantiq/vr9_phy11g_a1x.bin
rename to target/linux/lantiq/files/firmware/lantiq/xrx200_phy11g_a14.bin
diff --git a/target/linux/lantiq/files/firmware/lantiq/vr9_phy11g_a2x.bin b/target/linux/lantiq/files/firmware/lantiq/xrx200_phy11g_a22.bin
similarity index 100%
rename from target/linux/lantiq/files/firmware/lantiq/vr9_phy11g_a2x.bin
rename to target/linux/lantiq/files/firmware/lantiq/xrx200_phy11g_a22.bin
diff --git a/target/linux/lantiq/files/firmware/lantiq/vr9_phy22f_a1x.bin b/target/linux/lantiq/files/firmware/lantiq/xrx200_phy22f_a14.bin
similarity index 100%
rename from target/linux/lantiq/files/firmware/lantiq/vr9_phy22f_a1x.bin
rename to target/linux/lantiq/files/firmware/lantiq/xrx200_phy22f_a14.bin
diff --git a/target/linux/lantiq/files/firmware/lantiq/vr9_phy22f_a2x.bin b/target/linux/lantiq/files/firmware/lantiq/xrx200_phy22f_a22.bin
similarity index 100%
rename from target/linux/lantiq/files/firmware/lantiq/vr9_phy22f_a2x.bin
rename to target/linux/lantiq/files/firmware/lantiq/xrx200_phy22f_a22.bin
diff --git a/target/linux/lantiq/patches-4.9/0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch b/target/linux/lantiq/patches-4.9/0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch
index b69b2a9..e62ff2f 100644
--- a/target/linux/lantiq/patches-4.9/0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch
+++ b/target/linux/lantiq/patches-4.9/0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch
@@ -18,10 +18,10 @@ Signed-off-by: John Crispin <blogic at openwrt.org>
  fw-shipped-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda/xircom_pgs.fw
  fw-shipped-$(CONFIG_USB_VICAM) += vicam/firmware.fw
  fw-shipped-$(CONFIG_VIDEO_CPIA2) += cpia2/stv0672_vp4.bin
-+fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/vr9_phy11g_a1x.bin
-+fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/vr9_phy11g_a2x.bin
-+fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/vr9_phy22f_a1x.bin
-+fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/vr9_phy22f_a2x.bin
++fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/xrx200_phy11g_a14.bin
++fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/xrx200_phy11g_a22.bin
++fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/xrx200_phy22f_a14.bin
++fw-shipped-$(CONFIG_LANTIQ_XRX200) += lantiq/xrx200_phy22f_a22.bin
  fw-shipped-$(CONFIG_YAM) += yam/1200.bin yam/9600.bin
  
  fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-)
@@ -356,9 +356,9 @@ Signed-off-by: John Crispin <blogic at openwrt.org>
 +#
 +
 +# GPHY core on Lantiq XWAY VR9 v1.1
-+lantiq/vr9_phy11g_a1x.bin
-+lantiq/vr9_phy22f_a1x.bin
++lantiq/xrx200_phy11g_a14.bin
++lantiq/xrx200_phy22f_a14.bin
 +
 +# GPHY core on Lantiq XWAY VR9 v1.2
-+lantiq/vr9_phy11g_a2x.bin
-+lantiq/vr9_phy22f_a2x.bin
++lantiq/xrx200_phy11g_a22.bin
++lantiq/xrx200_phy22f_a22.bin



More information about the lede-commits mailing list