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:
Alexandru Gagniuc 2022-08-29 09:25:55 -05:00 committed by Sander Vanheule
parent bc9dcfb1ce
commit 5f026f1272

View File

@ -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>; \