浏览代码

ipq806x: fix aliases node name for Qualcomm IPQ8064/DB149

This device uses a node incorrectly named "alias" instead of
"aliases" since it was introduced.

Remove it without replacement, as the definitions in it don't
seem to be required anyway:

The serial0 definition has never been effective anyway and this
would be the only device deviating from the common setting
"serial0 = &gsbi4_serial;" for ipq8064. (So, maybe the wrong
node prevented us from finding out about the wrong serial
definition?)

The mdio-gpio0 alias was supposed to be removed in d2a2eb7e48f6
anyway, the redundant definition in the alias node was just
overlooked back then.

Fixes: 0fd202f3e563 ("ipq806x: add db149 dts files")
Fixes: d2a2eb7e48f6 ("ipq806x: replace caf nss-gmac driver by upstream stmmac")

Signed-off-by: Adrian Schmutzler <[email protected]>
Adrian Schmutzler 5 年之前
父节点
当前提交
c83f7b6d21

+ 0 - 5
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-db149.dts

@@ -14,11 +14,6 @@
 		};
 		};
 	};
 	};
 
 
-	alias {
-		serial0 = &uart2;
-		mdio-gpio0 = &mdio0;
-	};
-
 	chosen {
 	chosen {
 		stdout-path = "serial0:115200n8";
 		stdout-path = "serial0:115200n8";
 	};
 	};

+ 1 - 6
target/linux/ipq806x/files-5.4/arch/arm/boot/dts/qcom-ipq8064-db149.dts

@@ -13,11 +13,6 @@
 			no-map;
 			no-map;
 		};
 		};
 	};
 	};
-
-	alias {
-		serial0 = &uart2;
-		mdio-gpio0 = &mdio0;
-	};
 };
 };
 
 
 &qcom_pinmux {
 &qcom_pinmux {
@@ -180,4 +175,4 @@
 	phy-mode = "sgmii";
 	phy-mode = "sgmii";
 	qcom,id = <3>;
 	qcom,id = <3>;
 	phy-handle = <&phy7>;
 	phy-handle = <&phy7>;
-};
+};