mirror of https://github.com/hak5/openwrt.git
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>openwrt-18.06
parent
39b5218434
commit
aa5014dd1a
|
@ -293,11 +293,11 @@
|
||||||
|
|
||||||
mediatek,switch = <&gsw>;
|
mediatek,switch = <&gsw>;
|
||||||
|
|
||||||
mdio-bus {
|
port@4 {
|
||||||
#address-cells = <1>;
|
compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port";
|
||||||
#size-cells = <0>;
|
reg = <4>;
|
||||||
|
|
||||||
status = "disabled";
|
status = "okay";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -310,7 +310,7 @@
|
||||||
|
|
||||||
interrupt-parent = <&intc>;
|
interrupt-parent = <&intc>;
|
||||||
interrupts = <17>;
|
interrupts = <17>;
|
||||||
mediatek,port4 = "gmac";
|
mediatek,port4 = "ephy";
|
||||||
};
|
};
|
||||||
|
|
||||||
ehci: ehci@101c0000 {
|
ehci: ehci@101c0000 {
|
||||||
|
|
Loading…
Reference in New Issue