aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-08-02 15:14:10 +0800
committerMathias Kresin <dev@kresin.me>2018-08-06 07:31:54 +0200
commit115e993adcc4b3c5ce441a70ae6cf62985797729 (patch)
tree5fd0f01b1baeb474645e2d2d560dab40f82dc1b0
parent3fce12568a5c38fe0361b433902a1321d34f93d7 (diff)
downloadupstream-115e993adcc4b3c5ce441a70ae6cf62985797729.tar.gz
upstream-115e993adcc4b3c5ce441a70ae6cf62985797729.tar.bz2
upstream-115e993adcc4b3c5ce441a70ae6cf62985797729.zip
ath79: remove useless phy-handle nodes
phy-handle is used to poll link status. They are useless when we need fixed-link on these interfaces. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rw-r--r--target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts12
-rw-r--r--target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi9
2 files changed, 1 insertions, 20 deletions
diff --git a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
index bb857c72b6..d01d2cc716 100644
--- a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
+++ b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
@@ -76,16 +76,7 @@
resets = <&rst 8>;
reset-names = "switch";
-
- mdio-bus {
- status = "okay";
-
- phy0: ethernet-phy@0 {
- reg = <0>;
- };
- };
- };
-
+ };
};
&uart {
@@ -154,7 +145,6 @@
resets = <&rst 9>;
reset-names = "mac";
- phy-handle = <&phy0>;
fixed-link {
speed = <1000>;
full-duplex;
diff --git a/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi
index 0bd17d86e2..4438f911fc 100644
--- a/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi
+++ b/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi
@@ -154,14 +154,6 @@
};
};
-&mdio1 {
- status = "okay";
-
- phy1: ethernet-phy@1 {
- reg = <1>;
- };
-};
-
&eth0 {
status = "okay";
@@ -174,7 +166,6 @@
status = "okay";
mtd-mac-address = <&uboot 0x1fc00>;
- phy-handle = <&phy1>;
fixed-link {
speed = <1000>;