realtek: dts: convert DGS-1250-28X to SWITCH_PORT_SFP()
Use the new macro for the SFP ports. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22947 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
8f8276a5b7
commit
4d3159dbc1
@ -288,42 +288,10 @@
|
||||
SWITCH_PORT_LED(22, 23, 3, 0, usxgmii)
|
||||
SWITCH_PORT_LED(23, 24, 3, 0, usxgmii)
|
||||
|
||||
port@24 {
|
||||
reg = <24>;
|
||||
label = "lan25";
|
||||
led-set = <1>;
|
||||
pcs-handle = <&serdes4>;
|
||||
phy-mode = "1000base-x";
|
||||
managed = "in-band-status";
|
||||
sfp = <&sfp0>;
|
||||
};
|
||||
port@25 {
|
||||
reg = <25>;
|
||||
label = "lan26";
|
||||
led-set = <1>;
|
||||
pcs-handle = <&serdes6>;
|
||||
phy-mode = "1000base-x";
|
||||
managed = "in-band-status";
|
||||
sfp = <&sfp1>;
|
||||
};
|
||||
port@26 {
|
||||
reg = <26>;
|
||||
label = "lan27";
|
||||
led-set = <1>;
|
||||
pcs-handle = <&serdes8>;
|
||||
phy-mode = "1000base-x";
|
||||
managed = "in-band-status";
|
||||
sfp = <&sfp2>;
|
||||
};
|
||||
port@27 {
|
||||
reg = <27>;
|
||||
label = "lan28";
|
||||
led-set = <1>;
|
||||
pcs-handle = <&serdes9>;
|
||||
phy-mode = "1000base-x";
|
||||
managed = "in-band-status";
|
||||
sfp = <&sfp3>;
|
||||
};
|
||||
SWITCH_PORT_SFP(24, 25, 4, 1, 0)
|
||||
SWITCH_PORT_SFP(25, 26, 6, 1, 1)
|
||||
SWITCH_PORT_SFP(26, 27, 8, 1, 2)
|
||||
SWITCH_PORT_SFP(27, 28, 9, 1, 3)
|
||||
|
||||
port@28 {
|
||||
reg = <28>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user