ath79: fix link for long cables with OCEDO Raccoon
The OCEDO Raccoon had significant packet-loss with cables longer than 50
meter. Disabling EEE restores normal operation.
Also change the ethernet config to reduce loss on sub-1G links.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 4551bfd91f)
			
			
This commit is contained in:
		| @@ -150,16 +150,27 @@ | |||||||
|  |  | ||||||
| 	phy0: ethernet-phy@0 { | 	phy0: ethernet-phy@0 { | ||||||
| 		reg = <0>; | 		reg = <0>; | ||||||
|  | 		eee-broken-100tx; | ||||||
|  | 		eee-broken-1000t; | ||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| ð0 { | ð0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  |  | ||||||
| 	pll-data = <0x06000000 0x00000101 0x00001313>; | 	pll-data = <0x02000000 0x00000101 0x00001313>; | ||||||
|  |  | ||||||
| 	mtd-mac-address = <&art 0x0>; | 	mtd-mac-address = <&art 0x0>; | ||||||
|  |  | ||||||
| 	phy-mode = "rgmii-id"; | 	phy-mode = "rgmii-id"; | ||||||
| 	phy-handle = <&phy0>; | 	phy-handle = <&phy0>; | ||||||
|  |  | ||||||
|  | 	gmac-config { | ||||||
|  | 		device = <&gmac>; | ||||||
|  | 		rgmii-gmac0 = <1>; | ||||||
|  | 		rxdv-delay = <3>; | ||||||
|  | 		rxd-delay = <3>; | ||||||
|  | 		txen-delay = <0>; | ||||||
|  | 		txd-delay = <0>; | ||||||
|  | 	}; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Bauer
					David Bauer