Skip to content

Commit

Permalink
ramips: mt7620n: enable port 4 as EPHY by default
Browse files Browse the repository at this point in the history
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 <[email protected]>
[drop mdio node, enable port4 by default]
Signed-off-by: Mathias Kresin <[email protected]>
  • Loading branch information
fid0did0 authored and mkresin committed Mar 6, 2018
1 parent 39b5218 commit aa5014d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions target/linux/ramips/dts/mt7620n.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};

Expand All @@ -310,7 +310,7 @@

interrupt-parent = <&intc>;
interrupts = <17>;
mediatek,port4 = "gmac";
mediatek,port4 = "ephy";
};

ehci: ehci@101c0000 {
Expand Down

0 comments on commit aa5014d

Please sign in to comment.