diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2022-08-29 09:25:55 -0500 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-09-13 09:22:26 +0200 |
commit | 5f026f12728fbe9fe909c44c293f4ea58311d50f (patch) | |
tree | cccad827e5b2e55daaf4807c90f856dc8c4d166c /target/linux/realtek/dts-5.10 | |
parent | bc9dcfb1ce656e1da694d9d9a6f927b3142ab76a (diff) | |
download | upstream-5f026f12728fbe9fe909c44c293f4ea58311d50f.tar.gz upstream-5f026f12728fbe9fe909c44c293f4ea58311d50f.tar.bz2 upstream-5f026f12728fbe9fe909c44c293f4ea58311d50f.zip |
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 9a7f17e11f5d ("realtek: ignore disabled switch ports")
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'target/linux/realtek/dts-5.10')
-rw-r--r-- | target/linux/realtek/dts-5.10/rtl838x.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi index f92af17ef1..256efb1c05 100644 --- a/target/linux/realtek/dts-5.10/rtl838x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi @@ -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>; \ |