aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2020-07-13 00:49:22 +0100
committerChuanhong Guo <gch981213@gmail.com>2020-07-26 16:42:35 +0800
commitbe3c8f8b2bf2893950b11ea7fa16cea074bc7903 (patch)
tree4abba6d15d897f49c3cdb231e1596cff4aed810c /target/linux
parent6eb63019afef89404899f2cb65fb4c16e00aa0ed (diff)
downloadupstream-be3c8f8b2bf2893950b11ea7fa16cea074bc7903.tar.gz
upstream-be3c8f8b2bf2893950b11ea7fa16cea074bc7903.tar.bz2
upstream-be3c8f8b2bf2893950b11ea7fa16cea074bc7903.zip
mediatek: fix Ethernet support on UniElec U7623
The definition of the switch in the device-tree was not correct. Make it look more like the Banana Pi R2, which works. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch14
1 files changed, 4 insertions, 10 deletions
diff --git a/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch b/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch
index 7371611059..7def128daf 100644
--- a/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch
+++ b/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch
@@ -44,7 +44,7 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS
+};
--- /dev/null
+++ b/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi
-@@ -0,0 +1,349 @@
+@@ -0,0 +1,343 @@
+/*
+ * Copyright 2018 Kristian Evensen <kristian.evensen@gmail.com>
+ *
@@ -141,12 +141,6 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS
+ default-state = "off";
+ };
+ };
-+
-+ mt7530: switch@0 {
-+ compatible = "mediatek,mt7530";
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+ };
+};
+
+&crypto {
@@ -171,9 +165,9 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS
+ mdio: mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
-+ phy5: ethernet-phy@5 {
-+ reg = <5>;
-+ phy-mode = "rgmii-rxid";
++
++ mt7530: switch@0 {
++ compatible = "mediatek,mt7530";
+ };
+ };
+};