mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
ARM: dts: armada: Add missing phy-mode and fixed links
The DSA framework has got more picky about always having a phy-mode for the CPU port. The Armada Ethernet supports RGMII, SGMII, 1000base-x and 2500Base-X. Set the switch phy-mode based on how the SoC Ethernet ports is been configured. For RGMII mode, have the switch add the delays. Additionally, the cpu label has never actually been used in the binding, so remove it. Lastly, add a fixed-link node indicating the expected speed/duplex of the link to the SoC. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
parent
e2e1bcb19b
commit
0939de7d89
|
|
@ -171,8 +171,8 @@ port@3 {
|
|||
|
||||
port@5 {
|
||||
reg = <5>;
|
||||
label = "cpu";
|
||||
ethernet = <ð1>;
|
||||
phy-mode = "rgmii-id";
|
||||
fixed-link {
|
||||
speed = <1000>;
|
||||
full-duplex;
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ ports {
|
|||
|
||||
port@0 {
|
||||
ethernet = <ð0>;
|
||||
label = "cpu";
|
||||
phy-mode = "rgmii";
|
||||
reg = <0>;
|
||||
|
||||
fixed-link {
|
||||
|
|
|
|||
|
|
@ -68,8 +68,13 @@ port@8 {
|
|||
|
||||
port@10 {
|
||||
reg = <10>;
|
||||
label = "cpu";
|
||||
phy-mode = "2500base-x";
|
||||
|
||||
ethernet = <ð1>;
|
||||
fixed-link {
|
||||
speed = <2500>;
|
||||
full-duplex;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -48,8 +48,13 @@ port@4 {
|
|||
|
||||
port@5 {
|
||||
reg = <5>;
|
||||
label = "cpu";
|
||||
phy-mode = "2500base-x";
|
||||
ethernet = <ð1>;
|
||||
|
||||
fixed-link {
|
||||
speed = <2500>;
|
||||
full-duplex;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ port@4 {
|
|||
|
||||
port@5 {
|
||||
reg = <5>;
|
||||
label = "cpu";
|
||||
phy-mode = "sgmii";
|
||||
ethernet = <ð2>;
|
||||
|
||||
fixed-link {
|
||||
|
|
|
|||
|
|
@ -479,7 +479,6 @@ ports@4 {
|
|||
|
||||
ports@5 {
|
||||
reg = <5>;
|
||||
label = "cpu";
|
||||
ethernet = <ð1>;
|
||||
phy-mode = "rgmii-id";
|
||||
|
||||
|
|
@ -491,7 +490,6 @@ fixed-link {
|
|||
|
||||
ports@6 {
|
||||
reg = <6>;
|
||||
label = "cpu";
|
||||
ethernet = <ð0>;
|
||||
phy-mode = "rgmii-id";
|
||||
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ port@4 {
|
|||
|
||||
port@5 {
|
||||
reg = <5>;
|
||||
label = "cpu";
|
||||
phy-mode = "rgmii-id";
|
||||
ethernet = <ð0>;
|
||||
fixed-link {
|
||||
speed = <1000>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user