mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
realtek: fix SFP ports on the dlink 10port switch
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
cfbda66279
commit
9aabd934a9
@ -132,8 +132,8 @@
|
|||||||
SWITCH_PORT(13, 6, internal)
|
SWITCH_PORT(13, 6, internal)
|
||||||
SWITCH_PORT(14, 7, internal)
|
SWITCH_PORT(14, 7, internal)
|
||||||
SWITCH_PORT(15, 8, internal)
|
SWITCH_PORT(15, 8, internal)
|
||||||
SWITCH_PORT(24, 9, internal)
|
SWITCH_SFP_PORT(24, 9, rgmii-id)
|
||||||
SWITCH_PORT(26, 10, internal)
|
SWITCH_SFP_PORT(26, 10, rgmii-id)
|
||||||
|
|
||||||
port@28 {
|
port@28 {
|
||||||
ethernet = <ðernet0>;
|
ethernet = <ðernet0>;
|
||||||
|
@ -35,6 +35,18 @@
|
|||||||
phy-mode = #m ; \
|
phy-mode = #m ; \
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define SWITCH_SFP_PORT(n, s, m) \
|
||||||
|
port@##n { \
|
||||||
|
reg = <##n>; \
|
||||||
|
label = SWITCH_PORT_LABEL(s) ; \
|
||||||
|
phy-handle = <&phy##n>; \
|
||||||
|
phy-mode = #m ; \
|
||||||
|
fixed-link { \
|
||||||
|
speed = <1000>; \
|
||||||
|
full-duplex; \
|
||||||
|
}; \
|
||||||
|
};
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
Loading…
Reference in New Issue
Block a user