mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
ath79: Fix mac reset and gmac compatible in ar934x.dtsi
Also add phy-mode and fixed-link as gmac1 is always connected to the builtin switch. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
parent
098267db4c
commit
b346c37588
@ -135,7 +135,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gmac: gmac@18070000 {
|
gmac: gmac@18070000 {
|
||||||
compatible = "qca,ar9340-gmac", "qca,ar9330-gmac";
|
compatible = "qca,ar9340-gmac";
|
||||||
reg = <0x18070000 0x14>;
|
reg = <0x18070000 0x14>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -202,8 +202,8 @@
|
|||||||
pll-reg = <0x4 0x2c 17>;
|
pll-reg = <0x4 0x2c 17>;
|
||||||
pll-handle = <&pll>;
|
pll-handle = <&pll>;
|
||||||
|
|
||||||
resets = <&rst 8>, <&rst 9>;
|
resets = <&rst 9>;
|
||||||
reset-names = "mac", "phy";
|
reset-names = "mac";
|
||||||
};
|
};
|
||||||
|
|
||||||
&mdio1 {
|
&mdio1 {
|
||||||
@ -215,6 +215,12 @@
|
|||||||
ð1 {
|
ð1 {
|
||||||
compatible = "qca,ar9340-eth", "syscon";
|
compatible = "qca,ar9340-eth", "syscon";
|
||||||
|
|
||||||
resets = <&rst 12>, <&rst 13>;
|
resets = <&rst 13>;
|
||||||
reset-names = "mac", "phy";
|
reset-names = "mac";
|
||||||
|
phy-mode = "gmii";
|
||||||
|
|
||||||
|
fixed-link {
|
||||||
|
speed = <1000>;
|
||||||
|
full-duplex;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user