[OpenWrt-Devel] [PATCH] ipq806x: dts: Remove device_type = "ethernet-phy"

Rosen Penev rosenp at gmail.com
Mon Jul 16 14:17:08 EDT 2018


device_type is deprecated. Upstream doesn't seem to like it either.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-ap148.dts       | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts       | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts       | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-db149.dts       | 4 ----
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts      | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500.dts       | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts     | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts     | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts    | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts      | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts     | 2 --
 .../files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts       | 2 --
 12 files changed, 26 deletions(-)

diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ap148.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
index a3df82909e..3eaa90db2e 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
@@ -199,7 +199,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -213,7 +212,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
index b683f0275b..c32115934f 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
@@ -362,7 +362,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -376,7 +375,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
index 209d513f1b..7c829babbb 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
@@ -283,7 +283,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -297,7 +296,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-db149.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-db149.dts
index 4c56866077..562659fef9 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-db149.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-db149.dts
@@ -169,7 +169,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -183,17 +182,14 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 
 			phy6: ethernet-phy at 6 {
-				device_type = "ethernet-phy";
 				reg = <6>;
 			};
 
 			phy7: ethernet-phy at 7 {
-				device_type = "ethernet-phy";
 				reg = <7>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
index 1e82a48dbf..a1e0f9a48b 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
@@ -309,7 +309,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -323,7 +322,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
index 9ce572bd89..1c7cf792c3 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
@@ -248,7 +248,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -262,7 +261,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts
index 30bf0abd4b..aafe258c83 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts
@@ -284,7 +284,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -298,7 +297,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
index 0877527332..e8f74c35de 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
@@ -275,7 +275,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -289,7 +288,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts
index b643014b45..a6606a0f1d 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts
@@ -295,7 +295,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -309,7 +308,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 			};
 		};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
index 9440de5b8f..ed26074a78 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
@@ -229,7 +229,6 @@
 		gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
 
 		ethernet-phy at 0 {
-			device_type = "ethernet-phy";
 			reg = <0>;
 			qca,ar8327-initvals = <
 				0x00004 0x7600000   /* PAD0_MODE */
@@ -243,7 +242,6 @@
 		};
 
 		ethernet-phy at 4 {
-			device_type = "ethernet-phy";
 			reg = <4>;
 		};
 	};
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
index 0b96ba64c6..35ee40c0a3 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
@@ -243,7 +243,6 @@
 			pinctrl-names = "default";
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -271,7 +270,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 				qca,ar8327-initvals = <
 					0x000e4 0x6a545     /* MAC_POWER_SEL */
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
index 29b14df4d2..5b741598e3 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
@@ -341,7 +341,6 @@
 
 
 			phy0: ethernet-phy at 0 {
-				device_type = "ethernet-phy";
 				reg = <0>;
 				qca,ar8327-initvals = <
 					0x00004 0x7600000   /* PAD0_MODE */
@@ -373,7 +372,6 @@
 			};
 
 			phy4: ethernet-phy at 4 {
-				device_type = "ethernet-phy";
 				reg = <4>;
 				qca,ar8327-initvals = <
 					0x000e4 0x6a545     /* MAC_POWER_SEL */
-- 
2.17.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list