ath79: fix ethernet configurations for I-O DATA ETG3-R
This commit fixes several issues in eth0 on ETG3-R, and solve slowdown in NA(P)T speed. - add gmac-config with correct configurations - fix pll-data value And I added ref clock-frequency. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
parent
6e626477d5
commit
e0c55760e6
1 changed files with 13 additions and 1 deletions
|
@ -46,6 +46,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ref {
|
||||||
|
clock-frequency = <40000000>;
|
||||||
|
};
|
||||||
|
|
||||||
&spi {
|
&spi {
|
||||||
num-cs = <1>;
|
num-cs = <1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -119,10 +123,18 @@
|
||||||
ð0 {
|
ð0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
pll-data = <0x06000000 0x00000101 0x00001616>;
|
pll-data = <0x0e000000 0x00000101 0x00001616>;
|
||||||
|
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
phy-handle = <&phy0>;
|
phy-handle = <&phy0>;
|
||||||
|
|
||||||
|
gmac-config {
|
||||||
|
device = <&gmac>;
|
||||||
|
|
||||||
|
rgmii-gmac0 = <1>;
|
||||||
|
rxd-delay = <3>;
|
||||||
|
rxdv-delay = <3>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart {
|
&uart {
|
||||||
|
|
Loading…
Reference in a new issue