mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
realtek: rtl838x: label switch port dts nodes
Although PHY nodes are labeled, the port nodes were not. Labeling of
ports is useful for 'status = "disabled"' ports, which is supported
since commit 9a7f17e11f
("realtek: ignore disabled switch ports")
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
bc9dcfb1ce
commit
5f026f1272
@ -37,7 +37,7 @@
|
||||
};
|
||||
|
||||
#define SWITCH_PORT(n, s, m) \
|
||||
port@##n { \
|
||||
port##n: port@##n { \
|
||||
reg = <##n>; \
|
||||
label = SWITCH_PORT_LABEL(s) ; \
|
||||
phy-handle = <&phy##n>; \
|
||||
@ -45,7 +45,7 @@
|
||||
};
|
||||
|
||||
#define SWITCH_SFP_PORT(n, s, m) \
|
||||
port@##n { \
|
||||
port##n: port@##n { \
|
||||
reg = <##n>; \
|
||||
label = SWITCH_PORT_LABEL(s) ; \
|
||||
phy-handle = <&phy##n>; \
|
||||
|
Loading…
Reference in New Issue
Block a user