aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek
diff options
context:
space:
mode:
authorJan Hoffmann <jan@3e8.eu>2023-03-11 21:34:25 +0100
committerSander Vanheule <sander@svanheule.net>2023-04-30 21:59:26 +0200
commitcf8d861978dbfdb572a25db460db464b50d9e809 (patch)
treee9f447c43988e67dc1891f6034dbeb7d6a5b608f /target/linux/realtek
parent3221128639e43d5bcf3a06eda769350a75b3dc72 (diff)
downloadupstream-cf8d861978dbfdb572a25db460db464b50d9e809.tar.gz
upstream-cf8d861978dbfdb572a25db460db464b50d9e809.tar.bz2
upstream-cf8d861978dbfdb572a25db460db464b50d9e809.zip
realtek: hpe_1920-8g: add phy-handle for SFP ports
The switch driver actually expects every port to have a PHY handle, and several branches in the code determine if a port is valid by checking for a non-zero phy field. Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'target/linux/realtek')
-rw-r--r--target/linux/realtek/dts-5.10/rtl8380_hpe_1920-8g.dts2
-rw-r--r--target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g.dts2
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_hpe_1920-8g.dts b/target/linux/realtek/dts-5.10/rtl8380_hpe_1920-8g.dts
index b51c75f355..6ddb2d8dcc 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_hpe_1920-8g.dts
+++ b/target/linux/realtek/dts-5.10/rtl8380_hpe_1920-8g.dts
@@ -87,6 +87,7 @@
port@24 {
reg = <24>;
label = "lan9";
+ phy-handle = <&phy24>;
phy-mode = "1000base-x";
managed = "in-band-status";
sfp = <&sfp0>;
@@ -95,6 +96,7 @@
port@26 {
reg = <26>;
label = "lan10";
+ phy-handle = <&phy26>;
phy-mode = "1000base-x";
managed = "in-band-status";
sfp = <&sfp1>;
diff --git a/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g.dts b/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g.dts
index b51c75f355..6ddb2d8dcc 100644
--- a/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g.dts
+++ b/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g.dts
@@ -87,6 +87,7 @@
port@24 {
reg = <24>;
label = "lan9";
+ phy-handle = <&phy24>;
phy-mode = "1000base-x";
managed = "in-band-status";
sfp = <&sfp0>;
@@ -95,6 +96,7 @@
port@26 {
reg = <26>;
label = "lan10";
+ phy-handle = <&phy26>;
phy-mode = "1000base-x";
managed = "in-band-status";
sfp = <&sfp1>;