Skip to content

Commit 26907eb

Browse files
EvgeniiDidinvineetgarc
authored andcommitted
ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id
HSDK board has Micrel KSZ9031, recent commit bcf3440 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") caused a breakdown of Ethernet. Using 'phy-mode = "rgmii"' is not correct because accodring RGMII specification it is necessary to have delay on RX (PHY to MAX) which is not generated in case of "rgmii". Using "rgmii-id" adds necessary delay and solves the issue. Also adding name of PHY placed on HSDK board. Signed-off-by: Evgeniy Didin <[email protected]> Cc: Eugeniy Paltsev <[email protected]> Cc: Alexey Brodkin <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent 4af22de commit 26907eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arc/boot/dts/hsdk.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
reg = <0x8000 0x2000>;
211211
interrupts = <10>;
212212
interrupt-names = "macirq";
213-
phy-mode = "rgmii";
213+
phy-mode = "rgmii-id";
214214
snps,pbl = <32>;
215215
snps,multicast-filter-bins = <256>;
216216
clocks = <&gmacclk>;
@@ -228,7 +228,7 @@
228228
#address-cells = <1>;
229229
#size-cells = <0>;
230230
compatible = "snps,dwmac-mdio";
231-
phy0: ethernet-phy@0 {
231+
phy0: ethernet-phy@0 { /* Micrel KSZ9031 */
232232
reg = <0>;
233233
};
234234
};

0 commit comments

Comments
 (0)