aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorGiuseppe Lippolis <giu.lippolis@gmail.com>2018-02-24 09:45:12 +0100
committerMathias Kresin <dev@kresin.me>2018-03-06 19:49:06 +0100
commitaa5014dd1a58aa8902f2aaf4a02b76998ac2eb2b (patch)
tree02777d9aa742432743e7a38c229258e12ae51e47 /target/linux/ramips/dts
parent39b5218434d38715a85b7bd6dd8d279c3e1e905d (diff)
downloadupstream-aa5014dd1a58aa8902f2aaf4a02b76998ac2eb2b.tar.gz
upstream-aa5014dd1a58aa8902f2aaf4a02b76998ac2eb2b.tar.bz2
upstream-aa5014dd1a58aa8902f2aaf4a02b76998ac2eb2b.zip
ramips: mt7620n: enable port 4 as EPHY by default
According to the datasheet the mt7620n have a fixed switch configuration with 5 ephy (10/100) port. No RGMII configuration is possible. Drop the mdio node as well. Without RGMII, the mdio node doesn't make any sense Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com> [drop mdio node, enable port4 by default] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 5d3c1e3fa4..26c7d91e33 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -293,11 +293,11 @@
mediatek,switch = <&gsw>;
- mdio-bus {
- #address-cells = <1>;
- #size-cells = <0>;
+ port@4 {
+ compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port";
+ reg = <4>;
- status = "disabled";
+ status = "okay";
};
};
@@ -310,7 +310,7 @@
interrupt-parent = <&intc>;
interrupts = <17>;
- mediatek,port4 = "gmac";
+ mediatek,port4 = "ephy";
};
ehci: ehci@101c0000 {