ath79: qca956x: Update dts for current ag71xx driver
enable mdio1 by default because mdio1 node is a subnode of eth1 and eth1 node is a "simple-mfd", which makes mdio1 disabled when eth1 isn't enabled. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
parent
fc1f55ebf4
commit
b7a10772d1
2 changed files with 31 additions and 4 deletions
|
@ -193,6 +193,7 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mtd-mac-address = <&info 0x8>;
|
mtd-mac-address = <&info 0x8>;
|
||||||
|
phy-mode = "sgmii";
|
||||||
phy-handle = <&phy0>;
|
phy-handle = <&phy0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -253,26 +253,47 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
ð0 {
|
ð0 {
|
||||||
compatible = "qca,qca9560-eth", "syscon";
|
compatible = "qca,qca9560-eth", "syscon", "simple-mfd";
|
||||||
|
|
||||||
pll-data = <0x03000000 0x00000101 0x00001919>;
|
pll-data = <0x03000000 0x00000101 0x00001919>;
|
||||||
pll-reg = <0 0x48 0>;
|
pll-reg = <0 0x48 0>;
|
||||||
pll-handle = <&pll>;
|
pll-handle = <&pll>;
|
||||||
|
|
||||||
phy-mode = "sgmii";
|
|
||||||
|
|
||||||
resets = <&rst 9>;
|
resets = <&rst 9>;
|
||||||
reset-names = "mac";
|
reset-names = "mac";
|
||||||
};
|
};
|
||||||
|
|
||||||
&mdio1 {
|
&mdio1 {
|
||||||
|
status = "okay";
|
||||||
resets = <&rst 23>;
|
resets = <&rst 23>;
|
||||||
reset-names = "mdio";
|
reset-names = "mdio";
|
||||||
builtin-switch;
|
builtin-switch;
|
||||||
|
|
||||||
|
builtin_switch: switch0@1f {
|
||||||
|
compatible = "qca,ar8229-builtin";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
reg = <0x1f>;
|
||||||
|
phy-mode = "gmii";
|
||||||
|
phy4-mii-enable;
|
||||||
|
|
||||||
|
mdio-bus {
|
||||||
|
swphy0: ethernet-phy@0 {
|
||||||
|
reg = <0>;
|
||||||
|
phy-mode = "mii";
|
||||||
|
};
|
||||||
|
|
||||||
|
swphy4: ethernet-phy@4 {
|
||||||
|
reg = <4>;
|
||||||
|
phy-mode = "mii";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ð1 {
|
ð1 {
|
||||||
compatible = "qca,qca9560-eth", "syscon";
|
compatible = "qca,qca9560-eth", "syscon", "simple-mfd";
|
||||||
|
|
||||||
phy-mode = "gmii";
|
phy-mode = "gmii";
|
||||||
|
|
||||||
|
@ -280,4 +301,9 @@
|
||||||
reset-names = "mac";
|
reset-names = "mac";
|
||||||
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
|
||||||
|
fixed-link {
|
||||||
|
speed = <1000>;
|
||||||
|
full-duplex;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue