aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/dts-5.10
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2022-08-28 18:08:50 -0500
committerSander Vanheule <sander@svanheule.net>2022-08-29 11:54:00 +0200
commit18a2b29aa1c9d8030b01f6de14d65521c94d4db5 (patch)
treedb4189c6ab518c5f1cee1b0c21eb0b22f1196687 /target/linux/realtek/dts-5.10
parentf242f642bbdc1b753514671858fe2981ec3d7ba3 (diff)
downloadupstream-18a2b29aa1c9d8030b01f6de14d65521c94d4db5.tar.gz
upstream-18a2b29aa1c9d8030b01f6de14d65521c94d4db5.tar.bz2
upstream-18a2b29aa1c9d8030b01f6de14d65521c94d4db5.zip
realtek: tl-sg2008p: fix labeling of lan ports
The SG2008P has its ethernet ports in the rear, and LEDs in the front. The ports should be labeled lan8->lan1, not lan1->lan8. To resolve this, fix the phy mapping in the "ports" node. 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/rtl8380_tplink_sg2008p-v1.dts16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
index 34b3d0456b..d464921e50 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
+++ b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
@@ -161,14 +161,14 @@
#address-cells = <1>;
#size-cells = <0>;
- SWITCH_PORT(8, 1, internal)
- SWITCH_PORT(9, 2, internal)
- SWITCH_PORT(10, 3, internal)
- SWITCH_PORT(11, 4, internal)
- SWITCH_PORT(12, 5, internal)
- SWITCH_PORT(13, 6, internal)
- SWITCH_PORT(14, 7, internal)
- SWITCH_PORT(15, 8, internal)
+ SWITCH_PORT(15, 1, internal)
+ SWITCH_PORT(14, 2, internal)
+ SWITCH_PORT(13, 3, internal)
+ SWITCH_PORT(12, 4, internal)
+ SWITCH_PORT(11, 5, internal)
+ SWITCH_PORT(10, 6, internal)
+ SWITCH_PORT(9, 7, internal)
+ SWITCH_PORT(8, 8, internal)
port@28 {
ethernet = <&ethernet0>;